Includes regression test for problem noted by @hans.
This reverts commit 973de7185606a21fd5e9d5e8c014fbf898c0e72f.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
clang/test/PCH/ms-pch-macro-include_instead-regression.c | ||
---|---|---|
25 | This is really the interesting part. Maybe the other checks and macros could be removed, if that's enough to trigger the crash? |
Generally LGTM, but the CI is failing.
clang/test/PCH/ms-pch-macro-include_instead-regression.c | ||
---|---|---|
4 | This is getting a shell parse error on Windows according to the CI runner. I suspect you need to quote the -pch-through-header= argument. |
fixes up formatting and testing
Will merge post-CI. @aaron.ballman do you approve this to be cherry-picked into LLVM 13? (cc @tstellar)
clang/include/clang/Basic/DiagnosticLexKinds.td | ||
---|---|---|
307 | Surprised this made it past the first time. | |
clang/test/PCH/ms-pch-macro-include_instead-regression.c | ||
2 | Thanks! |
Thanks for checking! I do approve it -- it was intended to make it before the branch point from the previous review.
80-col wrapping.