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/Driver/Driver.h
clang/include/clang/Interpreter/Interpreter.h
clang/include/clang/Lex/HeaderSearch.h clang/include/clang/Tooling/Tooling.h
clang/lib/Driver/Compilation.cpp clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/Darwin.cpp clang/lib/Driver/ToolChains/ZOS.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 --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 5c9c8576f..175f4f839 100644
--- a/clang/unittests/Interpreter/IncrementalCompilerBuilderTest.cpp
+++ b/clang/unittests/Interpreter/IncrementalCompilerBuilderTest.cpp
@@ -21,8 +21,7 @@ using namespace clang;
namespace {
-class IncrementalCompilerBuilderInterpreterTest
- : public InterpreterTestBase {};
+class IncrementalCompilerBuilderInterpreterTest : public InterpreterTestBase
{};
// Usually FrontendAction takes the raw pointers and wraps them back into
// unique_ptrs in InitializeFileRemapping()
``````````
</details>
https://github.com/llvm/llvm-project/pull/226022
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits