From 29bbf103a73baebcc5a6e966fcc41fe176dbdee6 Mon Sep 17 00:00:00 2001From: Amirreza Ashouri <ar.ashouri999@gmail.com>Date: Tue, 1 Aug 2023 16:13:24 -0700Subject: [PATCH 06/20] Fix the linting problems in UnsafeBufferUsage.cppFix 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 of0fd4175907b40fe63131482c162d7e0f76000521:The correct email address is "ar.ashouri999@gmail.com", not "ar.ashouri999@google.com".Reviewed by: ziqingluo-90 (Ziqing Luo)Differential revision: https://reviews.llvm.org/D155814---clang/lib/Analysis/UnsafeBufferUsage.cpp | 1 -1 file changed, 1 deletion(-)diff --git a/clang/lib/Analysis/UnsafeBufferUsage.cpp b/clang/lib/Analysis/UnsafeBufferUsage.cppindex 5782ad7e6e44..6f9f5f5e7ee7 100644--- a/clang/lib/Analysis/UnsafeBufferUsage.cpp+++ b/clang/lib/Analysis/UnsafeBufferUsage.cpp@@ -2267,7 +2267,6 @@ void clang::checkUnsafeBufferUsage(const Decl *D,#endifassert(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)) {--2.43.7
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。