summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-move/move-class.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Re-enable a clang-move test on windows.Eric Liu2018-05-181-4/+0
| | | | | | This was fixed by r332612. llvm-svn: 332701
* Disable a failing clang-move test on windows.Eric Liu2018-05-171-0/+4
| | | | | | | | | | | This was broken by r332590 but is likely caused by a bug in clang-move. http://lab.llvm.org:8011/builders/clang-x86-windows-msvc2015/builds/12007 I don't have a windows machine to effectively debug the issue, so I'll investigate further but for now disable the failing test on windows to unbreak build bots. llvm-svn: 332620
* [clang-move] Move all code from old.h/cc directly when moving all class ↵Haojian Wu2016-11-081-9/+8
| | | | | | | | | | | | | | declarations from old.h. Summary: When moving all code to new.h/cc, these code also will be formatted based on the given code style. Reviewers: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26236 llvm-svn: 286281
* [clang-move] Add header guard for the new header.Haojian Wu2016-10-141-0/+4
| | | | | | | | | | | | | | | | | | Summary: The header guard generated by clang-move isn't always a perfect style, just avoid getting the header included multiple times during compiling period. Also, we can use llvm-Header-guard clang-tidy check to correct the guard automatically. Reviewers: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25610 llvm-svn: 284233
* [clang-move] Matching static class member more correctly.Haojian Wu2016-10-141-0/+2
| | | | | | | | | | Reviewers: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25598 llvm-svn: 284221
* Recommit r283538 "[clang-move] Support moving multiple classes in one run."Haojian Wu2016-10-131-2/+2
| | | | llvm-svn: 284109
* [clang-move] Compare with real paths of symlinksHaojian Wu2016-10-121-11/+15
| | | | | | | | | | | | Summary: MakeAbsolutePath does wrong things with symlinks previously. When comparing with a symlink, we need to compare with the real path of it. This fixes issues when the build directory is a symlink. Reviewers: ioeric Subscribers: beanz, mgorny, cfe-commits, bkramer Differential Revision: https://reviews.llvm.org/D25508 llvm-svn: 284020
* Revert "[clang-move] Support moving multiple classes in one run."Renato Golin2016-10-071-3/+4
| | | | | | | | | | | This reverts commit r283526 et al as it keeps randomly breaking bots, even after the commit has gone, on other people's commit ranges. Revert "[clang-move] Simplify lint tests" (r283545). Revert "Fix buildbot error." (r283534). Revert "Revert "fix buildbot error" since it is not right fix." (r283538). llvm-svn: 283553
* [clang-move] Simplify lint testsHaojian Wu2016-10-071-4/+3
| | | | | | No need to use compilation database. llvm-svn: 283545
* Revert "fix buildbot error" since it is not right fix.Haojian Wu2016-10-071-1/+0
| | | | llvm-svn: 283538
* Fix buildbot error.Haojian Wu2016-10-071-0/+1
| | | | | | | The error maybe caused by the mixed environment of the two lint tests. Cleanup the environment before running each test. llvm-svn: 283534
* [clang-move] Support moving multiple classes in one run.Haojian Wu2016-10-071-2/+2
| | | | | | | | | | Reviewers: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25309 llvm-svn: 283526
* [clang-move] Cleanup around replacements.Haojian Wu2016-10-061-7/+2
| | | | | | | | | | | | | | Summary: cleanup the remaining empty namespace after moving out the class defintitions. Reviewers: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25282 llvm-svn: 283424
* [clang-move] Make it support both relative and absolute file path arguments.Haojian Wu2016-10-041-0/+39
Reviewers: ioeric Subscribers: beanz, mgorny, cfe-commits Differential Revision: https://reviews.llvm.org/D24922 llvm-svn: 283202
OpenPOWER on IntegriCloud