llvm-project/clang/test/Import
Sean Callanan b7160ca466 [clang-import-test] Lookup inside contexts
clang-import-test has until now been only able to report top-level Decls.
This is clearly insufficient; we should be able to look inside structs 
and namespaces also.  This patch adds new test cases for a variety of 
lookups inside existing ASTContexts, and adds the functionality necessar
to make most of these testcases work.  (One testcase is known to fail 
because of ASTImporter limitations when importing templates; I'll look 
into that separately.)

This patch also separates the core functionality out into 
ExternalASTMerger, an interface that allows clients like LLDB to make 
use of it.  clang-import-test now only has the machinery necessary to
set up the tests.

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

llvm-svn: 299976
2017-04-11 19:33:35 +00:00
..
clang-flags Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
empty-struct Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
error-in-expression Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
error-in-import Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
forward-declared-struct [clang-import-test] Lookup inside contexts 2017-04-11 19:33:35 +00:00
member-in-struct [clang-import-test] Lookup inside contexts 2017-04-11 19:33:35 +00:00
missing-import Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
multiple-forward-declarations [clang-import-test] Lookup inside contexts 2017-04-11 19:33:35 +00:00
overloaded-function [clang-import-test] Lookup inside contexts 2017-04-11 19:33:35 +00:00
struct-in-namespace [clang-import-test] Lookup inside contexts 2017-04-11 19:33:35 +00:00
template-specialization [clang-import-test] Lookup inside contexts 2017-04-11 19:33:35 +00:00