[clang-rename] Add function unit tests.
authorHaojian Wu <hokein@google.com>
Mon, 16 Oct 2017 10:37:42 +0000 (10:37 +0000)
committerHaojian Wu <hokein@google.com>
Mon, 16 Oct 2017 10:37:42 +0000 (10:37 +0000)
commit6f60ff84cd2b27f801df4809099f211ee04399b1
tree6795194b986f704f6bd0b6867d986103c7202f30
parent68b285f69efce9d3669f0bf6c9fe0e89bd265e30
[clang-rename] Add function unit tests.

Summary:
Also contain a fix:

* Fix a false positive of renaming a using shadow function declaration.

Reviewers: ioeric

Reviewed By: ioeric

Subscribers: klimek, mgorny, cfe-commits

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

llvm-svn: 315898
clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
clang/unittests/Rename/CMakeLists.txt
clang/unittests/Rename/RenameClassTest.cpp
clang/unittests/Rename/RenameFunctionTest.cpp [new file with mode: 0644]