github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff 8d13e7b8c382499c1cf0c2a3184b483e760f266b 36626f9b3f1a5081e3482620b975847040eedf66 --extensions h,c,cpp -- clang/test/Sema/attr-format-missing.c clang/test/Sema/attr-format-missing.cpp clang/include/clang/Sema/Attr.h clang/include/clang/Sema/Sema.h clang/lib/Sema/SemaDecl.cpp clang/lib/Sema/SemaDeclAttr.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index 64306f37b5..6989c3566b 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/lib/Sema/SemaDeclAttr.cpp @@ -5446,7 +5446,8 @@ GetMissingFormatAttributes(Sema &S, Stmt *Body, const FunctionDecl *FDecl) { // If va_list is not passed, continue to the next iteration. bool hasVaList = false; for (const auto *Param : CalleeFunction->parameters()) { - if (Param->getOriginalType().getCanonicalType() == S.getASTContext().getBuiltinVaListType().getCanonicalType()) { + if (Param->getOriginalType().getCanonicalType() == + S.getASTContext().getBuiltinVaListType().getCanonicalType()) { hasVaList = true; break; } `````````` </details> https://github.com/llvm/llvm-project/pull/105479 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits