Home
last modified time | relevance | path

Searched refs:getAsTagDecl (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DDefaultOperatorNewAlignmentCheck.cpp34 const TagDecl *D = T->getAsTagDecl(); in check()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangUtil.cpp65 return qual_type->getAsTagDecl(); in GetAsTagDecl()
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DPdbAstBuilder.cpp267 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType()
472 if (auto *tag = qt->getAsTagDecl()) { in GetOrCreateDeclForUid()
518 clang::TagDecl *tag = qt->getAsTagDecl(); in CreateDeclInfoForUndecoratedName()
559 clang::TagDecl *tag = qt->getAsTagDecl(); in GetParentDeclContextForSymbol()
637 clang::TagDecl *tag = qt->getAsTagDecl(); in CompleteType()
972 clang::TagDecl *tag = qt->getAsTagDecl(); in GetOrCreateType()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DExceptionAnalyzer.cpp80 if (const auto *TD = T->getAsTagDecl()) { in filterIgnoredExceptions()
DRenamerClangTidyCheck.cpp336 if (const TagDecl *Decl = Ref.getTypePtr()->getAsTagDecl()) in check()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DAddUsing.cpp297 } else if (auto *TD = ET->getAsTagDecl()) { in prepare()
/external/llvm-project/clang/lib/Index/
DIndexTypeSourceInfo.cpp60 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
/external/llvm-project/clang-tools-extra/clangd/
DIncludeFixer.cpp125 const TagDecl *TD = T.getAsTagDecl(); in fixIncompleteType()
DSemanticHighlighting.cpp116 if (auto *TD = TP->getAsTagDecl()) in kindForType()
DHover.cpp558 if (const auto *D = T->getAsTagDecl()) { in getHoverContents()
DFindTarget.cpp537 Outer.add(TT->getAsTagDecl(), Flags); in add()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenTBAA.cpp81 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
DCGOpenMPRuntime.cpp1360 const auto *RD = cast<RecordDecl>(Ty->getAsTagDecl()); in createGlobalStruct()
1375 const auto *RD = cast<RecordDecl>(Ty->getAsTagDecl()); in createConstantGlobalStructAndAddToParent()
3554 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitProxyTaskFunction()
3557 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitProxyTaskFunction()
3652 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitDestructorsFunction()
3656 cast<RecordDecl>(FI->getType()->getAsTagDecl())->fields()) { in emitDestructorsFunction()
3760 const auto *PrivatesQTyRD = cast<RecordDecl>(PrivatesQTy->getAsTagDecl()); in emitTaskPrivateMappingFunction()
3806 FI = cast<RecordDecl>(FI->getType()->getAsTagDecl())->field_begin(); in emitPrivatesInit()
4208 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitTaskInit()
4586 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in getDepobjElements()
[all …]
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DUSRLocFinder.cpp457 llvm::dyn_cast_or_null<EnumDecl>(Loc.getType()->getAsTagDecl())) in getSupportedDeclFromTypeLoc()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.h239 assert(qt->getAsTagDecl() == nullptr || in GetType()
240 &qt->getAsTagDecl()->getASTContext() == &getASTContext()); in GetType()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp3300 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitProxyTaskFunction()
3303 auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitProxyTaskFunction()
3390 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitDestructorsFunction()
3394 cast<RecordDecl>(FI->getType()->getAsTagDecl())->fields()) { in emitDestructorsFunction()
3478 auto *PrivatesQTyRD = cast<RecordDecl>(PrivatesQTy->getAsTagDecl()); in emitTaskPrivateMappingFunction()
3518 FI = cast<RecordDecl>(FI->getType()->getAsTagDecl())->field_begin(); in emitPrivatesInit()
3672 auto *PrivateRD = cast<RecordDecl>(FI->getType()->getAsTagDecl()); in checkDestructorsRequired()
3729 auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitTaskInit()
3903 KmpDependInfoRD = cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitTaskCall()
6535 RD = cast<RecordDecl>(KmpDimTy->getAsTagDecl()); in emitDoacrossInit()
DCGRecordLayoutBuilder.cpp317 dyn_cast_or_null<RecordDecl>(Field->getType()->getAsTagDecl())) in lowerUnion()
DCGExprConstant.cpp1554 dyn_cast_or_null<RecordDecl>(Field->getType()->getAsTagDecl())) in EmitNullConstant()
/external/llvm-project/clang/lib/Sema/
DSemaCXXScopeSpec.cpp213 tag = type->getAsTagDecl(); in RequireCompleteDeclContext()
DSemaStmtAsm.cpp801 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField()
DSemaStmt.cpp314 if (const TagDecl *TD = ILE->getType()->getAsTagDecl()) { in DiagnoseUnusedExprResult()
/external/llvm-project/clang/lib/AST/
DType.cpp1754 return dyn_cast_or_null<CXXRecordDecl>(getAsTagDecl()); in getAsCXXRecordDecl()
1758 return dyn_cast_or_null<RecordDecl>(getAsTagDecl()); in getAsRecordDecl()
1761 TagDecl *Type::getAsTagDecl() const { in getAsTagDecl() function in Type
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h747 if (auto *TD = Node->getAsTagDecl()) in matchesSpecialized()
/external/clang/lib/AST/
DType.cpp1529 return dyn_cast_or_null<CXXRecordDecl>(getAsTagDecl()); in getAsCXXRecordDecl()
1532 TagDecl *Type::getAsTagDecl() const { in getAsTagDecl() function in Type
/external/clang/include/clang/AST/
DType.h1853 TagDecl *getAsTagDecl() const;

12