[PATCH] D55955: Properly diagnose [[nodiscard]] on the body of a range-based for loop
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 2 12:20:15 PST 2019
aaron.ballman updated this revision to Diff 179920.
aaron.ballman marked an inline comment as done.
aaron.ballman added a comment.
Updated based on review feedback. The vast majority of the changes are from the removal of a default argument to `ActOnFullExpr()`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55955/new/
https://reviews.llvm.org/D55955
Files:
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/Parse/ParseObjc.cpp
lib/Parse/ParseOpenMP.cpp
lib/Parse/ParseStmt.cpp
lib/Sema/SemaCoroutine.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaLambda.cpp
lib/Sema/SemaOpenMP.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/TreeTransform.h
test/CXX/stmt.stmt/stmt.select/p3.cpp
test/CodeCompletion/pragma-macro-token-caching.c
test/Parser/cxx1z-init-statement.cpp
test/Parser/switch-recovery.cpp
test/SemaCXX/cxx1z-init-statement.cpp
test/SemaCXX/for-range-examples.cpp
test/SemaCXX/warn-unused-result.cpp
test/SemaObjCXX/foreach.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55955.179920.patch
Type: text/x-patch
Size: 40563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190102/198f579d/attachment-0001.bin>
More information about the cfe-commits
mailing list