[clang] [clang] Inject tokens containing #embed back into token stream (PR #97274)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 1 07:09:43 PDT 2024


================
@@ -43,8 +43,9 @@ a
 };
 
 // CHECK: store i32 107, ptr %b, align 4
-int b =
+int b = (
 #embed<jk.txt>
+    )
----------------
AaronBallman wrote:

Oh nice, these changes fixed a bug -- this code should not have compiled before.

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


More information about the cfe-commits mailing list