[clang] Revert "[dataflow][nfc] Fix u8 string usage with c++20" (PR #84301)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 7 02:48:50 PST 2024
https://github.com/martinboehme created https://github.com/llvm/llvm-project/pull/84301
Reverts llvm/llvm-project#84291
The patch broke Windows builds.
>From c4eae28f1eb14bb8a588d866aa561d676c6bdd67 Mon Sep 17 00:00:00 2001
From: martinboehme <mboehme at google.com>
Date: Thu, 7 Mar 2024 11:48:25 +0100
Subject: [PATCH] Revert "[dataflow][nfc] Fix u8 string usage with c++20
(#84291)"
This reverts commit 6e79f77adbbd338848ea770f2f2b110bc57a3990.
---
clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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