Rename getBuiltinValue -> getBuiltinValueDecl since it doesn't

produce a value, it produces a decl.



Swift SVN r10697
This commit is contained in:
Chris Lattner
2013-12-01 02:13:45 +00:00
parent 5a29366de5
commit ecfba9fb53
4 changed files with 12 additions and 17 deletions

View File

@@ -77,7 +77,7 @@ BuiltinModule::LookupCache::lookupValue(Identifier Name, NLKind LookupKind,
MutableArrayRef<TypeLoc>());
if (Entry == 0)
Entry = getBuiltinValue(M.Ctx, Name);
Entry = getBuiltinValueDecl(M.Ctx, Name);
if (Entry)
Result.push_back(Entry);