summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2016-11-29 10:08:20 +0000
committerYaron Keren <yaron.keren@gmail.com>2016-11-29 10:08:20 +0000
commit633e14aa42f90f6a0a929c41104afd425a96a4b7 (patch)
tree03a23559d23813cace586cdb4b5af5798410edda /clang/lib/AST/ASTContext.cpp
parent595a763f38ced2cb994903acdf36e8b76b99edf7 (diff)
downloadbcm5719-llvm-633e14aa42f90f6a0a929c41104afd425a96a4b7.tar.gz
bcm5719-llvm-633e14aa42f90f6a0a929c41104afd425a96a4b7.zip
Correct comment: we are creating a canonicla decltypetype.
llvm-svn: 288124
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 7c9fda65327..26c7938c983 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -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);
}
OpenPOWER on IntegriCloud