aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-07-01 14:36:47 +0000
committerSteve Naroff <snaroff@apple.com>2009-07-01 14:36:47 +0000
commit7154a77e7c1f23418342d3b72836ab504aa7821e (patch)
treedafff1fe142d877dabbee7f18aa0ea8365b6bdaa /include/clang
parentc0b8b19bd8056d6b5d831623a0825cce150f4507 (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.h1
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;