diff options
author | Bob Wilson <bob.wilson@apple.com> | 2015-03-02 19:01:14 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2015-03-02 19:01:14 +0000 |
commit | a6fe515da69cd34bea85e27055652848a7d0f00e (patch) | |
tree | f5eeec0e6bd104e1255632f0d16454463f003a7c /lib/Frontend/CompilerInvocation.cpp | |
parent | 75c24c2be279a12ad8bd64012b03ac5d934b6fea (diff) | |
download | clang-a6fe515da69cd34bea85e27055652848a7d0f00e.tar.gz |
Add clang support for Objective-C application extensions.
This adds the -fapplication-extension option, along with the
ios_app_extension and macosx_app_extension availability attributes.
Patch by Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index 2098dec172..962e8e10df 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -1578,6 +1578,7 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, Opts.DebuggerObjCLiteral = Args.hasArg(OPT_fdebugger_objc_literal); Opts.ApplePragmaPack = Args.hasArg(OPT_fapple_pragma_pack); Opts.CurrentModule = Args.getLastArgValue(OPT_fmodule_name); + Opts.AppExt = Args.hasArg(OPT_fapplication_extension); Opts.ImplementationOfModule = Args.getLastArgValue(OPT_fmodule_implementation_of); Opts.ModuleFeatures = Args.getAllArgValues(OPT_fmodule_feature); |