aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Type.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-08-10 18:11:37 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-08-10 18:11:37 +0000
commit6b8bc0707f26aa6acfdd80a59b9a3850cafbe387 (patch)
tree5d27edab4d9364184b27d2ff0576a147cdf31701 /lib/AST/Type.cpp
parent730cfb18463d8c2f6d0e4d4380fdd67e4abe5d97 (diff)
Renamings to consistently use 'Constexpr' not 'ConstExpr' when referring to the C++0x 'constexpr' keyword.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r--lib/AST/Type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp
index 81627f2bf9..3b2154f1f6 100644
--- a/lib/AST/Type.cpp
+++ b/lib/AST/Type.cpp
@@ -1144,7 +1144,7 @@ bool Type::isLiteralType() const {
// constructor or constructor template that is not a copy or move
// constructor, and
if (!ClassDecl->isAggregate() &&
- !ClassDecl->hasConstExprNonCopyMoveConstructor())
+ !ClassDecl->hasConstexprNonCopyMoveConstructor())
return false;
// -- all non-static data members and base classes of literal types
if (ClassDecl->hasNonLiteralTypeFieldsOrBases()) return false;