summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Expr.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-07-17 01:20:38 +0000
committerTed Kremenek <kremenek@apple.com>2009-07-17 01:20:38 +0000
commitb825c0ddc510d8aa0cce9b4065cb8e5dace6bc39 (patch)
treecd576de18eb9d3fe372b2471a676e0a2cc6782e1 /clang/lib/AST/Expr.cpp
parent95d401de9dabfe99c54dd484a780f4cddab2c26a (diff)
downloadbcm5719-llvm-b825c0ddc510d8aa0cce9b4065cb8e5dace6bc39.tar.gz
bcm5719-llvm-b825c0ddc510d8aa0cce9b4065cb8e5dace6bc39.zip
Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents.
llvm-svn: 76139
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
-rw-r--r--clang/lib/AST/Expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp
index 74928bcd76a..63a6d3153c7 100644
--- a/clang/lib/AST/Expr.cpp
+++ b/clang/lib/AST/Expr.cpp
@@ -915,7 +915,7 @@ Expr::isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc) const {
if (CT->isIncompleteType())
return MLV_IncompleteType;
- if (const RecordType *r = CT->getAsRecordType()) {
+ if (const RecordType *r = CT->getAs<RecordType>()) {
if (r->hasConstFields())
return MLV_ConstQualified;
}
OpenPOWER on IntegriCloud