diff options
Diffstat (limited to 'clang/tools/clang-import-test/clang-import-test.cpp')
-rw-r--r-- | clang/tools/clang-import-test/clang-import-test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/tools/clang-import-test/clang-import-test.cpp b/clang/tools/clang-import-test/clang-import-test.cpp index f64f0f8042d..a7e749c6468 100644 --- a/clang/tools/clang-import-test/clang-import-test.cpp +++ b/clang/tools/clang-import-test/clang-import-test.cpp @@ -182,8 +182,7 @@ std::unique_ptr<CompilerInstance> BuildCompilerInstance() { Inv->getHeaderSearchOpts().UseLibcxx = true; } if (isObjC(Id)) { - Inv->getLangOpts()->ObjC1 = 1; - Inv->getLangOpts()->ObjC2 = 1; + Inv->getLangOpts()->ObjC = 1; } } Inv->getLangOpts()->Bool = true; |