[cfe-commits] r79558 - /cfe/trunk/lib/Parse/ParseTemplate.cpp

Douglas Gregor dgregor at apple.com
Thu Aug 20 11:46:05 PDT 2009


Author: dgregor
Date: Thu Aug 20 13:46:05 2009
New Revision: 79558

URL: http://llvm.org/viewvc/llvm-project?rev=79558&view=rev
Log:
Fix a typo in a variable name

Modified:
    cfe/trunk/lib/Parse/ParseTemplate.cpp

Modified: cfe/trunk/lib/Parse/ParseTemplate.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseTemplate.cpp?rev=79558&r1=79557&r2=79558&view=diff

==============================================================================
--- cfe/trunk/lib/Parse/ParseTemplate.cpp (original)
+++ cfe/trunk/lib/Parse/ParseTemplate.cpp Thu Aug 20 13:46:05 2009
@@ -75,7 +75,7 @@
   // defining A<T>::B receives just the inner template parameter list
   // (and retrieves the outer template parameter list from its
   // context).
-  bool isSpecialiation = true;
+  bool isSpecialization = true;
   TemplateParameterLists ParamLists;
   do {
     // Consume the 'export', if any.
@@ -106,7 +106,7 @@
     }
       
     if (!TemplateParams.empty())
-      isSpecialiation = false;
+      isSpecialization = false;
 
     ParamLists.push_back(
       Actions.ActOnTemplateParameterList(ParamLists.size(), ExportLoc, 
@@ -118,7 +118,7 @@
   // Parse the actual template declaration.
   return ParseSingleDeclarationAfterTemplate(Context, 
                                              ParsedTemplateInfo(&ParamLists,
-                                                             isSpecialiation),
+                                                             isSpecialization),
                                              DeclEnd, AS);
 }
 





More information about the cfe-commits mailing list