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 8586cd5ad8a7fa4f84b5913cbeaf634d68500095 dd3e3e6b8eb3f9f1f740d2a9fc8a62e1964f9153 -- clang/include/clang/Interpreter/CodeCompletion.h clang/lib/Interpreter/CodeCompletion.cpp clang/tools/clang-repl/ClangRepl.cpp clang/unittests/Interpreter/CodeCompletionTest.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/unittests/Interpreter/CodeCompletionTest.cpp b/clang/unittests/Interpreter/CodeCompletionTest.cpp index fba6e0dbcd31..918b4e8167eb 100644 --- a/clang/unittests/Interpreter/CodeCompletionTest.cpp +++ b/clang/unittests/Interpreter/CodeCompletionTest.cpp @@ -287,8 +287,8 @@ TEST(CodeCompletionTest, NestedInvocations) { TEST(CodeCompletionTest, TemplateFunctions) { auto Interp = createInterpreter(); - cantFail(Interp->ParseAndExecute( - "template <typename T> T id(T a) { return a;} ")); + cantFail( + Interp->ParseAndExecute("template <typename T> T id(T a) { return a;} ")); cantFail(Interp->ParseAndExecute("int apple = 84;")); { auto Err = llvm::Error::success(); @@ -298,7 +298,8 @@ TEST(CodeCompletionTest, TemplateFunctions) { EXPECT_EQ((bool)Err, false); } - cantFail(Interp->ParseAndExecute("template <typename T> T pickFirst(T a, T b) { return a;} ")); + cantFail(Interp->ParseAndExecute( + "template <typename T> T pickFirst(T a, T b) { return a;} ")); cantFail(Interp->ParseAndExecute("char pear = '4';")); { auto Err = llvm::Error::success(); @@ -309,5 +310,4 @@ TEST(CodeCompletionTest, TemplateFunctions) { } } - } // anonymous namespace `````````` </details> https://github.com/llvm/llvm-project/pull/67349 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits