]> granicus.if.org Git - clang/commit
ObjectiveC. Define a new cc1 flag
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 1 Nov 2013 21:58:17 +0000 (21:58 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 1 Nov 2013 21:58:17 +0000 (21:58 +0000)
commitd9553e35e1e3af6fc4ca817b169dc796a5b54bcd
tree2dd3f37bdac6aab7f3cd68a4a1acbad7f311008c
parentcbc198785c8ec64c1f869e65132cd4336f5c750a
ObjectiveC. Define a new cc1 flag
-fobjc-subscripting-legacy-runtime which is off
by default and on only when using ObjectiveC
legacy runtime. Use this flag to allow
array and dictionary subscripting and disallow
objectiveC pointer arithmatic in ObjectiveC
legacy runtime. // rdar://15363492

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193889 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.def
include/clang/Basic/LangOptions.h
include/clang/Driver/CC1Options.td
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
test/SemaObjC/objc-array-literal.m
test/SemaObjC/objc-dictionary-literal.m