[clang] [clang][lex] Fix lexing malformed pragma within include directive (PR #138165)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri May 2 09:56:57 PDT 2025
================
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 %s -verify
----------------
AaronBallman wrote:
```suggestion
// RUN: %clang_cc1 -E %s -verify
```
This ensures we only run the preprocessing steps, which should still report the diagnostics.
https://github.com/llvm/llvm-project/pull/138165
More information about the cfe-commits
mailing list