================
@@ -286,6 +286,10 @@ bool Disassembler::ElideMixedSourceAndDisassemblyLine(
return false;
}
+static constexpr const char *UndefLocation = "undef";
+static const std::string UndefLocationFormatted =
+ llvm::formatv("<{0}>", UndefLocation).str();
----------------
JDevlieghere wrote:
```suggestion
static constexpr const llvm::StringLiteral kUndefLocation = "undef";
static contexpr const llvm::StringLiteral kUndefLocationFormatted = "<undef>";
```
https://github.com/llvm/llvm-project/pull/169408
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits