Go to file
Alex Lorenz b54ef6a2a4 [refactor] add clang-refactor tool with initial testing support and
local-rename action

This commit introduces the clang-refactor tool alongside the local-rename action
which uses the existing renaming engine used by clang-rename. The tool
doesn't actually perform the source transformations yet, it just provides
testing support. This commit also moves only one test from clang-rename over to
test/Refactor. I will continue to move the other tests throughout
development of clang-refactor.

The following options are supported by clang-refactor:

-v: use verbose output
-selection: The source range that corresponds to the portion of the source
 that's selected (currently only special command test:<file> is supported).

Please note that a follow-up commit will migrate clang-refactor to
libTooling's common option parser, so clang-refactor will be able to use
the common interface with compilation database and options like -p, -extra-arg,
etc.

The testing support provided by clang-refactor is described below:

When -selection=test:<file> is given, clang-refactor will parse the selection
commands from that file. The selection commands are grouped and the specified
refactoring action invoked by the tool. Each command in a group is expected to
produce an identical result. The precise syntax for the selection commands is
described in a comment in TestSupport.h.

Differential Revision: https://reviews.llvm.org/D36574

llvm-svn: 313244
2017-09-14 10:06:52 +00:00
clang [refactor] add clang-refactor tool with initial testing support and 2017-09-14 10:06:52 +00:00
clang-tools-extra [clang-tidy] fixed misc-unused-parameters omitting parameters default value 2017-09-13 14:55:13 +00:00
compiler-rt [sanitizer] Mark allow_user_segv as XFAIL instead of UNSUPPORTED 2017-09-14 08:15:13 +00:00
debuginfo-tests Restrict debuginfo-tests to native configurations. 2017-09-08 17:10:48 +00:00
libclc Add native_recip(x) as ((1)/(x)) 2017-09-13 01:40:25 +00:00
libcxx Use CMAKE_AR instead of the system default 'ar' for merging static libraries 2017-09-13 06:55:44 +00:00
libcxxabi Reland "When built with ASan, __cxa_throw calls __asan_handle_no_return" 2017-09-13 23:35:07 +00:00
libunwind Revert r312240 2017-08-31 15:51:23 +00:00
lld Remove {get,set}Align accessor functions and use Alignment member variable instead. 2017-09-13 21:54:55 +00:00
lldb Commands are -d to break modify, not -C. 2017-09-14 00:27:36 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [XRay][DebugInfo] Update the test to use a specific target 2017-09-14 09:58:25 +00:00
openmp Read blocktime value set by kmp_set_blocktime() before reading from KMP_BLOCKTIME 2017-09-05 15:45:48 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Unroll and separate the remaining parts of isolation 2017-09-11 17:46:47 +00:00