[clang] 5830d1a - Revert "[dataflow][nfc] Fix u8 string usage with c++20" (#84301)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 7 02:48:55 PST 2024
Author: martinboehme
Date: 2024-03-07T11:48:51+01:00
New Revision: 5830d1a2dff24d752459f215a0c8fc366f393596
URL: https://github.com/llvm/llvm-project/commit/5830d1a2dff24d752459f215a0c8fc366f393596
DIFF: https://github.com/llvm/llvm-project/commit/5830d1a2dff24d752459f215a0c8fc366f393596.diff
LOG: Revert "[dataflow][nfc] Fix u8 string usage with c++20" (#84301)
Reverts llvm/llvm-project#84291
The patch broke Windows builds.
Added:
Modified:
clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
Removed:
################################################################################
diff --git a/clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp b/clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
index d9f40d28859f5e..ff4e18de2c70f1 100644
--- a/clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
+++ b/clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
@@ -500,7 +500,7 @@ class HTMLLogger : public Logger {
for (unsigned I = 0; I < CFG.getNumBlockIDs(); ++I) {
std::string Name = blockID(I);
// Rightwards arrow, vertical line
- char ConvergenceMarker[] = "\\n\u2192\u007c";
+ char ConvergenceMarker[] = u8"\\n\u2192\u007c";
if (BlockConverged[I])
Name += ConvergenceMarker;
GraphS << " " << blockID(I) << " [id=" << blockID(I) << " label=\""
More information about the cfe-commits
mailing list