[llvm-bugs] [Bug 50107] New: ASTReader uses `err_pch_langopt_mismatch` wrong
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 23 16:55:54 PDT 2021
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: unassignedclangbugs at nondot.org
Reporter: jdoerfert at anl.gov
CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210423/ba3cfd5e/attachment.html>
More information about the llvm-bugs
mailing list