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 cfa5ecde415d509b835b2dc5551187f2b7eff773 81b8faed9e6da8d8a0cc9905d14716f4b2f09665 --extensions h,cpp -- clang/include/clang/APINotes/Types.h clang/lib/APINotes/APINotesFormat.h clang/lib/APINotes/APINotesReader.cpp clang/lib/APINotes/APINotesTypes.cpp clang/lib/APINotes/APINotesWriter.cpp clang/lib/APINotes/APINotesYAMLCompiler.cpp clang/lib/Sema/SemaAPINotes.cpp clang/test/APINotes/Inputs/Headers/Lifetimebound.h clang/test/APINotes/lifetimebound.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/APINotes/APINotesFormat.h b/clang/lib/APINotes/APINotesFormat.h index bdd379ca4a..4d1c698ae6 100644 --- a/clang/lib/APINotes/APINotesFormat.h +++ b/clang/lib/APINotes/APINotesFormat.h @@ -24,7 +24,8 @@ const uint16_t VERSION_MAJOR = 0; /// API notes file minor version number. /// /// When the format changes IN ANY WAY, this number should be incremented. -const uint16_t VERSION_MINOR = 32; // implicit parameter support (at position -1) +const uint16_t VERSION_MINOR = + 32; // implicit parameter support (at position -1) const uint8_t kSwiftCopyable = 1; const uint8_t kSwiftNonCopyable = 2; diff --git a/clang/lib/APINotes/APINotesYAMLCompiler.cpp b/clang/lib/APINotes/APINotesYAMLCompiler.cpp index 3fd9522e00..5c93df2266 100644 --- a/clang/lib/APINotes/APINotesYAMLCompiler.cpp +++ b/clang/lib/APINotes/APINotesYAMLCompiler.cpp @@ -944,7 +944,8 @@ public: FI.This = convertParams(Function.Params, FI); } else { if (convertParams(Function.Params, FI)) - emitError("implicit instance parameter is only permitted on C++ and Objective-C methods"); + emitError("implicit instance parameter is only permitted on C++ and " + "Objective-C methods"); } convertNullability(Function.Nullability, Function.NullabilityOfRet, FI, Function.Name); `````````` </details> https://github.com/llvm/llvm-project/pull/115021 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits