diff options
Diffstat (limited to 'lib/Checker/Store.cpp')
-rw-r--r-- | lib/Checker/Store.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/Store.cpp b/lib/Checker/Store.cpp index d68369dfa5..e524cb3d7c 100644 --- a/lib/Checker/Store.cpp +++ b/lib/Checker/Store.cpp @@ -31,7 +31,7 @@ const MemRegion *StoreManager::MakeElementRegion(const MemRegion *Base, static bool IsCompleteType(ASTContext &Ctx, QualType Ty) { if (const RecordType *RT = Ty->getAs<RecordType>()) { const RecordDecl *D = RT->getDecl(); - if (!D->getDefinition(Ctx)) + if (!D->getDefinition()) return false; } |