[PATCH] D42813: [Debug] Annotate compiler generated range-for loop variables.
Matt Davis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 14 11:25:40 PST 2018
mattd updated this revision to Diff 134272.
mattd added a comment.
Thanks @dblaikie! I renamed the test, and cleaned up per your suggestion. I originally regex'd the debug-info lines so that the test would verify that the names were artificial; however, being that we already match them as metadata earlier, it's not really that necessary; we are only testing name strings anyways. Thanks again for the suggestion.
https://reviews.llvm.org/D42813
Files:
include/clang/Sema/Scope.h
lib/Sema/SemaStmt.cpp
test/CodeGenCXX/debug-info-range-for-var-names.cpp
test/CodeGenCXX/debug-info-scope.cpp
test/CodeGenCXX/vla.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42813.134272.patch
Type: text/x-patch
Size: 6805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180214/7395a1c3/attachment-0001.bin>
More information about the cfe-commits
mailing list