diff options
author | John McCall <rjmccall@apple.com> | 2011-10-07 06:10:15 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-10-07 06:10:15 +0000 |
commit | 5e1cdac63c3d9c9b32fa41fa0b2d242a58a20d49 (patch) | |
tree | 4315635ba5c4741bce2150f06e162dd4ca99b98a /lib/CodeGen/CGRTTI.cpp | |
parent | 856ebfb6357042d46052ccb39c1fbb490718320e (diff) | |
download | clang-5e1cdac63c3d9c9b32fa41fa0b2d242a58a20d49.tar.gz clang-5e1cdac63c3d9c9b32fa41fa0b2d242a58a20d49.tar.bz2 clang-5e1cdac63c3d9c9b32fa41fa0b2d242a58a20d49.tar.xz |
Rename TagDecl::isDefinition -> isCompleteDefinition
for better self-documenting code, since the semantics
are subtly different from getDefinition().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141355 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGRTTI.cpp')
-rw-r--r-- | lib/CodeGen/CGRTTI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGRTTI.cpp b/lib/CodeGen/CGRTTI.cpp index 2ad1ed3930..dbf99fa5d7 100644 --- a/lib/CodeGen/CGRTTI.cpp +++ b/lib/CodeGen/CGRTTI.cpp @@ -267,7 +267,7 @@ static bool ShouldUseExternalRTTIDescriptor(CodeGenModule &CGM, QualType Ty) { /// IsIncompleteClassType - Returns whether the given record type is incomplete. static bool IsIncompleteClassType(const RecordType *RecordTy) { - return !RecordTy->getDecl()->isDefinition(); + return !RecordTy->getDecl()->isCompleteDefinition(); } /// ContainsIncompleteClassType - Returns whether the given type contains an |