]> granicus.if.org Git - clang/commit
NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects)
authorErik Pilkington <erik.pilkington@gmail.com>
Tue, 30 Oct 2018 20:31:30 +0000 (20:31 +0000)
committerErik Pilkington <erik.pilkington@gmail.com>
Tue, 30 Oct 2018 20:31:30 +0000 (20:31 +0000)
commite1dcbc21bc41e383255561184def6905f797a4f8
tree7a1afc296657b896c8ce3626bcf2021f4b5f8d02
parent4288bb7112e75e40e5eb59b3b3d04663136f4f46
NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects)

We haven't supported compiling ObjC1 for a long time (and never will again), so
there isn't any reason to keep these separate. This patch replaces
LangOpts::ObjC1 and LangOpts::ObjC2 with LangOpts::ObjC.

Differential revision: https://reviews.llvm.org/D53547

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@345637 91177308-0d34-0410-b5e6-96231b3b80d8
59 files changed:
include/clang/Basic/Attr.td
include/clang/Basic/Features.def
include/clang/Basic/LangOptions.def
include/clang/Basic/TokenKinds.def
include/clang/Basic/TokenKinds.h
include/clang/Parse/Parser.h
lib/ARCMigrate/ARCMT.cpp
lib/AST/ASTContext.cpp
lib/AST/NSAPI.cpp
lib/Analysis/FormatString.cpp
lib/Basic/Builtins.cpp
lib/Basic/IdentifierTable.cpp
lib/Basic/Module.cpp
lib/Basic/Targets/OSTargets.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGException.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Format/Format.cpp
lib/Frontend/ASTUnit.cpp
lib/Frontend/CompilerInstance.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/FrontendAction.cpp
lib/Frontend/InitHeaderSearch.cpp
lib/Frontend/InitPreprocessor.cpp
lib/Frontend/Rewrite/RewriteModernObjC.cpp
lib/Frontend/Rewrite/RewriteObjC.cpp
lib/Lex/Lexer.cpp
lib/Lex/PPDirectives.cpp
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Parse/ParseInit.cpp
lib/Parse/ParseObjc.cpp
lib/Parse/ParseStmt.cpp
lib/Parse/ParseTentative.cpp
lib/Parse/Parser.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaCast.cpp
lib/Sema/SemaChecking.cpp
lib/Sema/SemaCodeComplete.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprMember.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaLambda.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaType.cpp
lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp
lib/Tooling/Inclusions/HeaderIncludes.cpp
test/Modules/module_file_info.m
tools/arcmt-test/arcmt-test.cpp
tools/clang-import-test/clang-import-test.cpp
tools/libclang/CXType.cpp