https://bugs.llvm.org/show_bug.cgi?id=50107

            Bug ID: 50107
           Summary: ASTReader uses `err_pch_langopt_mismatch` wrong
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: jdoerf...@anl.gov
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

The diagnostic expects 0 or 1, but the usage simply forwards LangOpts.Name,
which is often much bigger. Triggers an unrelated assertion when it tries to
diagnose that you used pch wrong.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to