Skip to content

Commit

Permalink
[clang][dataflow] Fix u8 string error with C++20.
Browse files Browse the repository at this point in the history
See also discussion on llvm#84291.
  • Loading branch information
martinboehme committed Mar 7, 2024
1 parent 5830d1a commit 66ba3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = 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=\""
Expand Down

0 comments on commit 66ba3d4

Please sign in to comment.