[clang] [Preprocessor] Do not expand macros if the input is already preprocessed (PR #137665)
Juan Manuel Martinez CaamaƱo via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 25 07:27:57 PDT 2025
================
@@ -48,6 +48,7 @@
// instantiation for v<int> in one of the two headers, because we will only
// parse one of the two get() functions.
+#ifdef NS
----------------
jmmartinez wrote:
I'll double check this next week and bring a good explanation.
I remember that the test didn't work since the file-type of the input file was marked as already preprocessed (so the there were issues with the `#if NS` directive).
https://github.com/llvm/llvm-project/pull/137665
More information about the cfe-commits
mailing list