diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2012-09-27 10:16:10 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2012-09-27 10:16:10 +0000 |
commit | f3477c13eeaf11b32a41f181398fb5deffd0dd73 (patch) | |
tree | d0ed95aa1d80d85d7b166102d96fc67897e6e0c4 /lib/CodeGen/CGRTTI.cpp | |
parent | 94ff8e1f57c6382d91d0de981a4f311509d83e37 (diff) |
Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164766
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGRTTI.cpp')
-rw-r--r-- | lib/CodeGen/CGRTTI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGRTTI.cpp b/lib/CodeGen/CGRTTI.cpp index ee1a7701ee..e46423b95a 100644 --- a/lib/CodeGen/CGRTTI.cpp +++ b/lib/CodeGen/CGRTTI.cpp @@ -347,7 +347,7 @@ getTypeInfoLinkage(CodeGenModule &CGM, QualType Ty) { // CanUseSingleInheritance - Return whether the given record decl has a "single, // public, non-virtual base at offset zero (i.e. the derived class is dynamic -// if the base is)", according to Itanium C++ ABI, 2.95p6b. +// iff the base is)", according to Itanium C++ ABI, 2.95p6b. static bool CanUseSingleInheritance(const CXXRecordDecl *RD) { // Check the number of bases. if (RD->getNumBases() != 1) @@ -364,7 +364,7 @@ static bool CanUseSingleInheritance(const CXXRecordDecl *RD) { if (Base->getAccessSpecifier() != AS_public) return false; - // Check that the class is dynamic if the base is. + // Check that the class is dynamic iff the base is. const CXXRecordDecl *BaseDecl = cast<CXXRecordDecl>(Base->getType()->getAs<RecordType>()->getDecl()); if (!BaseDecl->isEmpty() && |