diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2007-12-20 01:06:58 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2007-12-20 01:06:58 +0000 |
commit | 7359f04a80cae1dcbd944ee07eb50a27ce7f5077 (patch) | |
tree | 83ef1a052606d892956d61e6049af390e529bad9 /include/clang | |
parent | fe23e217774aaec350086fab839210d7d9e1e3f4 (diff) |
More objective-c typechecking stuff. This is work in progress and more patches
are due to arrive.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/AST/Type.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 7c93910806..e3825a9f31 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -1029,8 +1029,7 @@ inline bool Type::isFunctionType() const { return isa<FunctionType>(CanonicalType); } inline bool Type::isPointerType() const { - return isa<PointerType>(CanonicalType) || - isa<ObjcQualifiedIdType>(CanonicalType); + return isa<PointerType>(CanonicalType); } inline bool Type::isFunctionPointerType() const { if (const PointerType* T = getAsPointerType()) |