mirror of https://github.com/microsoft/clang.git
Fixed layout of test/ASTMerge.
As outlined in a previous RFC, the test/ASTMerge/Inputs folder is getting full and the tests are starting to become interdependent. This is undesirable because - it makes it harder to write new tests - it makes it harder to figure out at a glance what old tests are doing, and - it adds the risk of breaking one test while changing a different one, because of the interdependencies. To fix this, according to the conversation in the RFC, I have changed the layout from a.c Inputs/a1.c Inputs/a2.c to a/test.c a/Inputs/a1.c a/Inputs/a2.c for all existing tests. I have also eliminated interdependencies by replicating the input files for each test that uses them. https://reviews.llvm.org/D26571 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75468b182e
commit
52fefd89fd
|
@ -0,0 +1,10 @@
|
|||
// Matching
|
||||
enum E0 {
|
||||
E0_Val0 = 'a',
|
||||
E0_Val1 = (17),
|
||||
E0_Val2 = (1 << 2),
|
||||
E0_Val3 = E0_Val2,
|
||||
E0_Val4 = sizeof(int*),
|
||||
E0_Val5 = (unsigned int)-1
|
||||
};
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
// Matching
|
||||
enum E0 {
|
||||
E0_Val0 = 'a',
|
||||
E0_Val1 = (17),
|
||||
E0_Val2 = (1 << 2),
|
||||
E0_Val3 = E0_Val2,
|
||||
E0_Val4 = sizeof(int*),
|
||||
E0_Val5 = (unsigned int)-1
|
||||
};
|
||||
|
Loading…
Reference in New Issue