Skip to content

Commit 0c53267

Browse files
committed
[Clang] Remove ARCMigrate
1 parent da24c02 commit 0c53267

File tree

377 files changed

+12
-42483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

377 files changed

+12
-42483
lines changed

clang/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -432,20 +432,11 @@ if(NOT LLVM_STATIC_LINK_CXX_STDLIB)
432432
set(HAVE_CLANG_REPL_SUPPORT ON)
433433
endif()
434434

435-
option(CLANG_ENABLE_ARCMT "Build ARCMT." ON)
436435
option(CLANG_ENABLE_STATIC_ANALYZER
437436
"Include static analyzer in clang binary." ON)
438437

439438
option(CLANG_ENABLE_PROTO_FUZZER "Build Clang protobuf fuzzer." OFF)
440439

441-
if(NOT CLANG_ENABLE_STATIC_ANALYZER AND CLANG_ENABLE_ARCMT)
442-
message(FATAL_ERROR "Cannot disable static analyzer while enabling ARCMT or Z3")
443-
endif()
444-
445-
if(CLANG_ENABLE_ARCMT)
446-
set(CLANG_ENABLE_OBJC_REWRITER ON)
447-
endif()
448-
449440
# This option is a stop-gap, we should commit to removing this as
450441
# soon as possible. See discussion:
451442
# https://discourse.llvm.org/t/rationale-for-removing-versioned-libclang-middle-ground-to-keep-it-behind-option/

clang/cmake/caches/Android.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
set(LLVM_TARGETS_TO_BUILD X86 CACHE STRING "")
44

5-
set(CLANG_ENABLE_ARCMT OFF CACHE BOOL "")
65
set(CLANG_ENABLE_STATIC_ANALYZER OFF CACHE BOOL "")
76
set(CLANG_TIDY_ENABLE_STATIC_ANALYZER OFF CACHE BOOL "")
87
set(CLANG_VENDOR Android CACHE STRING "")

clang/cmake/caches/Fuchsia-stage2.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ set(CLANG_DEFAULT_LINKER lld CACHE STRING "")
4444
set(CLANG_DEFAULT_OBJCOPY llvm-objcopy CACHE STRING "")
4545
set(CLANG_DEFAULT_RTLIB compiler-rt CACHE STRING "")
4646
set(CLANG_DEFAULT_UNWINDLIB libunwind CACHE STRING "")
47-
set(CLANG_ENABLE_ARCMT OFF CACHE BOOL "")
4847
set(CLANG_ENABLE_STATIC_ANALYZER ON CACHE BOOL "")
4948
set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
5049

clang/cmake/caches/Fuchsia.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ set(CLANG_DEFAULT_LINKER lld CACHE STRING "")
8484
set(CLANG_DEFAULT_OBJCOPY llvm-objcopy CACHE STRING "")
8585
set(CLANG_DEFAULT_RTLIB compiler-rt CACHE STRING "")
8686
set(CLANG_DEFAULT_UNWINDLIB libunwind CACHE STRING "")
87-
set(CLANG_ENABLE_ARCMT OFF CACHE BOOL "")
8887
set(CLANG_ENABLE_STATIC_ANALYZER OFF CACHE BOOL "")
8988
set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
9089

clang/include/clang-c/Index.h

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -5850,66 +5850,6 @@ CINDEX_LINKAGE const char *clang_EvalResult_getAsStr(CXEvalResult E);
58505850
* Disposes the created Eval memory.
58515851
*/
58525852
CINDEX_LINKAGE void clang_EvalResult_dispose(CXEvalResult E);
5853-
/**
5854-
* @}
5855-
*/
5856-
5857-
/** \defgroup CINDEX_REMAPPING Remapping functions
5858-
*
5859-
* @{
5860-
*/
5861-
5862-
/**
5863-
* A remapping of original source files and their translated files.
5864-
*/
5865-
typedef void *CXRemapping;
5866-
5867-
/**
5868-
* Retrieve a remapping.
5869-
*
5870-
* \param path the path that contains metadata about remappings.
5871-
*
5872-
* \returns the requested remapping. This remapping must be freed
5873-
* via a call to \c clang_remap_dispose(). Can return NULL if an error occurred.
5874-
*/
5875-
CINDEX_LINKAGE CXRemapping clang_getRemappings(const char *path);
5876-
5877-
/**
5878-
* Retrieve a remapping.
5879-
*
5880-
* \param filePaths pointer to an array of file paths containing remapping info.
5881-
*
5882-
* \param numFiles number of file paths.
5883-
*
5884-
* \returns the requested remapping. This remapping must be freed
5885-
* via a call to \c clang_remap_dispose(). Can return NULL if an error occurred.
5886-
*/
5887-
CINDEX_LINKAGE
5888-
CXRemapping clang_getRemappingsFromFileList(const char **filePaths,
5889-
unsigned numFiles);
5890-
5891-
/**
5892-
* Determine the number of remappings.
5893-
*/
5894-
CINDEX_LINKAGE unsigned clang_remap_getNumFiles(CXRemapping);
5895-
5896-
/**
5897-
* Get the original and the associated filename from the remapping.
5898-
*
5899-
* \param original If non-NULL, will be set to the original filename.
5900-
*
5901-
* \param transformed If non-NULL, will be set to the filename that the original
5902-
* is associated with.
5903-
*/
5904-
CINDEX_LINKAGE void clang_remap_getFilenames(CXRemapping, unsigned index,
5905-
CXString *original,
5906-
CXString *transformed);
5907-
5908-
/**
5909-
* Dispose the remapping.
5910-
*/
5911-
CINDEX_LINKAGE void clang_remap_dispose(CXRemapping);
5912-
59135853
/**
59145854
* @}
59155855
*/

clang/include/clang/ARCMigrate/ARCMT.h

Lines changed: 0 additions & 130 deletions
This file was deleted.

clang/include/clang/ARCMigrate/ARCMTActions.h

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)