[clang] [clang] Make nullability-on-classes more robust to redeclarations (PR #114778)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 4 03:53:49 PST 2024
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 5e75880165553e9afb721239689a9c79ec84a108 58baaccd4849fee2f8f1966de62660cb4c5bfa6d --extensions cpp -- clang/test/SemaCXX/nullability_redecl.cpp clang/lib/AST/Type.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/AST/Type.cpp b/clang/lib/AST/Type.cpp
index a01d7be0ca..6bf2908e66 100644
--- a/clang/lib/AST/Type.cpp
+++ b/clang/lib/AST/Type.cpp
@@ -43,8 +43,8 @@
#include "llvm/ADT/APSInt.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/FoldingSet.h"
-#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/STLExtras.h"
+#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/114778
More information about the cfe-commits
mailing list