]> granicus.if.org Git - clang/commit
move ObjCQualifiedIdTypesAreCompatible out of ASTContext into Sema.
authorChris Lattner <sabre@nondot.org>
Mon, 7 Apr 2008 05:30:13 +0000 (05:30 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 7 Apr 2008 05:30:13 +0000 (05:30 +0000)
commiteca7be6b7ebd93682eeaab2c71d59f2995dacdcc
tree146cdf9150eb701dade31b5987d174a86d632040
parent821a01baa2968dd27720c631a6722ec60686ce27
move ObjCQualifiedIdTypesAreCompatible out of ASTContext into Sema.
While it is similar to the other compatibility predicates in ASTContext,
it is not used by them and is different.

In addition, greatly simplify ObjCQualifiedIdTypesAreCompatible and
fix some canonical type bugs.  Also, simplify my Type::getAsObjC* methods.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49313 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
include/clang/AST/DeclObjC.h
lib/AST/ASTContext.cpp
lib/AST/Type.cpp
lib/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp