[cfe-commits] r122905 - /cfe/trunk/lib/Sema/SemaTemplateInstantiate.cpp

Douglas Gregor dgregor at apple.com
Wed Jan 5 13:14:17 PST 2011


Author: dgregor
Date: Wed Jan  5 15:14:17 2011
New Revision: 122905

URL: http://llvm.org/viewvc/llvm-project?rev=122905&view=rev
Log:
hasInit() -> hasDefaultArg()

Modified:
    cfe/trunk/lib/Sema/SemaTemplateInstantiate.cpp

Modified: cfe/trunk/lib/Sema/SemaTemplateInstantiate.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateInstantiate.cpp?rev=122905&r1=122904&r2=122905&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateInstantiate.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateInstantiate.cpp Wed Jan  5 15:14:17 2011
@@ -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;
   }
 





More information about the cfe-commits mailing list