[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
Sun Oct 25 18:48:17 PDT 2020
aaronpuchert added inline comments.
================
Comment at: clang/lib/Sema/SemaType.cpp:3092-3094
+ SourceLocation Loc = D.getIdentifierLoc();
+ if (Loc.isInvalid())
+ Loc = FTI.getRParenLoc();
----------------
I'm open to always using the `RParenLoc`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90129/new/
https://reviews.llvm.org/D90129
More information about the cfe-commits
mailing list