[clang] [Preprocessor] Do not expand macros if the input is already preprocessed (PR #137665)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 23 05:08:02 PDT 2025
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/137665 at github.com>
================
@@ -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
----------------
AaronBallman wrote:
@Bigcheese @ChuanqiXu9 are you okay with changing the modules test this way? It's unclear to me whether the original code was intentionally using preprocessor conditionals this way as part of the test, or just happenstance that's fine to change.
https://github.com/llvm/llvm-project/pull/137665
More information about the cfe-commits
mailing list