Rename the non-coding style conformant functions in namespace Builtins

to match the rest of their brethren and reformat the bits that need it.

llvm-svn: 244186
This commit is contained in:
Eric Christopher
2015-08-06 01:01:12 +00:00
parent 49873a8382
commit 02d5d86b4e
11 changed files with 60 additions and 62 deletions

View File

@@ -1439,7 +1439,7 @@ namespace {
unsigned BuiltinID = FD->getBuiltinID();
if (!BuiltinID || !BI.isLibFunction(BuiltinID))
return true;
StringRef BuiltinName = BI.GetName(BuiltinID);
StringRef BuiltinName = BI.getName(BuiltinID);
if (BuiltinName.startswith("__builtin_") &&
Name == BuiltinName.slice(strlen("__builtin_"), StringRef::npos)) {
Result = true;