llvm-project/clang-tools-extra/test/clang-rename
Alexander Shaposhnikov e4920c6fb9 [clang-rename] Fix handling of unchanged files
Fix the output of clang-rename for the files without modifications.
Update the code in clang-reorder-fields/tool/ClangReorderFields.cpp 
to avoid inconsistency.

Example:
a.h:
struct A {};
a.cpp:
#include "a.h"
int main() { return 0; }

Before the changes the output looks like this:
clang-rename -qualified-name=A -new-name=B a.cpp
<<<<<INVALID SOURCE LOCATION>>>>>

Test plan: make -j8 check-clang-tools

Differential revision: https://reviews.llvm.org/D24634

llvm-svn: 281826
2016-09-17 17:08:47 +00:00
..
Inputs [clang-rename] Fix handling of unchanged files 2016-09-17 17:08:47 +00:00
ClassAsTemplateArgument.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
ClassFindByName.cpp [clang-rename] Merge rename-{at|all} & optimise. 2016-09-16 08:45:19 +00:00
ClassReplacements.cpp [clang-rename] fix testset 2016-07-15 12:22:38 +00:00
ClassSimpleRenaming.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
ClassTestMulti.cpp [clang-rename] Merge rename-{at|all} & optimise. 2016-09-16 08:45:19 +00:00
ClassTestMultiByName.cpp [clang-rename] Merge rename-{at|all} & optimise. 2016-09-16 08:45:19 +00:00
ComplexFunctionOverride.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
ComplicatedClassType.cpp [clang-rename] fix test introduced in r278221 2016-08-10 13:46:36 +00:00
Ctor.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
CtorInitializer.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
DeclRefExpr.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
Field.cpp [clang-rename] fix bug with initializer lists 2016-08-09 07:14:48 +00:00
FunctionMacro.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
FunctionOverride.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
FunctionWithClassFindByName.cpp [clang-rename] Merge rename-{at|all} & optimise. 2016-09-16 08:45:19 +00:00
IncludeHeaderWithSymbol.cpp [clang-rename] Fix handling of unchanged files 2016-09-17 17:08:47 +00:00
InvalidNewName.cpp [Clang-rename] Remove custom version, fix extra space in error message. 2016-07-25 20:30:13 +00:00
MemberExprMacro.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
Namespace.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
NoNewName.cpp [clang-rename] Merge rename-{at|all} & optimise. 2016-09-16 08:45:19 +00:00
TemplateClassInstantiation.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
TemplateTypename.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
TemplatedClassFunction.cpp [clang-rename] add failing test 2016-09-04 22:28:39 +00:00
UserDefinedConversion.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
Variable.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
VariableMacro.cpp [clang-rename] merge tests when possible 2016-08-10 13:28:30 +00:00
YAMLInput.cpp [clang-rename] Merge rename-{at|all} & optimise. 2016-09-16 08:45:19 +00:00