]> granicus.if.org Git - clang/commit
Allow front-end 'isa' access on object's of type 'id'.
authorSteve Naroff <snaroff@apple.com>
Fri, 24 Jul 2009 17:54:45 +0000 (17:54 +0000)
committerSteve Naroff <snaroff@apple.com>
Fri, 24 Jul 2009 17:54:45 +0000 (17:54 +0000)
commitf242b1b0c4e998911cb96b2ba7e27ab4a5abaed3
tree5b69e6d4f2903e89a5c70ffaa759820c7833259b
parentfc514abac21dbd801e2b665a1a24075c5ff62f44
Allow front-end 'isa' access on object's of type 'id'.
Enhance test case to cover 'isa' access on interface types (clang produces an error, GCC produces a warning).

Still need back-end CodeGen for ObjCIsaExpr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76979 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ExprObjC.h
include/clang/AST/StmtNodes.def
include/clang/AST/Type.h
include/clang/Frontend/PCHBitCodes.h
lib/AST/Expr.cpp
lib/AST/StmtPrinter.cpp
lib/Frontend/PCHReaderStmt.cpp
lib/Frontend/PCHWriterStmt.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplateInstantiateExpr.cpp
test/SemaObjC/id-isa-ref.m