diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:04:05 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:04:05 +0000 |
| commit | 676fbe8105eeb6ff4bb2ed261cb212fcfdbe7b63 (patch) | |
| tree | 02a1ac369cb734d0abfa5000dd86e5b7797e6a74 /tools/arcmt-test/arcmt-test.cpp | |
| parent | c7e70c433efc6953dc3888b9fbf9f3512d7da2b0 (diff) | |
Notes
Diffstat (limited to 'tools/arcmt-test/arcmt-test.cpp')
| -rw-r--r-- | tools/arcmt-test/arcmt-test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/arcmt-test/arcmt-test.cpp b/tools/arcmt-test/arcmt-test.cpp index e57d69fddbe2..80354788a30c 100644 --- a/tools/arcmt-test/arcmt-test.cpp +++ b/tools/arcmt-test/arcmt-test.cpp @@ -130,7 +130,7 @@ static bool checkForMigration(StringRef resourcesPath, return true; } - if (!CI.getLangOpts()->ObjC1) + if (!CI.getLangOpts()->ObjC) return false; arcmt::checkForManualIssues(CI, CI.getFrontendOpts().Inputs[0], @@ -170,7 +170,7 @@ static bool performTransformations(StringRef resourcesPath, return true; } - if (!origCI.getLangOpts()->ObjC1) + if (!origCI.getLangOpts()->ObjC) return false; MigrationProcess migration(origCI, std::make_shared<PCHContainerOperations>(), |
