forked from OSchip/llvm-project
Retrieve as StringRef since that's how it'll be used
This commit is contained in:
parent
5f3818c7df
commit
856ebe9e82
|
@ -1016,7 +1016,7 @@ void Module::FindTypes(
|
|||
FindTypes_Impl(name, CompilerDeclContext(), UINT_MAX,
|
||||
searched_symbol_files, typesmap);
|
||||
if (exact_match) {
|
||||
typesmap.RemoveMismatchedTypes(type_scope, name.AsCString(""),
|
||||
typesmap.RemoveMismatchedTypes(type_scope, name.GetStringRef(),
|
||||
type_class, exact_match);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue