2013-04-03 23:11:08 +08:00
|
|
|
add_custom_target(ExtraToolsUnitTests)
|
|
|
|
set_target_properties(ExtraToolsUnitTests PROPERTIES FOLDER "Extra Tools Unit Tests")
|
|
|
|
|
|
|
|
function(add_extra_unittest test_dirname)
|
|
|
|
add_unittest(ExtraToolsUnitTests ${test_dirname} ${ARGN})
|
|
|
|
endfunction()
|
|
|
|
|
2013-09-30 21:59:21 +08:00
|
|
|
add_subdirectory(clang-apply-replacements)
|
2019-03-15 19:54:01 +08:00
|
|
|
add_subdirectory(clang-change-namespace)
|
2018-10-17 07:06:42 +08:00
|
|
|
add_subdirectory(clang-doc)
|
2019-03-25 22:09:10 +08:00
|
|
|
add_subdirectory(clang-include-fixer)
|
[clang-move] A prototype tool for moving class definition to new file.
Summary:
This patch introduces a new tool which moves a specific class definition
from files (.h, .cc) to new files (.h, .cc), which mostly acts like
"Extract class defintion". In the long term, this tool should be
merged in to clang-refactoring as a subtool.
clang-move not only moves class definition, but also moves all the
forward declarations, functions defined in anonymous namespace and #include
headers to new files, to make sure the new files are compliable as much
as possible.
To move `Foo` from old.[h/cc] to new.[h/cc], use:
```
clang-move -name=Foo -old_header=old.h -old_cc=old.cc -new_header=new.h
-new_cc=new.cc old.cc
```
To move `Foo` from old.h to new.h, use:
```
clang-move -name=Foo -old_header=old.h -new_header=new.h old.cc
```
Reviewers: klimek, djasper, ioeric
Subscribers: mgorny, beanz, Eugene.Zelenko, bkramer, omtcyfz, cfe-commits
Differential Revision: https://reviews.llvm.org/D24243
llvm-svn: 282070
2016-09-21 21:18:19 +08:00
|
|
|
add_subdirectory(clang-move)
|
2013-11-08 08:08:23 +08:00
|
|
|
add_subdirectory(clang-query)
|
2018-10-02 04:24:22 +08:00
|
|
|
add_subdirectory(clang-tidy)
|