This revision was automatically updated to reflect the committed changes.
Closed by commit rC324988: [DebugInfo] Avoid name conflict of generated VLA
expression variable. (authored by s.desmalen, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D43189
Files:
lib/CodeGen/CGDecl.
probinson added a comment.
Please make sure to cite the PR in the commit message.
https://reviews.llvm.org/D43189
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
CarlosAlbertoEnciso added a comment.
LGTM.
Thanks.
https://reviews.llvm.org/D43189
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.
Comment at: lib/CodeGen/CGDecl.cpp:1002
getContext().CreateTypeSourceInfo(QT), SC_Auto);
+ ArtificialDecl->setImplicit();
Thanks!
h
sdesmalen created this revision.
sdesmalen added reviewers: CarlosAlbertoEnciso, probinson, aprantl.
Herald added a subscriber: JDevlieghere.
This patch also adds the 'DW_AT_artificial' flag to the generated variable.
https://reviews.llvm.org/D43189
Files:
lib/CodeGen/CGDecl.cpp
test/CodeGe