NAKAMURA Takumi
9f99a7a417
[CMake] Prune redundant libdeps.
...
llvm-svn: 220893
2014-10-30 01:37:44 +00:00
NAKAMURA Takumi
dc872ed908
[CMake] Add dependencies on clangToolingCore.
...
llvm-svn: 220890
2014-10-30 00:44:01 +00:00
Manuel Klimek
3f840a934e
Re-structure clang-rename into a library and the tool.
...
This allows the unit tests to link the library.
Patch by Xin Huang.
llvm-svn: 219609
2014-10-13 11:30:27 +00:00
Manuel Klimek
de23726dbd
Revert rL215947: "[clang-rename] revert r215839"
...
Make tests not depend on grep supporting -bo.
llvm-svn: 216041
2014-08-20 01:39:05 +00:00
Gerolf Hoflehner
62bf7e83cb
[clang-rename] revert r215839
...
The commit broke public build bots for more than 24 hours.
(view as text)
******************** TEST 'Clang Tools :: clang-rename/VarTest.cpp' FAILED ********************
Script:
--
cat /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin11-nobootstrap-RAincremental/clang.src/tools/extra/test/clang-rename/VarTest.cpp > /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin11-nobootstrap-RAincremental/clang-build/tools/clang/tools/extra/test/clang-rename/Output/VarTest.cpp.tmp.cpp
clang-rename -offset=$(grep -FUbo 'foo;' /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin11-nobootstrap-RAincremental/clang-build/tools/clang/tools/extra/test/clang-rename/Output/VarTest.cpp.tmp.cpp | head -1 | cut -d: -f1) -new-name=hector /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin11-nobootstrap-RAincremental/clang-build/tools/clang/tools/extra/test/clang-rename/Output/VarTest.cpp.tmp.cpp -i --
sed 's,//.*,,' /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin11-nobootstrap-RAincremental/clang-build/tools/clang/tools/extra/test/clang-rename/Output/VarTest.cpp.tmp.cpp | FileCheck /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin11-nobootstrap-RAincremental/clang.src/tools/extra/test/clang-rename/VarTest.cpp
--
Exit Code: 1
Command Output (stderr):
--
clang-rename: could not find symbol at /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.clang-x86_64-darwin11-nobootstrap-RAincremental/clang-build/tools/clang/tools/extra/test/clang-rename/Output/VarTest.cpp.tmp.cpp:2:1 (offset 14).
llvm-svn: 215947
2014-08-18 23:03:30 +00:00
NAKAMURA Takumi
8fad914691
[CMake] clang-rename: Optimize libdeps.
...
llvm-svn: 215935
2014-08-18 20:49:18 +00:00
NAKAMURA Takumi
d5a96a794e
Add trailing linefeed.
...
llvm-svn: 215934
2014-08-18 20:49:09 +00:00
Manuel Klimek
ccf0d79724
First version of a clang-rename tool.
...
Summary:
Note that this code is still grossly under-tested - the next steps will
be to add significantly better test coverage.
Patch by Matthew Plant.
Test Plan:
Reviewers:
Subscribers:
llvm-svn: 215839
2014-08-17 18:00:59 +00:00