Files
clang-p2996/lldb/test/Shell/SymbolFile/DWARF/Inputs/ModuleOwnership/A.h
Adrian Prantl 681466f5e6 Allow lldb-test to combine -find with -dump-clang-ast
This patch threads an lldb::DescriptionLevel through the typesystem to
allow dumping the full Clang AST (level=verbose) of any lldb::Type in
addition to the human-readable source description (default
level=full). This type dumping interface is currently not exposed
through the SBAPI.

The application is to let lldb-test dump the clang AST of search
results. I need this to test lazy type completion of clang types in
subsequent patches.

Differential Revision: https://reviews.llvm.org/D78329
2020-04-17 11:01:20 -07:00

31 lines
486 B
Objective-C

#include "B.h" // -*- ObjC -*-
typedef int Typedef;
struct TopLevelStruct {
int a;
};
typedef struct Struct_s {
int a;
} Struct;
struct Nested {
StructB fromb;
};
typedef enum Enum_e { a = 0 } Enum;
@interface SomeClass {
}
@property (readonly) int number;
@end
template <typename T> struct Template { T field; };
extern template struct Template<int>;
namespace Namespace {
template <typename T> struct InNamespace { T field; };
extern template struct InNamespace<int>;
}