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 5f05d5ec8f9bb15c0ac29fce843a2c73165ac414
33b9d83aeea01fc62a67b71f49a63dcaf4e49509 --extensions cpp,inc,h --
clang/lib/CodeGen/BackendUtil.cpp llvm/include/llvm/IR/DebugLoc.h
llvm/include/llvm/IR/IRBuilder.h llvm/include/llvm/Support/Signals.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp llvm/lib/CodeGen/BranchFolding.cpp
llvm/lib/CodeGen/BranchFolding.h llvm/lib/IR/DebugInfo.cpp
llvm/lib/IR/DebugLoc.cpp llvm/lib/IR/IRBuilder.cpp llvm/lib/IR/Instruction.cpp
llvm/lib/Support/Signals.cpp llvm/lib/Support/Unix/Signals.inc
llvm/lib/Support/Windows/Signals.inc llvm/lib/Transforms/Utils/Debugify.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Utils/Debugify.cpp
b/llvm/lib/Transforms/Utils/Debugify.cpp
index 3467f3482a..5b358cae1d 100644
--- a/llvm/lib/Transforms/Utils/Debugify.cpp
+++ b/llvm/lib/Transforms/Utils/Debugify.cpp
@@ -504,10 +504,13 @@ static bool checkInstructions(const DebugInstMap
&DILocsBefore,
auto CreateJSONBugEntry = [&](const char *Action) {
Bugs.push_back(llvm::json::Object({
- {"metadata", "DILocation"}, {"fn-name", FnName.str()},
- {"bb-name", BBName.str()}, {"instr", InstName}, {"action", Action},
+ {"metadata", "DILocation"},
+ {"fn-name", FnName.str()},
+ {"bb-name", BBName.str()},
+ {"instr", InstName},
+ {"action", Action},
#if ENABLE_DEBUGLOC_ORIGIN_TRACKING
- {"origin", symbolizeStackTrace(Instr)},
+ {"origin", symbolizeStackTrace(Instr)},
#endif
}));
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/108214
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits