[clang] [clang] Implement statement printer for EmbedExpr (PR #117770)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 27 03:04:44 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:
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
More information about the cfe-commits
mailing list