llvm-project/clang/tools
Sean Callanan 9092d4795d [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.

llvm-svn: 302975
2017-05-13 00:46:33 +00:00
..
arcmt-test [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
c-arcmt-test Remove autoconf support 2016-01-26 21:30:40 +00:00
c-index-test [libclang] Introduce clang_Cursor_isExternalSymbol that provides info about decls marked with external_source_symbol attribute 2017-05-10 15:10:36 +00:00
clang-check Add -cc1 flag -ast-dump-all to perform an AST dump including entities that haven't yet been deserialized. 2017-03-09 22:00:01 +00:00
clang-format [clang-format] Replace IncompleteFormat by a struct with Line 2017-04-21 14:35:20 +00:00
clang-format-vs clang-format-vs licence.txt: drop svn:executable 2017-04-13 20:09:18 +00:00
clang-fuzzer Unbreak the clang-fuzzer build after r291184. 2017-01-11 16:42:26 +00:00
clang-import-test [ASTImporter] Improve handling of incomplete types 2017-05-13 00:46:33 +00:00
clang-offload-bundler Spelling mistakes in comments. NFCI. (PR27635) 2017-03-30 14:13:19 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
driver Reverted r302775 2017-05-11 08:25:22 +00:00
libclang [libclang] Introduce clang_Cursor_isExternalSymbol that provides info about decls marked with external_source_symbol attribute 2017-05-10 15:10:36 +00:00
scan-build Actually install scan-build / ccc-analyzer / c++-analyzer on windows 2017-03-22 21:13:49 +00:00
scan-build-py [scan-build-py] merge runner module to analyzer 2017-04-07 11:04:49 +00:00
scan-view Add coding and shebang. 2017-03-02 18:47:22 +00:00
CMakeLists.txt Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00