]> granicus.if.org Git - clang/commitdiff
Correct comment: we are creating a canonicla decltypetype.
authorYaron Keren <yaron.keren@gmail.com>
Tue, 29 Nov 2016 10:08:20 +0000 (10:08 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Tue, 29 Nov 2016 10:08:20 +0000 (10:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288124 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTContext.cpp

index 7c9fda65327f7724be82581211262a92bd42953e..26c7938c9831583157f7a130f11a6edc485b4b7d 100644 (file)
@@ -4330,7 +4330,7 @@ QualType ASTContext::getDecltypeType(Expr *e, QualType UnderlyingType) const {
     DependentDecltypeType *Canon
       = DependentDecltypeTypes.FindNodeOrInsertPos(ID, InsertPos);
     if (!Canon) {
-      // Build a new, canonical typeof(expr) type.
+      // Build a new, canonical decltype(expr) type.
       Canon = new (*this, TypeAlignment) DependentDecltypeType(*this, e);
       DependentDecltypeTypes.InsertNode(Canon, InsertPos);
     }