commit | 7b1cf305c97382676c61ee89cc6d22fc5c26a8ae | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Jan 05 21:14:17 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Jan 05 21:14:17 2011 +0000 |
tree | 470aa218138373b3c9df5b9b219fd1db0da701b6 | |
parent | 1fe85ea697fb5c85acded3ac0ddbc19f89c2e181 [diff] [blame] |
hasInit() -> hasDefaultArg() git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122905 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaTemplateInstantiate.cpp b/lib/Sema/SemaTemplateInstantiate.cpp index a256537..46d8c1d 100644 --- a/lib/Sema/SemaTemplateInstantiate.cpp +++ b/lib/Sema/SemaTemplateInstantiate.cpp
@@ -1084,7 +1084,7 @@ // 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; }