diff options
| author | Douglas Gregor <dgregor@apple.com> | 2011-01-05 21:14:17 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2011-01-05 21:14:17 +0000 |
| commit | 9cc27822771b827447d96ff02e788d87de858640 (patch) | |
| tree | c8545266f554930f7eb821f7720f21b6ebfc6299 /clang/lib/Sema/SemaTemplateInstantiate.cpp | |
| parent | 3c6bd2ad386590ffcaa65e49a36e7976be82062d (diff) | |
| download | bcm5719-llvm-9cc27822771b827447d96ff02e788d87de858640.tar.gz bcm5719-llvm-9cc27822771b827447d96ff02e788d87de858640.zip | |
hasInit() -> hasDefaultArg()
llvm-svn: 122905
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiate.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaTemplateInstantiate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiate.cpp b/clang/lib/Sema/SemaTemplateInstantiate.cpp index a256537068c..46d8c1d3d46 100644 --- a/clang/lib/Sema/SemaTemplateInstantiate.cpp +++ b/clang/lib/Sema/SemaTemplateInstantiate.cpp @@ -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; } |

