[clang] [clang-tools-extra] [llvm] Refactor clang::Linkage (PR #80063)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 30 13:39:08 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 143b510a8fefb0d203c9ac7e036aa9967dd8a2ef c0ba8ba70d545ad0cbeb9d90c3fb0826681c3c5f -- clang/lib/AST/APValue.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/AST/APValue.cpp b/clang/lib/AST/APValue.cpp
index 5ed64524c3..93dc147916 100644
--- a/clang/lib/AST/APValue.cpp
+++ b/clang/lib/AST/APValue.cpp
@@ -22,14 +22,12 @@
#include "llvm/Support/raw_ostream.h"
using namespace clang;
-
enum Linkage {
- Invalid = 0,
- External = 1,
- Internal = 2,
+ Invalid = 0,
+ External = 1,
+ Internal = 2,
};
-
/// The identity of a type_info object depends on the canonical unqualified
/// type only.
TypeInfoLValue::TypeInfoLValue(const Type *T)
``````````
</details>
https://github.com/llvm/llvm-project/pull/80063
More information about the cfe-commits
mailing list