[clang] [clang][codegen] Mention the invariant that LLVM demangler should be … (PR #117346)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 22 08:36:00 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 026af9e972469c878e51f1215659b7264da0136d abd3c27d94b7f18990377d518aa8e14b32659b5f --extensions cpp -- clang/lib/CodeGen/CodeGenModule.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 6eef085ae3..26acf67c9b 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -2048,7 +2048,8 @@ StringRef CodeGenModule::getMangledName(GlobalDecl GD) {
ND));
// This invariant should hold true in the future.
- // Prior work: https://discourse.llvm.org/t/rfc-clang-diagnostic-for-demangling-failures/82835/8
+ // Prior work:
+ // https://discourse.llvm.org/t/rfc-clang-diagnostic-for-demangling-failures/82835/8
// https://github.com/llvm/llvm-project/issues/111345
// assert(llvm::isMangledName(MangledName) &&
// llvm::demangle(MangledName) != MangledName &&
``````````
</details>
https://github.com/llvm/llvm-project/pull/117346
More information about the cfe-commits
mailing list