mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-04 00:20:14 +00:00

Summary: The clang-apply-replacements process is now invoked to apply replacements between applying transforms. This resulted in a massive simplification of the tool: - FileOverrides class no longer needed. - Change tracking and code formatting no longer needed. - No more dependency on libclangApplyReplacements. - Final syntax check is easier to do directly now than with a separate header/source pair. Replacement handling stuff abstracted into a new header/source pair to de-clutter ClangModernize.cpp somewhat. Tests updated. Differential Revision: http://llvm-reviews.chandlerc.com/D1836 llvm-svn: 192032
8 lines
128 B
CMake
8 lines
128 B
CMake
include_directories(
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${ClangReplaceLocation}
|
|
)
|
|
|
|
add_subdirectory(tool)
|
|
add_subdirectory(Core)
|