| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | DefaultOperatorNewAlignmentCheck.cpp | 34 const TagDecl *D = T->getAsTagDecl(); in check()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangUtil.cpp | 65 return qual_type->getAsTagDecl(); in GetAsTagDecl()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.cpp | 329 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType() 542 if (auto *tag = qt->getAsTagDecl()) { in GetOrCreateDeclForUid() 593 clang::TagDecl *tag = qt->getAsTagDecl(); in CreateDeclInfoForUndecoratedName() 636 clang::TagDecl *tag = qt->getAsTagDecl(); in GetParentDeclContextForSymbol() 716 clang::TagDecl *tag = qt->getAsTagDecl(); in CompleteType() 719 tag = element_type->getAsTagDecl(); in CompleteType() 819 if (clang::TagDecl *tag = class_type->getAsTagDecl()) { in CreatePointerType() 1114 clang::TagDecl *tag = qt->getAsTagDecl(); in GetOrCreateType()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SemanticHighlighting.cpp | 160 if (auto *TD = TP->getAsTagDecl()) in kindForType() 274 if (auto *TD = Underlying->getAsTagDecl()) in isDefaultLibrary() 517 if (auto *TD = T->getAsTagDecl()) in scopeModifier()
|
| H A D | IncludeFixer.cpp | 270 const TagDecl *TD = T.getAsTagDecl(); in fixIncompleteType()
|
| H A D | Hover.cpp | 692 QualType ClassType = declaredType(OriginThisType->getAsTagDecl()); in getThisExprHoverContents() 721 if (const auto *D = QT->getAsTagDecl()) { in getDeducedTypeHoverContents()
|
| H A D | FindTarget.cpp | 361 Outer.add(TT->getAsTagDecl(), Flags); in add()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | ExceptionAnalyzer.cpp | 80 if (const auto *TD = T->getAsTagDecl()) { in filterIgnoredExceptions()
|
| H A D | RenamerClangTidyCheck.cpp | 336 if (const TagDecl *Decl = Ref.getTypePtr()->getAsTagDecl()) in check()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | AddUsing.cpp | 306 } else if (auto *TD = ET->getAsTagDecl()) { in prepare()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 81 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
|
| H A D | CGOpenMPRuntime.cpp | 3535 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitProxyTaskFunction() 3538 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitProxyTaskFunction() 3633 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitDestructorsFunction() 3637 cast<RecordDecl>(FI->getType()->getAsTagDecl())->fields()) { in emitDestructorsFunction() 3741 const auto *PrivatesQTyRD = cast<RecordDecl>(PrivatesQTy->getAsTagDecl()); in emitTaskPrivateMappingFunction() 3788 FI = cast<RecordDecl>(FI->getType()->getAsTagDecl())->field_begin(); in emitPrivatesInit() 4570 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in getDepobjElements() 4598 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDependData() 4865 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDepobjDependClause() 4972 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitUpdateClause() [all …]
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 475 llvm::dyn_cast_or_null<EnumDecl>(Loc.getType()->getAsTagDecl())) in getSupportedDeclFromTypeLoc()
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.h | 241 assert(qt->getAsTagDecl() == nullptr || in GetType() 242 &qt->getAsTagDecl()->getASTContext() == &getASTContext()); in GetType()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 588 return std::next(CRD->bases_begin(), N)->getType()->getAsTagDecl(); in getParamDecl()
|
| H A D | SemaCXXScopeSpec.cpp | 213 tag = type->getAsTagDecl(); in RequireCompleteDeclContext()
|
| H A D | SemaStmtAsm.cpp | 826 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField()
|
| H A D | SemaStmt.cpp | 314 if (const TagDecl *TD = ILE->getType()->getAsTagDecl()) { in DiagnoseUnusedExprResult()
|
| H A D | SemaExprCXX.cpp | 713 const auto *TD = Ty->getAsTagDecl(); in getUuidAttrOfType()
|
| H A D | SemaDecl.cpp | 16769 auto *TD = Context.getTagDeclType(PrevTagDecl)->getAsTagDecl(); in ActOnTag()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 1760 return dyn_cast_or_null<CXXRecordDecl>(getAsTagDecl()); in getAsCXXRecordDecl() 1764 return dyn_cast_or_null<RecordDecl>(getAsTagDecl()); in getAsRecordDecl() 1767 TagDecl *Type::getAsTagDecl() const { in getAsTagDecl() function in Type
|
| H A D | Expr.cpp | 1522 if (const TagDecl *TD = getCallReturnType(Ctx)->getAsTagDecl()) in getUnusedResultAttr()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Type.h | 2332 TagDecl *getAsTagDecl() const;
|