clang/test/Import/conflicting-struct
Sean Callanan 848b631d3a [ASTImporter] Improve handling of incomplete types
ASTImporter has some bugs when it's importing types 
that themselves come from an ExternalASTSource. This 
is exposed particularly in the behavior when 
comparing complete TagDecls with forward 
declarations. This patch does several things:

- Adds a test case making sure that conflicting 
  forward-declarations are resolved correctly;
- Extends the clang-import-test harness to test 
  two-level importing, so that we make sure we 
  complete types when necessary; and
- Fixes a few bugs I found this way. Failure to 
  complete types was one; however, I also discovered 
  that complete RecordDecls aren't properly added to 
  the redecls chain for existing forward 
  declarations.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302975 91177308-0d34-0410-b5e6-96231b3b80d8
2017-05-13 00:46:33 +00:00
..
Inputs [ASTImporter] Improve handling of incomplete types 2017-05-13 00:46:33 +00:00
test.cpp [ASTImporter] Improve handling of incomplete types 2017-05-13 00:46:33 +00:00