diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-01 15:47:09 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-01 15:47:09 +0000 |
commit | 180bb63b482381c5ffcdb2c4eca5c28c0b1f22af (patch) | |
tree | bee8682ce91428e71e23341b099d05976889d9cb | |
parent | ebe94114b14418c11e829e952c2ee92ea42585cb (diff) |
Finish a thought in CheckVariableDeclaration's comment. No functionality change
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70544 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 37f4985ebe..de509246ba 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -1817,9 +1817,10 @@ Sema::ActOnVariableDeclarator(Scope* S, Declarator& D, DeclContext* DC, /// declaration. /// /// This routine performs all of the type-checking required for a -/// variable declaration once it has been build. It is used both to +/// variable declaration once it has been built. It is used both to /// check variables after they have been parsed and their declarators -/// have been translated into a declaration, and to check +/// have been translated into a declaration, and to check variables +/// that have been instantiated from a template. /// /// Sets NewVD->isInvalidDecl() if an error was encountered. void Sema::CheckVariableDeclaration(VarDecl *NewVD, NamedDecl *PrevDecl, |