reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

tools/lldb/include/lldb/Symbol/ClangASTContext.h
 1017 class ClangASTContextForExpressions : public ClangASTContext {

Declarations

tools/lldb/include/lldb/lldb-forward.h
   48 class ClangASTContext;
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.h
   26 class ClangASTContext;

References

include/llvm/Support/Casting.h
   58     return To::classof(&Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  309   return cast<X>(Val);
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
tools/lldb/include/lldb/Symbol/ClangASTContext.h
   85   static ClangASTContext *GetASTContext(clang::ASTContext *ast_ctx);
  120     return ClangASTContext::GetCompleteDecl(getASTContext(), decl);
  173     return ClangASTContext::GetUnknownAnyType(getASTContext());
  371     return ClangASTContext::CreateFunctionType(
  378     return ClangASTContext::CreateFunctionType(
  386     return ClangASTContext::CreateFunctionType(getASTContext(), result_type,
  939       const ClangASTContext::TemplateParameterInfos &template_param_infos);
 1010   ClangASTContext(const ClangASTContext &);
 1011   const ClangASTContext &operator=(const ClangASTContext &);
 1011   const ClangASTContext &operator=(const ClangASTContext &);
 1017 class ClangASTContextForExpressions : public ClangASTContext {
tools/lldb/include/lldb/Symbol/ClangASTImporter.h
  109   CompilerType CopyType(ClangASTContext &dst, const CompilerType &src_type);
tools/lldb/include/lldb/Target/Target.h
 1070   ClangASTContext *GetScratchClangASTContext(bool create_on_demand = true);
tools/lldb/include/lldb/lldb-forward.h
  308 typedef std::unique_ptr<lldb_private::ClangASTContext> ClangASTContextUP;
tools/lldb/source/API/SystemInitializerFull.cpp
  209   ClangASTContext::Initialize();
  307   ClangASTContext::Terminate();
tools/lldb/source/Core/ValueObject.cpp
 2028         ClangASTContext::GetCXXClassName(compiler_type, cxx_class_name);
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp
  809     ClangASTContext *ast =
  810         llvm::dyn_cast<ClangASTContext>(m_type.GetTypeSystem());
  812       clang::RecordDecl *record_decl = ClangASTContext::GetAsRecordDecl(m_type);
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
 1075           ClangASTContext *clang_ast_context =
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
  225     ClangASTContext *clang_ast_context =
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
  344     ClangASTContext *clang_ast_context =
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
   83       } else if (auto *module_ast_ctx = llvm::cast_or_null<ClangASTContext>(
   83       } else if (auto *module_ast_ctx = llvm::cast_or_null<ClangASTContext>(
  147   ClangASTContext *scratch_clang_ast_context =
  400         if (!ClangASTContext::DeclsAreEquivalent(tag_decl, candidate_tag_decl))
  791   return ClangASTContext::GetASTContext(m_ast_context)->getSema();
 1104   ClangASTContext::GetCompleteDecl(original_ctx, original_interface_decl);
 1323           ClangASTContext::DeclContextGetAsObjCMethodDecl(function_decl_ctx);
 1764   ClangASTContext::GetCompleteDecl(
 1960       ClangASTContext::DeclContextGetClangASTContext(namespace_decl);
 1964       ClangASTContext::DeclContextGetAsNamespaceDecl(namespace_decl);
 2052   ClangASTContext *src_ast =
 2053       llvm::dyn_cast_or_null<ClangASTContext>(src_type.GetTypeSystem());
 2084   return CompilerType(ClangASTContext::GetASTContext(m_ast_context),
 2094   ClangASTContext *lldb_ast =
 2095       llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 2121   ClangASTContext *lldb_ast =
 2122       llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 2192       ClangASTContext::IsOperator(decl_name.getAsString().c_str(), op_kind)) {
 2193     if (!ClangASTContext::CheckOverloadedOperatorKindParameterCount(
 2213       CompilerType(ClangASTContext::GetASTContext(m_ast_source.m_ast_context),
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp
   26         ClangASTContext::GetASTContext(&named_decl->getASTContext()),
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  208 TypeFromUser ClangExpressionDeclMap::DeportType(ClangASTContext &target,
  209                                                 ClangASTContext &source,
  245   ClangASTContext *ast =
  246       llvm::dyn_cast_or_null<ClangASTContext>(parser_type.GetTypeSystem());
  294   ClangASTContext *context(target->GetScratchClangASTContext());
  654         if (ClangASTContext::AreTypesSame(
  666 ClangASTContext *ClangExpressionDeclMap::GetClangASTContext() {
  680   return llvm::dyn_cast_or_null<ClangASTContext>(
  810       ClangASTContext *scratch_clang_ast_context =
  887           ClangASTContext::DeclContextGetAsCXXMethodDecl(function_decl_ctx);
  896             ClangASTContext::GetASTContext(&class_decl->getASTContext()));
  914               ClangASTContext::GetASTContext(&method_decl->getASTContext()));
  997           ClangASTContext::DeclContextGetAsObjCMethodDecl(function_decl_ctx);
 1013             ClangASTContext::GetASTContext(&method_decl->getASTContext()));
 1032               ClangASTContext::GetASTContext(&method_decl->getASTContext()));
 1041               ClangASTContext::GetASTContext(&method_decl->getASTContext()));
 1067           if (ClangASTContext::IsObjCClassType(self_clang_type)) {
 1069           } else if (ClangASTContext::IsObjCObjectPointerType(
 1104         ClangASTContext *ast = llvm::dyn_cast_or_null<ClangASTContext>(
 1104         ClangASTContext *ast = llvm::dyn_cast_or_null<ClangASTContext>(
 1109               ClangASTContext::GetUniqueNamespaceDeclaration(
 1260         ClangASTContext *ast = llvm::dyn_cast_or_null<ClangASTContext>(
 1260         ClangASTContext *ast = llvm::dyn_cast_or_null<ClangASTContext>(
 1537   ClangASTContext *clang_ast = llvm::dyn_cast_or_null<ClangASTContext>(
 1537   ClangASTContext *clang_ast = llvm::dyn_cast_or_null<ClangASTContext>(
 1729       ClangASTContext::GetBasicType(scratch_ast_context, eBasicTypeVoid)
 1733       ClangASTContext::GetBasicType(m_ast_context, eBasicTypeVoid)
 1806           ClangASTContext::GetASTContext(&var_decl->getASTContext()));
 1852       ClangASTContext::GetBuiltinTypeForEncodingAndBitSize(
 1916       if (llvm::isa<ClangASTContext>(type_system)) {
 2100         ClangASTContext::GetBasicType(m_ast_context, eBasicTypeVoid);
 2103     CompilerType method_type = ClangASTContext::CreateFunctionType(
 2114         ClangASTContext::GetASTContext(m_ast_context)
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
  556   TypeFromUser DeportType(ClangASTContext &target, ClangASTContext &source,
  556   TypeFromUser DeportType(ClangASTContext &target, ClangASTContext &source,
  559   ClangASTContext *GetClangASTContext();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  607   m_ast_context.reset(new ClangASTContext(ast_context));
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
  183   std::unique_ptr<ClangASTContext> m_ast_context;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  116   std::unique_ptr<ClangASTContext> m_ast_context;
  166   m_ast_context.reset(new ClangASTContext(m_compiler_instance->getASTContext()));
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
   74         ClangASTContext::GetASTContext(&tdecl->getASTContext()),
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
  154           ClangASTContext::DeclContextGetAsCXXMethodDecl(decl_context)) {
  183                  ClangASTContext::DeclContextGetAsObjCMethodDecl(
  216                  ClangASTContext::DeclContextGetAsFunctionDecl(decl_context)) {
  224         ClangASTContext::DeclContextGetMetaData(decl_context, function_decl);
  292           if (ClangASTContext::IsObjCClassType(self_clang_type)) {
  294           } else if (ClangASTContext::IsObjCObjectPointerType(
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  287           lldb_private::ClangASTContext::GetASTContext(
  295           lldb_private::ClangASTContext::GetASTContext(
  309         lldb_private::ClangASTContext::GetASTContext(
 1096       lldb_private::ClangASTContext::GetASTContext(&decl->getASTContext()));
 1227         lldb_private::ClangASTContext::GetASTContext(
tools/lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
   52     ClangASTContext *clang_ast_context =
   53         llvm::dyn_cast<ClangASTContext>(&type_system_or_err.get());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
  244         ClangASTContext *ast_ctx =
  245             llvm::dyn_cast_or_null<ClangASTContext>(pair_type.GetTypeSystem());
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
  299     ClangASTContext *ast_ctx =
  300         llvm::dyn_cast_or_null<ClangASTContext>(node_type.GetTypeSystem());
tools/lldb/source/Plugins/Language/ObjC/NSArray.cpp
  464     auto *clang_ast_context = valobj_sp->GetExecutionContextRef()
  613       auto *clang_ast_context = valobj_sp->GetExecutionContextRef()
tools/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
   68   ClangASTContext *target_ast_context = target_sp->GetScratchClangASTContext();
   83         ClangASTContext::StartTagDeclarationDefinition(compiler_type);
   86         ClangASTContext::AddFieldToRecordType(
   88         ClangASTContext::AddFieldToRecordType(
   90         ClangASTContext::CompleteTagDeclarationDefinition(compiler_type);
tools/lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
   56     ClangASTContext *ast = m_backend.GetExecutionContextRef()
tools/lldb/source/Plugins/Language/ObjC/NSString.cpp
   38   ClangASTContext *ast_ctx = target.GetScratchClangASTContext();
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
  121                 if (ClangASTContext::IsCXXClassType(
  153                   if (ClangASTContext::IsCXXClassType(
  241   if (ClangASTContext::AreTypesSame(in_value.GetCompilerType(), type)) {
  539   ClangASTContext *clang_ast_context =
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.h
   42   ClangASTContext m_ast_ctx;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
  108     if (!ClangASTContext::IsObjCObjectPointerType(compiler_type)) {
  114     ClangASTContext *ast_context = target->GetScratchClangASTContext();
  126   ClangASTContext *ast_context = target->GetScratchClangASTContext();
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
 1304   ClangASTContext *ast = process->GetTarget().GetScratchClangASTContext();
 1566   ClangASTContext *ast = process->GetTarget().GetScratchClangASTContext();
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
  524     ClangASTContext *clang_ast_context =
  804       ClangASTContext *clang_ast_context =
  898     ClangASTContext *clang_ast_context = target_sp->GetScratchClangASTContext();
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
   26     m_scratch_ast_ctx_up.reset(new ClangASTContext(runtime.GetProcess()
  127   ClangASTContext *lldb_ctx = ClangASTContext::GetASTContext(&ast_ctx);
  127   ClangASTContext *lldb_ctx = ClangASTContext::GetASTContext(&ast_ctx);
  133     ClangASTContext::StartTagDeclarationDefinition(union_type);
  142       ClangASTContext::AddFieldToRecordType(
  144           CompilerType(ClangASTContext::GetASTContext(&ast_ctx),
  149     ClangASTContext::CompleteTagDeclarationDefinition(union_type);
  162   ClangASTContext *lldb_ctx = ClangASTContext::GetASTContext(&ast_ctx);
  162   ClangASTContext *lldb_ctx = ClangASTContext::GetASTContext(&ast_ctx);
  166       CompilerType(ClangASTContext::GetASTContext(&ast_ctx),
  370     return CompilerType(ClangASTContext::GetASTContext(&ast_ctx),
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
  130       if (ClangASTContext::IsObjCObjectOrInterfaceType(
  317     ClangASTContext &ast_ctx, const char *name, bool for_expression) {
  406   if (ClangASTContext::IsObjCObjectPointerType(base_type, &class_type))
  408   else if (ClangASTContext::IsObjCObjectOrInterfaceType(base_type))
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
  147     virtual CompilerType RealizeType(ClangASTContext &ast_ctx, const char *name,
  155     std::unique_ptr<ClangASTContext> m_scratch_ast_ctx_up;
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  709   ClangASTContext *ast = process->GetTarget().GetScratchClangASTContext();
  951   ClangASTContext *ast = process->GetTarget().GetScratchClangASTContext();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
   58 DWARFASTParserClang::DWARFASTParserClang(ClangASTContext &ast)
  196   clang::TagDecl *tag_decl = ClangASTContext::GetAsTagDecl(type);
  217   CompilerType type = ClangASTContext::GetTypeForDecl(tag_decl_ctx);
  229     if (ClangASTContext::StartTagDeclarationDefinition(type))
  230       ClangASTContext::CompleteTagDeclarationDefinition(type);
  720     LinkDeclContextToDIE(ClangASTContext::GetDeclContextForType(clang_type),
  728     if (ClangASTContext::StartTagDeclarationDefinition(clang_type)) {
  735       ClangASTContext::CompleteTagDeclarationDefinition(clang_type);
  839               if (ClangASTContext::IsObjCObjectOrInterfaceType(
  858                   ClangASTContext::GetAsDeclContext(objc_method_decl), die);
  946               if (ClangASTContext::IsCXXClassType(class_opaque_type)) {
  974                                   ClangASTContext::GetAsDeclContext(
 1019                             ClangASTContext::GetAsDeclContext(cxx_method_decl),
 1105             ClangASTContext::TemplateParameterInfos template_param_infos;
 1174       if (ClangASTContext::IsCXXClassType(array_element_type) &&
 1202         if (ClangASTContext::StartTagDeclarationDefinition(
 1204           ClangASTContext::CompleteTagDeclarationDefinition(array_element_type);
 1250     clang_type = ClangASTContext::CreateMemberPointerType(class_clang_type,
 1517       ClangASTContext::TemplateParameterInfos template_param_infos;
 1611       if (ClangASTContext::StartTagDeclarationDefinition(clang_type)) {
 1612         ClangASTContext::CompleteTagDeclarationDefinition(clang_type);
 1624             ClangASTContext::GetAsRecordDecl(clang_type);
 1642         ClangASTContext::StartTagDeclarationDefinition(clang_type);
 1732     return ClangASTContext::AddObjCClassProperty(
 1751     ClangASTContext::TemplateParameterInfos &template_param_infos) {
 1758       new ClangASTContext::TemplateParameterInfos);
 1860     ClangASTContext::TemplateParameterInfos &template_param_infos) {
 1953         if (ClangASTContext::IsObjCObjectOrInterfaceType(clang_type)) {
 1957           ClangASTContext::StartTagDeclarationDefinition(clang_type);
 2067                 if (ClangASTContext::StartTagDeclarationDefinition(
 2069                   ClangASTContext::CompleteTagDeclarationDefinition(
 2083     ClangASTContext::BuildIndirectFields(clang_type);
 2084     ClangASTContext::CompleteTagDeclarationDefinition(clang_type);
 2169     if (ClangASTContext::StartTagDeclarationDefinition(clang_type)) {
 2176       ClangASTContext::CompleteTagDeclarationDefinition(clang_type);
 2472   ClangASTContext *ast =
 2473       llvm::dyn_cast_or_null<ClangASTContext>(class_clang_type.GetTypeSystem());
 2651             ClangASTContext::AddVariableToRecordType(
 2797                         ClangASTContext::AddFieldToRecordType(
 2855               if (ClangASTContext::IsCXXClassType(member_clang_type) &&
 2878                 if (ClangASTContext::StartTagDeclarationDefinition(
 2880                   ClangASTContext::CompleteTagDeclarationDefinition(
 2894               field_decl = ClangASTContext::AddFieldToRecordType(
 3354           ClangASTContext::DeclContextGetAsDeclContext(
 3369             ClangASTContext::DeclContextGetAsDeclContext(
 3388             ClangASTContext::DeclContextGetAsDeclContext(
 3391                 ClangASTContext::DeclContextGetAsNamespaceDecl(
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
   39   DWARFASTParserClang(lldb_private::ClangASTContext &ast);
   85   lldb_private::ClangASTContext &m_ast;
  100                         lldb_private::ClangASTContext::TemplateParameterInfos
  104       lldb_private::ClangASTContext::TemplateParameterInfos
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
 1394   ClangASTContext *clang_type_system =
 1395       llvm::dyn_cast_or_null<ClangASTContext>(type_system);
 1406   ClangASTContext *clang_type_system =
 1407       llvm::dyn_cast_or_null<ClangASTContext>(compiler_type.GetTypeSystem());
 3814   ClangASTContext *clang =
 3815       llvm::dyn_cast_or_null<ClangASTContext>(&ts_or_err.get());
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
  205 PdbAstBuilder::PdbAstBuilder(ObjectFile &obj, PdbIndex &index, ClangASTContext &clang)
  659   ClangASTContext::SetHasExternalStorage(tag_qt.getAsOpaquePtr(), false);
  787   ClangASTContext::StartTagDeclarationDefinition(ct);
  795   ClangASTContext::SetHasExternalStorage(result.getAsOpaquePtr(), true);
 1111   ClangASTContext::StartTagDeclarationDefinition(enum_ct);
 1112   ClangASTContext::SetHasExternalStorage(enum_ct.GetOpaqueQualType(), true);
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.h
   54   PdbAstBuilder(ObjectFile &obj, PdbIndex &index, ClangASTContext &clang);
   83   ClangASTContext &clang() { return m_clang; }
  132   ClangASTContext &m_clang;
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  333     auto *clang = llvm::cast_or_null<ClangASTContext>(&ts_or_err.get());
  333     auto *clang = llvm::cast_or_null<ClangASTContext>(&ts_or_err.get());
tools/lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
  131   ClangASTContext::AddVariableToRecordType(
  167   clang::FieldDecl *decl = ClangASTContext::AddFieldToRecordType(
  226   ClangASTContext &clang = m_ast_builder.clang();
  230   ClangASTContext::BuildIndirectFields(m_derived_ct);
  231   ClangASTContext::CompleteTagDeclarationDefinition(m_derived_ct);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  103 GetBuiltinTypeForPDBEncodingAndBitSize(ClangASTContext &clang_ast,
  123       return CompilerType(ClangASTContext::GetASTContext(ast),
  126       return CompilerType(ClangASTContext::GetASTContext(ast),
  131       return CompilerType(ClangASTContext::GetASTContext(ast),
  134       return CompilerType(ClangASTContext::GetASTContext(ast),
  139       return CompilerType(ClangASTContext::GetASTContext(ast),
  143     return CompilerType(ClangASTContext::GetASTContext(ast),
  146     return CompilerType(ClangASTContext::GetASTContext(ast),
  365 PDBASTParser::PDBASTParser(lldb_private::ClangASTContext &ast) : m_ast(ast) {}
  434       ClangASTContext::StartTagDeclarationDefinition(clang_type);
  440         ClangASTContext::CompleteTagDeclarationDefinition(clang_type);
  442         ClangASTContext::SetHasExternalStorage(clang_type.GetOpaqueQualType(),
  451         ClangASTContext::SetHasExternalStorage(clang_type.GetOpaqueQualType(),
  511       auto enum_decl = ClangASTContext::GetAsEnumDecl(ast_enum);
  524       if (ClangASTContext::StartTagDeclarationDefinition(ast_enum))
  525         ClangASTContext::CompleteTagDeclarationDefinition(ast_enum);
  565       auto typedef_decl = ClangASTContext::GetAsTypedefDecl(ast_typedef);
  672     if (ClangASTContext::IsCXXClassType(element_ast_type) &&
  674       if (ClangASTContext::StartTagDeclarationDefinition(element_ast_type)) {
  675         ClangASTContext::CompleteTagDeclarationDefinition(element_ast_type);
  733       pointer_ast_type = ClangASTContext::CreateMemberPointerType(
  799   ClangASTContext::SetHasExternalStorage(compiler_type.GetOpaqueQualType(),
 1202   ClangASTContext::BuildIndirectFields(compiler_type);
 1203   ClangASTContext::CompleteTagDeclarationDefinition(compiler_type);
 1237       if (ClangASTContext::StartTagDeclarationDefinition(member_comp_type))
 1238         ClangASTContext::CompleteTagDeclarationDefinition(member_comp_type);
 1251       auto decl = ClangASTContext::AddFieldToRecordType(
 1267       auto decl = ClangASTContext::AddVariableToRecordType(
 1301       if (ClangASTContext::StartTagDeclarationDefinition(base_comp_type))
 1302         ClangASTContext::CompleteTagDeclarationDefinition(base_comp_type);
 1358     if (ClangASTContext::StartTagDeclarationDefinition(method_comp_type))
 1359       ClangASTContext::CompleteTagDeclarationDefinition(method_comp_type);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.h
   45   PDBASTParser(lldb_private::ClangASTContext &ast);
  106   lldb_private::ClangASTContext &m_ast;
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  311   ClangASTContext *clang_type_system =
  312     llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  565   ClangASTContext *clang_type_system =
  566       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  602   ClangASTContext *clang_ast_ctx =
  603       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  624   ClangASTContext *clang_ast_ctx =
  625       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  654   ClangASTContext *clang_ast_ctx =
  655       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  684   ClangASTContext *clang_ast_ctx =
  685       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  713   ClangASTContext *clang_ast_ctx =
  714       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
 1454   auto *clang_type_system =
 1455       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
 1666   auto *clang_type_system =
 1667       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
 1688   auto *clang_type_system =
 1689       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
  232   ClangASTContext *clang_ast_context = target_sp->GetScratchClangASTContext();
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp
  179       ClangASTContext *clang_ast_context =
  231   ClangASTContext *clang_ast_context = target_sp->GetScratchClangASTContext();
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp
  193     ClangASTContext *clang_ast_context =
  234   ClangASTContext *clang_ast_context = target_sp->GetScratchClangASTContext();
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
  188       ClangASTContext *clang_ast_context =
  240   ClangASTContext *clang_ast_context = target_sp->GetScratchClangASTContext();
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
  414     ClangASTContext *ast_ctx =
  424       ClangASTContext::StartTagDeclarationDefinition(dispatch_tsd_indexes_s);
  425       ClangASTContext::AddFieldToRecordType(dispatch_tsd_indexes_s,
  428       ClangASTContext::AddFieldToRecordType(dispatch_tsd_indexes_s,
  431       ClangASTContext::AddFieldToRecordType(dispatch_tsd_indexes_s,
  434       ClangASTContext::AddFieldToRecordType(dispatch_tsd_indexes_s,
  437       ClangASTContext::CompleteTagDeclarationDefinition(dispatch_tsd_indexes_s);
tools/lldb/source/Symbol/ClangASTContext.cpp
  328 typedef lldb_private::ThreadSafeDenseMap<clang::ASTContext *, ClangASTContext *>
  558   return ClangASTContext::GetPluginNameStatic();
  590         std::shared_ptr<ClangASTContext> ast_sp(
  591             new ClangASTContext(fixed_arch));
  717           ClangASTContext::CompleteTagDecl,
  718           ClangASTContext::CompleteObjCInterfaceDecl, nullptr,
  719           ClangASTContext::LayoutRecordType, this));
  723 ClangASTContext *ClangASTContext::GetASTContext(clang::ASTContext *ast) {
  724   ClangASTContext *clang_ast = GetASTMap().Lookup(ast);
  847   return ClangASTContext::GetBuiltinTypeForEncodingAndBitSize(
  853   auto *clang_ast_context = ClangASTContext::GetASTContext(ast);
  853   auto *clang_ast_context = ClangASTContext::GetASTContext(ast);
  993     lldb::BasicType basic_type = ClangASTContext::GetBasicTypeEnumeration(name);
  994     return ClangASTContext::GetBasicType(ast, basic_type);
 1250     return CompilerType(ClangASTContext::GetASTContext(ast),
 1288   ClangASTContext *ast =
 1289       llvm::dyn_cast_or_null<ClangASTContext>(type1.GetTypeSystem());
 1332     return CompilerType(ClangASTContext::GetASTContext(ast),
 1343     return CompilerType(ClangASTContext::GetASTContext(ast),
 1430     const ClangASTContext::TemplateParameterInfos &template_param_infos,
 1594   ClangASTContext::TemplateParameterInfos template_param_infos;
 1776   return !ClangASTContext::RecordHasFields(b->getType()->getAsCXXRecordDecl());
 1867   ClangASTContext *ast_ctx = ClangASTContext::GetASTContext(ast);
 1867   ClangASTContext *ast_ctx = ClangASTContext::GetASTContext(ast);
 2046   if (!ClangASTContext::CheckOverloadedOperatorKindParameterCount(
 2118   return CompilerType(ClangASTContext::GetASTContext(ast),
 2264     auto *clang_ast_context = ClangASTContext::GetASTContext(ast);
 2264     auto *clang_ast_context = ClangASTContext::GetASTContext(ast);
 2953   clang::DeclContext *decl_ctx = ClangASTContext::GetASTContext(getASTContext())
 2965       ClangASTContext::GetMetadata(getASTContext(), result_iface_decl);
 3777               ClangASTMetadata *metadata = ClangASTContext::GetMetadata(
 3843       ClangASTContext::GetAsRecordDecl(type)) {
 4771     ClangASTContext *ast =
 4772         llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 4779         ClangASTContext::DeclContextGetAsDeclContext(compiler_decl_ctx);
 4888         ClangASTContext::DeclContextGetAsDeclContext(compiler_decl_ctx);
 4934   return ClangASTContext::GetBasicType(getASTContext(), basic_type);
 5503 GetDynamicArrayInfo(ClangASTContext &ast, SymbolFile *sym_file,
 5562             if (!ClangASTContext::RecordHasFields(base_class_decl))
 6633             if (!ClangASTContext::RecordHasFields(base_class_decl))
 6709           if (ClangASTContext::FieldIsBitfield(getASTContext(), *field,
 6833                 if (ClangASTContext::FieldIsBitfield(getASTContext(), ivar_decl,
 7102   uint32_t child_idx = ClangASTContext::GetNumBaseClasses(
 7186                 child_idx + ClangASTContext::GetNumBaseClasses(
 7453                 !ClangASTContext::RecordHasFields(base_class_decl))
 7871   ClangASTContext *ast =
 7872       llvm::dyn_cast_or_null<ClangASTContext>(type.GetTypeSystem());
 7919           ClangASTContext::ConvertAccessTypeToAccessSpecifier(access));
 7961   ClangASTContext *ast = llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 7961   ClangASTContext *ast = llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 8010           indirect_field->setAccess(ClangASTContext::UnifyAccessSpecifiers(
 8040           indirect_field->setAccess(ClangASTContext::UnifyAccessSpecifiers(
 8065     ClangASTContext *ast =
 8066         llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 8085   ClangASTContext *ast = llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 8085   ClangASTContext *ast = llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 8111       ClangASTContext::ConvertAccessTypeToAccessSpecifier(access));
 8200         if (!ClangASTContext::CheckOverloadedOperatorKindParameterCount(
 8238       ClangASTContext::ConvertAccessTypeToAccessSpecifier(access);
 8323       ClangASTContext::ConvertAccessTypeToAccessSpecifier(access),
 8349   ClangASTContext *ast =
 8350       llvm::dyn_cast_or_null<ClangASTContext>(type.GetTypeSystem());
 8378   ClangASTContext *ast = llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 8378   ClangASTContext *ast = llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 8415           ClangASTContext::SetMetadata(clang_ast, property_decl, *metadata);
 8507             ClangASTContext::SetMetadata(clang_ast, getter, *metadata);
 8538             ClangASTContext::SetMetadata(clang_ast, setter, *metadata);
 8587   ClangASTContext *lldb_ast =
 8588       llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 8654       ClangASTContext::GetASTContext(ast)->GetDeclContextForType(
 8824           ClangASTContext *lldb_ast =
 8825               llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 8941     ClangASTContext *ast =
 8942         llvm::dyn_cast<ClangASTContext>(type.GetTypeSystem());
 9042           if (!verbose && !ClangASTContext::RecordHasFields(base_class_decl))
 9124         if (ClangASTContext::FieldIsBitfield(getASTContext(), *field,
 9635       ClangASTContext::GetMetadata(getASTContext(), type);
 9816     const ClangASTContext::TemplateParameterInfos &template_param_infos) {
 9829   ClangASTContext *ast = (ClangASTContext *)baton;
 9840   ClangASTContext *ast = (ClangASTContext *)baton;
 9869   ClangASTContext *ast = (ClangASTContext *)baton;
10133                   CompilerType clang_type = ClangASTContext::GetTypeForDecl(nd);
10282     return ClangASTContext::GetMetadata(ast, object);
10288   ClangASTContext *ast =
10289       llvm::dyn_cast_or_null<ClangASTContext>(dc.GetTypeSystem());
tools/lldb/source/Symbol/ClangASTImporter.cpp
   87 CompilerType ClangASTImporter::CopyType(ClangASTContext &dst_ast,
   91     ClangASTContext *src_ast =
   92         llvm::dyn_cast_or_null<ClangASTContext>(src_type.GetTypeSystem());
  299       ClangASTContext::GetCompleteDecl(m_src_ctx, original_decl);
  561     ClangASTContext::CompleteTagDeclarationDefinition(compiler_type);
  565   ClangASTContext::SetHasExternalStorage(compiler_type.GetOpaqueQualType(),
  638   if (!ClangASTContext::GetCompleteDecl(decl_origin.ctx, decl_origin.decl))
  658   if (!ClangASTContext::GetCompleteDecl(origin_ast_ctx, origin_decl))
  685   if (!ClangASTContext::GetCompleteDecl(decl_origin.ctx, decl_origin.decl))
  805     return ClangASTContext::GetMetadata(decl_origin.ctx, decl_origin.decl);
  807     return ClangASTContext::GetMetadata(&decl->getASTContext(), decl);
tools/lldb/source/Symbol/ClangUtil.cpp
   18   if (llvm::dyn_cast_or_null<ClangASTContext>(ct.GetTypeSystem()) == nullptr)
tools/lldb/source/Symbol/CxxModuleHandler.cpp
   21       m_sema(ClangASTContext::GetASTContext(target)->getSema()) {
tools/lldb/source/Target/Target.cpp
 2256 ClangASTContext *Target::GetScratchClangASTContext(bool create_on_demand) {
 2267   return llvm::dyn_cast<ClangASTContext>(&type_system_or_err.get());
tools/lldb/tools/lldb-test/SystemInitializerTest.cpp
  178   ClangASTContext::Initialize();
  269   ClangASTContext::Terminate();
tools/lldb/tools/lldb-test/lldb-test.cpp
  600   auto *clang_ast_ctx =
  601       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
  630   auto *clang_ast_ctx =
  631       llvm::dyn_cast_or_null<ClangASTContext>(&type_system_or_err.get());
tools/lldb/unittests/Symbol/TestClangASTContext.cpp
   39     m_ast.reset(new ClangASTContext(triple.c_str()));
   45   std::unique_ptr<ClangASTContext> m_ast;
  174   CompilerType type = ClangASTContext::GetBuiltinTypeForEncodingAndBitSize(
  237       ClangASTContext::GetOpaqueCompilerType(context, lldb::eBasicTypeBool);
  321       ClangASTContext::GetBasicType(m_ast->getASTContext(), eBasicTypeInt);
  327   ClangASTContext::StartTagDeclarationDefinition(empty_base);
  328   ClangASTContext::CompleteTagDeclarationDefinition(empty_base);
  330   RecordDecl *empty_base_decl = ClangASTContext::GetAsRecordDecl(empty_base);
  338   ClangASTContext::StartTagDeclarationDefinition(non_empty_base);
  341   ClangASTContext::CompleteTagDeclarationDefinition(non_empty_base);
  343       ClangASTContext::GetAsRecordDecl(non_empty_base);
  354   ClangASTContext::StartTagDeclarationDefinition(empty_derived);
  361   ClangASTContext::CompleteTagDeclarationDefinition(empty_derived);
  366       ClangASTContext::GetAsRecordDecl(empty_derived);
  377   ClangASTContext::StartTagDeclarationDefinition(empty_derived2);
  384   ClangASTContext::CompleteTagDeclarationDefinition(empty_derived2);
  389       ClangASTContext::GetAsRecordDecl(empty_derived2);
  397   ClangASTContext::TemplateParameterInfos infos;
tools/lldb/unittests/Symbol/TestLineEntry.cpp
   38     ClangASTContext::Terminate();
   56   ClangASTContext::Initialize();
tools/lldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp
   22     ClangASTContext::Initialize();
   26     ClangASTContext::Terminate();
   34   using DWARFASTParserClang::DWARFASTParserClang;
   50   ClangASTContext ast_ctx;
tools/lldb/unittests/SymbolFile/DWARF/SymbolFileDWARFTests.cpp
   52 ClangASTContext::Initialize();
   60     ClangASTContext::Initialize();
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/shared_ptr.h
   93     class shared_ptr : public __shared_ptr<_Tp>
  107       using element_type = typename __shared_ptr<_Tp>::element_type;
  129 	shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
  236 	shared_ptr(const shared_ptr<_Yp>& __r) noexcept
  253 	shared_ptr(shared_ptr<_Yp>&& __r) noexcept
  352       shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
usr/include/c++/7.4.0/bits/shared_ptr_base.h
  882     : is_convertible<_Yp*, _Tp*>::type
  882     : is_convertible<_Yp*, _Tp*>::type
  946     : is_convertible<_Yp*, _Tp*>::type
  946     : is_convertible<_Yp*, _Tp*>::type
  956       using element_type = _Tp;
 1035     : public __shared_ptr_access<_Tp, _Lp>
 1038       using element_type = typename remove_extent<_Tp>::type;
 1078 	__shared_ptr(_Yp* __p)
 1081 	  static_assert( !is_void<_Yp>::value, "incomplete type" );
 1082 	  static_assert( sizeof(_Yp) > 0, "incomplete type" );
 1126 	__shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1138 	__shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1192 	_Assignable<_Yp>
 1193 	operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1218 	_Assignable<_Yp>
 1219 	operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1272       swap(__shared_ptr<_Tp, _Lp>& __other) noexcept
 1344       __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
 1377 	typename enable_if<!__has_esft_base<_Yp2>::value>::type
 1378 	_M_enable_shared_from_this_with(_Yp*) noexcept
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
  824     make_unique(_Args&&... __args)
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1633     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1942     { typedef _Tp     type; };