[llvm-branch-commits] [clang] c4eae28 - Revert "[dataflow][nfc] Fix u8 string usage with c++20 (#84291)"
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Mar 7 02:48:31 PST 2024
Author: martinboehme
Date: 2024-03-07T11:48:25+01:00
New Revision: c4eae28f1eb14bb8a588d866aa561d676c6bdd67
URL: https://github.com/llvm/llvm-project/commit/c4eae28f1eb14bb8a588d866aa561d676c6bdd67
DIFF: https://github.com/llvm/llvm-project/commit/c4eae28f1eb14bb8a588d866aa561d676c6bdd67.diff
LOG: Revert "[dataflow][nfc] Fix u8 string usage with c++20 (#84291)"
This reverts commit 6e79f77adbbd338848ea770f2f2b110bc57a3990.
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 llvm-branch-commits
mailing list