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 517334bdb83deaae3be6fbc4fa5f1d721b01c0f0 
56faefda954130f1f67d160d6ccc98e50f22674c --extensions cpp -- 
clang/lib/Basic/Diagnostic.cpp clang/tools/driver/driver.cpp 
clang/unittests/Basic/DiagnosticTest.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/tools/driver/driver.cpp b/clang/tools/driver/driver.cpp
index c68367c177..5ef64a6a6a 100644
--- a/clang/tools/driver/driver.cpp
+++ b/clang/tools/driver/driver.cpp
@@ -319,7 +319,8 @@ int clang_main(int Argc, char **Argv, const 
llvm::ToolContext &ToolContext) {
   IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts =
       CreateAndPopulateDiagOpts(Args);
 
-  // The _driver_ (vs cc1) diagnostics engine shouldn't bother to load a 
suppression file.
+  // The _driver_ (vs cc1) diagnostics engine shouldn't bother to load a
+  // suppression file.
   DiagOpts->DiagnosticSuppressionMappingsFile = "";
 
   TextDiagnosticPrinter *DiagClient

``````````

</details>


https://github.com/llvm/llvm-project/pull/124141
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to