[clang-tools-extra] [llvm] [clang] [compiler-rt] [PGO][GlobalValue][LTO]In GlobalValues::getGlobalIdentifier, use semicolon as delimiter for local-linkage varibles. (PR #74008)

via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 10 20:06:07 PST 2023


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 0e1a9e3084cd8dffa5d4f2cf6eabf9e7721e1cdd 3409af09aec7f81af7e6e976a774aa945aa7f6ee -- compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp llvm/include/llvm/IR/GlobalValue.h llvm/include/llvm/ProfileData/InstrProf.h llvm/lib/IR/Globals.cpp llvm/lib/ProfileData/InstrProf.cpp llvm/lib/ProfileData/InstrProfReader.cpp llvm/unittests/ProfileData/InstrProfTest.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp b/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp
index 08cbd04611..06a4a8b616 100644
--- a/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp
+++ b/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp
@@ -95,4 +95,3 @@ void global_func() {
 //--- main.cpp
 #include "lib.h"
 int main() { global_func(); }
-

``````````

</details>


https://github.com/llvm/llvm-project/pull/74008


More information about the cfe-commits mailing list