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 origin/main HEAD --extensions h,cpp -- 
clang/include/clang/Frontend/CompilerInstance.h 
clang/include/clang/Lex/HeaderSearch.h clang/lib/Driver/Compilation.cpp 
clang/lib/Driver/Driver.cpp clang/lib/Driver/ToolChains/Darwin.cpp 
clang/lib/Frontend/CompilerInstance.cpp clang/lib/Interpreter/Interpreter.cpp 
clang/lib/Lex/InitHeaderSearch.cpp clang/lib/Tooling/Tooling.cpp 
clang/unittests/Interpreter/IncrementalCompilerBuilderTest.cpp 
clang/unittests/Tooling/ToolingTest.cpp llvm/include/llvm/Support/raw_ostream.h 
llvm/lib/Support/raw_ostream.cpp llvm/unittests/Support/raw_ostream_test.cpp 
--diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/unittests/Interpreter/IncrementalCompilerBuilderTest.cpp 
b/clang/unittests/Interpreter/IncrementalCompilerBuilderTest.cpp
index 8e3bbeca1..9acf0db56 100644
--- a/clang/unittests/Interpreter/IncrementalCompilerBuilderTest.cpp
+++ b/clang/unittests/Interpreter/IncrementalCompilerBuilderTest.cpp
@@ -22,8 +22,7 @@ using namespace clang;
 
 namespace {
 
-class IncrementalCompilerBuilderInfoStreamTest
-    : public InterpreterTestBase {};
+class IncrementalCompilerBuilderInfoStreamTest : public InterpreterTestBase {};
 
 // Usually FrontendAction takes the raw pointers and wraps them back into
 // unique_ptrs in InitializeFileRemapping()
diff --git a/clang/unittests/Tooling/ToolingTest.cpp 
b/clang/unittests/Tooling/ToolingTest.cpp
index 36e9c7dd2..f210bf1c6 100644
--- a/clang/unittests/Tooling/ToolingTest.cpp
+++ b/clang/unittests/Tooling/ToolingTest.cpp
@@ -21,8 +21,8 @@
 #include "clang/Tooling/ArgumentsAdjusters.h"
 #include "clang/Tooling/CompilationDatabase.h"
 #include "clang/Tooling/JSONCompilationDatabase.h"
-#include "llvm/ADT/ScopeExit.h"
 #include "llvm/ADT/STLExtras.h"
+#include "llvm/ADT/ScopeExit.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/Support/JSON.h"
 #include "llvm/Support/Path.h"

``````````

</details>


https://github.com/llvm/llvm-project/pull/226056
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to