diff options
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 37f4985ebe8..de509246ba5 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/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, |