diff options
author | Steve Naroff <snaroff@apple.com> | 2009-07-01 14:36:47 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-07-01 14:36:47 +0000 |
commit | 7154a77e7c1f23418342d3b72836ab504aa7821e (patch) | |
tree | dafff1fe142d877dabbee7f18aa0ea8365b6bdaa /include/clang | |
parent | c0b8b19bd8056d6b5d831623a0825cce150f4507 (diff) |
Rework Sema::CheckConditionalOperands(). No functionality change.
This was necessary to simplify some other changes I'm making (wrt ObjC type cleanups).
The idea is to separate the constraint checks for block pointers, ObjC pointers, and C pointers (the previous code combined them into one clause).
Note: This routine will be further simplified when I integrate the ObjC type cleanups (forthcoming).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/AST/Type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 82a84b3847..a00c0c4ff1 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -376,6 +376,7 @@ public: bool isFunctionProtoType() const { return getAsFunctionProtoType() != 0; } bool isPointerType() const; bool isBlockPointerType() const; + bool isVoidPointerType() const; bool isReferenceType() const; bool isLValueReferenceType() const; bool isRValueReferenceType() const; |