[clang] [clang] Implement statement printer for EmbedExpr (PR #117770)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 27 08:59:04 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:
What if it's something like a flexible array member and the EmbedAnnotationData is allocated to the right size the first time?
https://github.com/llvm/llvm-project/pull/117770
More information about the cfe-commits
mailing list