]> granicus.if.org Git - clang/commitdiff
Fix wrong comment about reentering template scope for -fdelayed-template-parsing.
authorFrancois Pichet <pichet2000@gmail.com>
Fri, 23 Sep 2011 16:02:49 +0000 (16:02 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Fri, 23 Sep 2011 16:02:49 +0000 (16:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140382 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseTemplate.cpp

index 955f61c492009c7809f1d4e3bb63f88e37105deb..5cc604bde12f721cd9b31046680e6b3019053bb6 100644 (file)
@@ -1175,7 +1175,7 @@ void Parser::ParseLateTemplatedFuncDef(LateParsedTemplatedFunction &LMT) {
       DD = DD->getLexicalParent();
     }
 
-    // Reenter the DeclContext from outmost to innermost.
+    // Reenter template scopes from outmost to innermost.
     SmallVector<DeclContext*, 4>::reverse_iterator II =
     DeclContextToReenter.rbegin();
     for (; II != DeclContextToReenter.rend(); ++II) {