aboutsummaryrefslogtreecommitdiff
path: root/lib/Rewrite/RewriteObjC.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-02-07 17:11:38 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-02-07 17:11:38 +0000
commit64cb63a0cfa76b278e0791141c7b5a1b424ab434 (patch)
tree0ff731d4d47977cd6f4f6e99fd11c4ef338b3f47 /lib/Rewrite/RewriteObjC.cpp
parent849639d8b548519cc5a00c0c9253f0c0d525060d (diff)
objc rewriter: start supporting modern objective-c abi
in objective-c rewriter. wip. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite/RewriteObjC.cpp')
-rw-r--r--lib/Rewrite/RewriteObjC.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Rewrite/RewriteObjC.cpp b/lib/Rewrite/RewriteObjC.cpp
index 4d26eb817d..5018112699 100644
--- a/lib/Rewrite/RewriteObjC.cpp
+++ b/lib/Rewrite/RewriteObjC.cpp
@@ -590,12 +590,7 @@ ASTConsumer *clang::CreateObjCRewriter(const std::string& InFile,
DiagnosticsEngine &Diags,
const LangOptions &LOpts,
bool SilenceRewriteMacroWarning) {
- if (true /*!LOpts.ObjCNonFragileABI*/)
- return new RewriteObjCFragileABI(InFile, OS, Diags, LOpts, SilenceRewriteMacroWarning);
- else {
- assert(false && "objective-C rewriter for nonfragile ABI = NYI");
- return 0;
- }
+ return new RewriteObjCFragileABI(InFile, OS, Diags, LOpts, SilenceRewriteMacroWarning);
}
void RewriteObjC::InitializeCommon(ASTContext &context) {