[clang] [analyzer][CTU] Macro expansions for imported translation units (PR #176126)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 26 07:09:33 PST 2026


================
@@ -0,0 +1,164 @@
+// RUN: rm -rf %t && mkdir %t
+// RUN: mkdir -p %t/ctudir
+// RUN: %clang_cc1 -emit-pch -detailed-preprocessing-record -o %t/ctudir/plist-macros-ctu.c.ast %S/Inputs/plist-macros-ctu.c
----------------
steakhal wrote:

So here you pass this `-detailed-preprocessing-record`. What happens if that is missing, is it gracefully handled?

https://github.com/llvm/llvm-project/pull/176126


More information about the cfe-commits mailing list