Commit Graph

6 Commits

Author SHA1 Message Date
Douglas Yung 80c7cef832 Fix test added in r329301 to work properly with Windows paths.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329361 91177308-0d34-0410-b5e6-96231b3b80d8
2018-04-05 22:58:14 +00:00
Aleksei Sidorin 2844a309ef [ASTImporter] Fix for importing unnamed structs
Patch by Peter Szecsi!

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



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329301 91177308-0d34-0410-b5e6-96231b3b80d8
2018-04-05 15:31:49 +00:00
Gabor Horvath 955c08491c Revert r299355 "[ASTImporter] Fix for importing unnamed structs"
It breaks windows bots. 


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299386 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-03 21:06:45 +00:00
Gabor Horvath 1542986d54 [ASTImporter] Fix for importing unnamed structs
Patch by Peter Szecsi!

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


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299355 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-03 11:57:11 +00:00
Gabor Horvath 420357ab68 [ASTImporter] Lookup SearchName instead of Name
When the SearchName is already calculated we should use that for the lookup.

Patch by Peter Szecsi!

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


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299354 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-03 09:30:20 +00:00
Sean Callanan 52fefd89fd 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
2016-11-16 18:21:00 +00:00