We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b4fc2 commit 842bc07Copy full SHA for 842bc07
llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
@@ -753,7 +753,7 @@ LLVMSymbolizer::DemangleName(StringRef Name,
753
if (nonMicrosoftDemangle(Name, Result))
754
return Result;
755
756
- if (!Name.empty() && Name.front() == '?') {
+ if (Name.starts_with('?')) {
757
// Only do MSVC C++ demangling on symbols starting with '?'.
758
int status = 0;
759
char *DemangledName = microsoftDemangle(
0 commit comments