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

Is there such a thing as an OwningStringRef then? I am not sure how to 
guarantee the string exists, and then is deallocated along with the tokens. I 
thought std::string would be a ptr to the dynamically sized string data, but I 
haven't used the STL much

https://github.com/llvm/llvm-project/pull/117770
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to