[PATCH] D90129: Source location for -Wignored-qualifiers on lambda trailing return type

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 18:35:27 PDT 2020


aaronpuchert updated this revision to Diff 301161.
aaronpuchert marked an inline comment as done.
aaronpuchert added a comment.

Collect location of a trailing return type in the parser, use that for the warning.

I resisted clang-format's urge to reflow the large parameter lists, I hope that's the right thing here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90129/new/

https://reviews.llvm.org/D90129

Files:
  clang/include/clang/Sema/DeclSpec.h
  clang/lib/Parse/ParseDecl.cpp
  clang/lib/Parse/ParseDeclCXX.cpp
  clang/lib/Parse/ParseExprCXX.cpp
  clang/lib/Sema/DeclSpec.cpp
  clang/lib/Sema/SemaType.cpp
  clang/test/SemaCXX/return.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90129.301161.patch
Type: text/x-patch
Size: 7371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201028/bdfcfa55/attachment.bin>


More information about the cfe-commits mailing list