diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-04-22 06:50:37 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-04-22 06:50:37 +0000 |
| commit | ad8f750f71d5636abc134224e548f239a3f5d06d (patch) | |
| tree | c0c53f751a683e12cb509f7a2bce92baefe9a608 /clang/lib/AST | |
| parent | 587cbe1ef291241925fa547d89b00e175fc329af (diff) | |
| download | bcm5719-llvm-ad8f750f71d5636abc134224e548f239a3f5d06d.tar.gz bcm5719-llvm-ad8f750f71d5636abc134224e548f239a3f5d06d.zip | |
ObjCQualifiedClass is dead, remove it.
llvm-svn: 69783
Diffstat (limited to 'clang/lib/AST')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 4 | ||||
| -rw-r--r-- | clang/lib/AST/Type.cpp | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 02bedcaf781..1e553e3aba3 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -431,7 +431,6 @@ ASTContext::getTypeInfo(const Type *T) { // alignment requirements: getPointerInfo should take an AddrSpace. return getTypeInfo(QualType(cast<ExtQualType>(T)->getBaseType(), 0)); case Type::ObjCQualifiedId: - case Type::ObjCQualifiedClass: case Type::ObjCQualifiedInterface: Width = Target.getPointerWidth(0); Align = Target.getPointerAlign(0); @@ -3136,9 +3135,6 @@ QualType ASTContext::mergeTypes(QualType LHS, QualType RHS) { case Type::FixedWidthInt: // Distinct fixed-width integers are not compatible. return QualType(); - case Type::ObjCQualifiedClass: - // Distinct qualified classes are not compatible. - return QualType(); case Type::ExtQual: // FIXME: ExtQual types can be compatible even if they're not // identical! diff --git a/clang/lib/AST/Type.cpp b/clang/lib/AST/Type.cpp index 97245c699a4..7daa20704b2 100644 --- a/clang/lib/AST/Type.cpp +++ b/clang/lib/AST/Type.cpp @@ -768,8 +768,7 @@ bool Type::isScalarType() const { isa<BlockPointerType>(CanonicalType) || isa<MemberPointerType>(CanonicalType) || isa<ComplexType>(CanonicalType) || - isa<ObjCQualifiedIdType>(CanonicalType) || - isa<ObjCQualifiedClassType>(CanonicalType); + isa<ObjCQualifiedIdType>(CanonicalType); } /// \brief Determines whether the type is a C++ aggregate type or C |

