mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
Fix if statement in DebugInfo/GSYM/LookupResult.cpp
This commit is contained in:
parent
90ea81fcb2
commit
b21c03854c
@ -43,7 +43,7 @@ raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const SourceLocation &SL) {
|
||||
OS << " @ ";
|
||||
if (!SL.Dir.empty()) {
|
||||
OS << SL.Dir;
|
||||
if (SL.Dir.contains('\\') and not SL.Dir.contains('/'))
|
||||
if (SL.Dir.contains('\\') && !SL.Dir.contains('/'))
|
||||
OS << '\\';
|
||||
else
|
||||
OS << '/';
|
||||
|
Loading…
Reference in New Issue
Block a user