This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG82b94a9f7be9: Fix the linting problems in UnsafeBufferUsage.cpp (authored by AMP999, committed by ziqingluo-90).
Changed prior to commit: https://reviews.llvm.org/D155814?vs=542972&id=546260#toc Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D155814/new/ https://reviews.llvm.org/D155814 Files: clang/lib/Analysis/UnsafeBufferUsage.cpp Index: clang/lib/Analysis/UnsafeBufferUsage.cpp =================================================================== --- clang/lib/Analysis/UnsafeBufferUsage.cpp +++ clang/lib/Analysis/UnsafeBufferUsage.cpp @@ -2267,7 +2267,6 @@ #endif assert(D && D->getBody()); - // We do not want to visit a Lambda expression defined inside a method independently. // Instead, it should be visited along with the outer method. if (const auto *fd = dyn_cast<CXXMethodDecl>(D)) {
Index: clang/lib/Analysis/UnsafeBufferUsage.cpp =================================================================== --- clang/lib/Analysis/UnsafeBufferUsage.cpp +++ clang/lib/Analysis/UnsafeBufferUsage.cpp @@ -2267,7 +2267,6 @@ #endif assert(D && D->getBody()); - // We do not want to visit a Lambda expression defined inside a method independently. // Instead, it should be visited along with the outer method. if (const auto *fd = dyn_cast<CXXMethodDecl>(D)) {
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits