Make Apropos functions accept StringRefs.

llvm-svn: 287157
This commit is contained in:
Zachary Turner
2016-11-16 21:45:04 +00:00
parent 7a74803abf
commit 067d1db139
6 changed files with 12 additions and 14 deletions

View File

@@ -73,7 +73,7 @@ Error Properties::DumpPropertyValue(const ExecutionContext *exe_ctx,
}
size_t
Properties::Apropos(const char *keyword,
Properties::Apropos(llvm::StringRef keyword,
std::vector<const Property *> &matching_properties) const {
OptionValuePropertiesSP properties_sp(GetValueProperties());
if (properties_sp) {