diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-01-04 00:27:46 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-01-04 00:27:46 +0000 |
commit | 775d5d02af519f871a2bcc48c4aa529cc8f4e94e (patch) | |
tree | d9d4b0a9cdbb5861f05f50c08b94a95e3e2a07ec /clang/Sema/Sema.h | |
parent | 816dea2fc5e402dacb86a2e2879d2ac8ac4acffd (diff) | |
download | bcm5719-llvm-775d5d02af519f871a2bcc48c4aa529cc8f4e94e.tar.gz bcm5719-llvm-775d5d02af519f871a2bcc48c4aa529cc8f4e94e.zip |
Patch to add semantics check for ObjC2's foreacn statement.
llvm-svn: 45561
Diffstat (limited to 'clang/Sema/Sema.h')
-rw-r--r-- | clang/Sema/Sema.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h index 8846d158134..6f546514dbb 100644 --- a/clang/Sema/Sema.h +++ b/clang/Sema/Sema.h @@ -285,6 +285,10 @@ private: /// isBuiltinObjcType - Returns true of the type is "id", "SEL", "Class" /// or "Protocol". bool isBuiltinObjcType(TypedefDecl *TD); + + /// isObjcObjectPointerType - Returns tru if type is an objective-c pointer + /// to an object type; such as "id", "Class", Intf*, id<P>, etc. + bool isObjcObjectPointerType(QualType type) const; /// AddInstanceMethodToGlobalPool - All instance methods in a translation /// unit are added to a global pool. This allows us to efficiently associate |