Skip to content

Commit 82b94a9

Browse files
AMP999ziqingluo-90
authored andcommitted
Fix the linting problems in UnsafeBufferUsage.cpp
Fix the linting problems which causes `clang/utils/ci/run-buildbot check-format` to return 1. Also make a correction for the email address of the author of 0fd4175: The correct email address is "[email protected]", not "[email protected]". Reviewed by: ziqingluo-90 (Ziqing Luo) Differential revision: https://reviews.llvm.org/D155814
1 parent ffecb43 commit 82b94a9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/Analysis/UnsafeBufferUsage.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,6 @@ void clang::checkUnsafeBufferUsage(const Decl *D,
22672267
#endif
22682268

22692269
assert(D && D->getBody());
2270-
22712270
// We do not want to visit a Lambda expression defined inside a method independently.
22722271
// Instead, it should be visited along with the outer method.
22732272
if (const auto *fd = dyn_cast<CXXMethodDecl>(D)) {

0 commit comments

Comments
 (0)