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 1de6445 commit 609b151Copy full SHA for 609b151
lib/RemoteAST/RemoteAST.cpp
@@ -587,8 +587,9 @@ RemoteASTTypeBuilder::getForeignModuleKind(const Demangle::NodePointer &node) {
587
return None;
588
589
return llvm::StringSwitch<Optional<ForeignModuleKind>>(node->getText())
590
- .Case(MANGLING_MODULE_OBJC, ForeignModuleKind::Imported)
591
- .Case(MANGLING_MODULE_CLANG_IMPORTER,
+ .Case(llvm::StringLiteral::withInnerNUL(MANGLING_MODULE_OBJC),
+ ForeignModuleKind::Imported)
592
+ .Case(llvm::StringLiteral::withInnerNUL(MANGLING_MODULE_CLANG_IMPORTER),
593
ForeignModuleKind::SynthesizedByImporter)
594
.Default(None);
595
}
0 commit comments