[clang] [clang][dataflow] Fix u8 string error with C++20. (PR #84302)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 7 02:55:14 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 5830d1a2dff24d752459f215a0c8fc366f393596 66ba3d492bc09b1244d1b0abdee58e1015a19974 -- clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp b/clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
index f2753d962f..6afd66d9dc 100644
--- a/clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
+++ b/clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
@@ -500,7 +500,7 @@ private:
for (unsigned I = 0; I < CFG.getNumBlockIDs(); ++I) {
std::string Name = blockID(I);
// Rightwards arrow, vertical line
- const char *ConvergenceMarker = (const char*)u8"\\n\u2192\u007c";
+ const char *ConvergenceMarker = (const char *)u8"\\n\u2192\u007c";
if (BlockConverged[I])
Name += ConvergenceMarker;
GraphS << " " << blockID(I) << " [id=" << blockID(I) << " label=\""
``````````
</details>
https://github.com/llvm/llvm-project/pull/84302
More information about the cfe-commits
mailing list