Eugene.Zelenko added inline comments.
================
Comment at:
clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidCaptureThisWithCaptureDefaultCheck.cpp:32
+ if (Capture.getCaptureKind() == LCK_ByRef) {
+ SourceManager &SourceMgr = Context.getSourceManager();
+ SourceLocation AddressofLoc = utils::lexer::findPreviousTokenKind(
----------------
Should be `const SourceManager &`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141133/new/
https://reviews.llvm.org/D141133
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits