r288124 - Correct comment: we are creating a canonicla decltypetype.
Yaron Keren via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 29 02:08:20 PST 2016
Author: yrnkrn
Date: Tue Nov 29 04:08:20 2016
New Revision: 288124
URL: http://llvm.org/viewvc/llvm-project?rev=288124&view=rev
Log:
Correct comment: we are creating a canonicla decltypetype.
Modified:
cfe/trunk/lib/AST/ASTContext.cpp
Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=288124&r1=288123&r2=288124&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Tue Nov 29 04:08:20 2016
@@ -4330,7 +4330,7 @@ QualType ASTContext::getDecltypeType(Exp
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);
}
More information about the cfe-commits
mailing list