diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-07-17 01:20:38 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-07-17 01:20:38 +0000 |
commit | b825c0ddc510d8aa0cce9b4065cb8e5dace6bc39 (patch) | |
tree | cd576de18eb9d3fe372b2471a676e0a2cc6782e1 /clang/lib/Analysis/Store.cpp | |
parent | 95d401de9dabfe99c54dd484a780f4cddab2c26a (diff) | |
download | bcm5719-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/Analysis/Store.cpp')
-rw-r--r-- | clang/lib/Analysis/Store.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/Store.cpp b/clang/lib/Analysis/Store.cpp index 9147f93eda2..66b99a85a37 100644 --- a/clang/lib/Analysis/Store.cpp +++ b/clang/lib/Analysis/Store.cpp @@ -36,7 +36,7 @@ StoreManager::MakeElementRegion(const GRState *state, const MemRegion *region, } static bool IsCompleteType(ASTContext &Ctx, QualType Ty) { - if (const RecordType *RT = Ty->getAsRecordType()) { + if (const RecordType *RT = Ty->getAs<RecordType>()) { const RecordDecl *D = RT->getDecl(); if (!D->getDefinition(Ctx)) return false; |