[clang] [clang] Implement statement printer for EmbedExpr (PR #117770)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 27 11:33:52 PST 2024


================
@@ -3902,6 +3902,8 @@ void Preprocessor::HandleEmbedDirectiveImpl(
   }
 
   EmbedAnnotationData *Data = new (BP) EmbedAnnotationData;
+  Data->Filename = Filename;
+  Data->IsAngled = IsAngled;
   Data->BinaryData = BinaryContents;
----------------
circl-lastname wrote:

I'm not sure you can do that during the lexing stage

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


More information about the cfe-commits mailing list