hasInit() -> hasDefaultArg()

llvm-svn: 122905
This commit is contained in:
Douglas Gregor 2011-01-05 21:14:17 +00:00
parent 3c6bd2ad38
commit 9cc2782277
1 changed files with 1 additions and 1 deletions

View File

@ -1084,7 +1084,7 @@ static bool NeedsInstantiationAsFunctionType(TypeSourceInfo *T) {
// TODO: currently we always rebuild expressions. When we
// properly get lazier about this, we should use the same
// logic to avoid rebuilding prototypes here.
if (P->hasInit())
if (P->hasDefaultArg())
return true;
}