summaryrefslogtreecommitdiff
path: root/lib/AST/Type.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-08-22 04:58:56 +0000
committerCraig Topper <craig.topper@gmail.com>2013-08-22 04:58:56 +0000
commit9db7a7eb4e23758e041752c9c0c0ec1663d5a0af (patch)
treea76bed8511eb4e4f8b1d1a4ea12340aaa365afe6 /lib/AST/Type.cpp
parent3613c004749f8976452e1ed2138d4aeb123b35db (diff)
downloadclang-9db7a7eb4e23758e041752c9c0c0ec1663d5a0af.tar.gz
clang-9db7a7eb4e23758e041752c9c0c0ec1663d5a0af.tar.bz2
clang-9db7a7eb4e23758e041752c9c0c0ec1663d5a0af.tar.xz
Constify the ASTContext& passed to Expr creation functions. Also constify the context in couple other functions that are called from creation functions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188985 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 bb6d0bf05d..0db4fad042 100644
--- a/lib/AST/Type.cpp
+++ b/lib/AST/Type.cpp
@@ -1130,7 +1130,7 @@ bool QualType::isTriviallyCopyableType(ASTContext &Context) const {
-bool Type::isLiteralType(ASTContext &Ctx) const {
+bool Type::isLiteralType(const ASTContext &Ctx) const {
if (isDependentType())
return false;