| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangUtil.cpp | 65 return qual_type->getAsTagDecl(); in GetAsTagDecl()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.cpp | 226 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType() 291 if (auto *tag = qt->getAsTagDecl()) { in GetOrCreateDeclForUid() 345 clang::TagDecl *tag = qt->getAsTagDecl(); in CreateDeclInfoForUndecoratedName() 425 clang::TagDecl *tag = qt->getAsTagDecl(); in CompleteType() 428 tag = element_type->getAsTagDecl(); in CompleteType() 530 if (clang::TagDecl *tag = class_type->getAsTagDecl()) { in CreatePointerType() 841 clang::TagDecl *tag = qt->getAsTagDecl(); in GetOrCreateType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
| H A D | ExtractAPIVisitor.h | 186 if (auto *BaseDecl = BaseSpecifier.getType()->getAsTagDecl()) { in getBases() 258 auto *Tag = D.getType()->getAsTagDecl(); in maybeMergeWithAnonymousTag() 261 Tag = AT->getElementType()->getAsTagDecl(); in maybeMergeWithAnonymousTag() 1173 if (auto *TagDecl = Decl->getUnderlyingType()->getAsTagDecl()) { in VisitTypedefNameDecl() 1545 const auto *TagTypeDecl = Declarator->getType()->getAsTagDecl(); in fetchRawCommentForDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 64 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 475 llvm::dyn_cast_or_null<EnumDecl>(Loc.getType()->getAsTagDecl())) in getSupportedDeclFromTypeLoc()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 121 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
|
| H A D | CGOpenMPRuntime.cpp | 3009 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitProxyTaskFunction() 3012 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitProxyTaskFunction() 3107 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitDestructorsFunction() 3111 cast<RecordDecl>(FI->getType()->getAsTagDecl())->fields()) { in emitDestructorsFunction() 3215 const auto *PrivatesQTyRD = cast<RecordDecl>(PrivatesQTy->getAsTagDecl()); in emitTaskPrivateMappingFunction() 3262 FI = cast<RecordDecl>(FI->getType()->getAsTagDecl())->field_begin(); in emitPrivatesInit() 3658 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitTaskInit() 4029 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in getDepobjElements() 4058 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDependData() 4330 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDepobjDependClause() [all …]
|
| H A D | CGDecl.cpp | 1988 hasNoTrivialAutoVarInitAttr(type->getAsTagDecl()) || in EmitAutoVarInit()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.h | 248 assert(qt->getAsTagDecl() == nullptr || in GetType() 249 &qt->getAsTagDecl()->getASTContext() == &getASTContext()); in GetType()
|
| H A D | TypeSystemClang.cpp | 2665 auto *tag_decl = enum_type->getAsTagDecl(); in GetCompleteEnumType() 3822 if (auto *named_decl = qual_type->getAsTagDecl()) in GetTypeName()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 590 return std::next(CRD->bases_begin(), N)->getType()->getAsTagDecl(); in getParamDecl()
|
| H A D | SemaCXXScopeSpec.cpp | 202 tag = type->getAsTagDecl(); in RequireCompleteDeclContext()
|
| H A D | SemaStmtAsm.cpp | 874 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField()
|
| H A D | AnalysisBasedWarnings.cpp | 2482 if (const auto *D = destType->getAsTagDecl()) in handleUnsafeOperation()
|
| H A D | SemaDeclCXX.cpp | 3410 if (const TagDecl *TD = T->getAsTagDecl()) in HasAttribute() 12136 D = SugaredType->getAsTagDecl(); in isStdClassTemplate() 12169 ReportMatchingNameAsMalformed(SugaredType->getAsTagDecl()); in isStdClassTemplate() 12628 auto *Enum = dyn_cast_if_present<EnumDecl>(EnumTy->getAsTagDecl()); in ActOnUsingEnumDeclaration()
|
| H A D | SemaStmt.cpp | 332 if (const TagDecl *TD = ILE->getType()->getAsTagDecl()) { in DiagnoseUnused()
|
| H A D | SemaExprCXX.cpp | 706 const auto *TD = Ty->getAsTagDecl(); in getUuidAttrOfType()
|
| H A D | SemaDecl.cpp | 15280 const auto *TD = QT->getAsTagDecl(); in warnOnCTypeHiddenInCPlusPlus() 18152 auto *TD = Context.getTagDeclType(PrevTagDecl)->getAsTagDecl(); in ActOnTag()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 1930 return dyn_cast_or_null<CXXRecordDecl>(getAsTagDecl()); in getAsCXXRecordDecl() 1934 return dyn_cast_or_null<RecordDecl>(getAsTagDecl()); in getAsRecordDecl() 1937 TagDecl *Type::getAsTagDecl() const { in getAsTagDecl() function in Type 2520 if (getAsTagDecl()) in isAlwaysIncompleteType()
|
| H A D | DeclCXX.cpp | 3439 assert(isa<EnumDecl>(EnumType->getType()->getAsTagDecl())); in Create() 3441 UsingEnumDecl(DC, EnumType->getType()->getAsTagDecl()->getDeclName(), UL, EL, NL, EnumType); in Create()
|
| H A D | Expr.cpp | 1641 if (const TagDecl *TD = getCallReturnType(Ctx)->getAsTagDecl()) in getUnusedResultAttr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 3827 EnumDecl *getEnumDecl() const { return cast<EnumDecl>(EnumType->getType()->getAsTagDecl()); } in getEnumDecl()
|
| H A D | Type.h | 2838 TagDecl *getAsTagDecl() const;
|