Home
last modified time | relevance | path

Searched refs:AnnotateAttr (Results 1 – 16 of 16) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDDirectIvarAssignment.cpp158 for (const auto *Ann : D->specific_attrs<AnnotateAttr>()) in isAnnotatedToAllowDirectAssignment()
213 for (const auto *Ann : M->specific_attrs<AnnotateAttr>()) in AttrFilter()
HDLocalizationChecker.cpp647 D->specific_attr_begin<AnnotateAttr>(), in isAnnotatedAsReturningLocalized()
648 D->specific_attr_end<AnnotateAttr>(), [](const AnnotateAttr *Ann) { in isAnnotatedAsReturningLocalized()
660 D->specific_attr_begin<AnnotateAttr>(), in isAnnotatedAsTakingLocalized()
661 D->specific_attr_end<AnnotateAttr>(), [](const AnnotateAttr *Ann) { in isAnnotatedAsTakingLocalized()
HDIvarInvalidationChecker.cpp227 for (const auto *Ann : M->specific_attrs<AnnotateAttr>()) { in isInvalidationMethod()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
HDRetainSummaryManager.cpp44 if (auto AA = dyn_cast<AnnotateAttr>(A)) in classof()
52 if (auto AA = dyn_cast<AnnotateAttr>(A)) in classof()
60 if (auto AA = dyn_cast<AnnotateAttr>(A)) in classof()
185 for (const auto *Ann : D->specific_attrs<AnnotateAttr>()) { in hasRCAnnotation()
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCodeGenModule.h79 class AnnotateAttr; variable
1415 llvm::Constant *EmitAnnotationArgs(const AnnotateAttr *Attr);
1425 const AnnotateAttr *AA,
HDCodeGenFunction.cpp2612 const AnnotateAttr *Attr) { in EmitAnnotationCall()
2625 assert(D->hasAttr<AnnotateAttr>() && "no annotate attribute"); in EmitVarAnnotations()
2626 for (const auto *I : D->specific_attrs<AnnotateAttr>()) in EmitVarAnnotations()
2634 assert(D->hasAttr<AnnotateAttr>() && "no annotate attribute"); in EmitFieldAnnotations()
2644 for (const auto *I : D->specific_attrs<AnnotateAttr>()) { in EmitFieldAnnotations()
HDCGDecl.cpp455 if (D.hasAttr<AnnotateAttr>()) in EmitStaticVarDecl()
1684 if (D.hasAttr<AnnotateAttr>() && HaveInsertPoint()) in EmitAutoVarAlloca()
2756 if (D.hasAttr<AnnotateAttr>()) in EmitParmDecl()
HDCodeGenModule.cpp3318 llvm::Constant *CodeGenModule::EmitAnnotationArgs(const AnnotateAttr *Attr) { in EmitAnnotationArgs()
3351 const AnnotateAttr *AA, in EmitAnnotateAttr()
3377 assert(D->hasAttr<AnnotateAttr>() && "no annotate attribute"); in AddGlobalAnnotations()
3379 for (const auto *I : D->specific_attrs<AnnotateAttr>()) in AddGlobalAnnotations()
3795 if (FD->hasAttr<AnnotateAttr>()) { in EmitGlobal()
4674 if (D && D->hasAttr<AnnotateAttr>()) in GetOrCreateLLVMFunction()
5543 if (D->hasAttr<AnnotateAttr>()) in EmitGlobalVarDefinition()
HDCodeGenFunction.h4967 const AnnotateAttr *Attr);
HDCGExpr.cpp4963 if (field->hasAttr<AnnotateAttr>()) in EmitLValueForField()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
HDIndexSymbol.cpp238 if (auto *Annot = D->getAttr<AnnotateAttr>()) { in getSymbolInfo()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
HDAttr.td937 static AnnotateAttr *Create(ASTContext &Ctx, llvm::StringRef Annotation, \
939 return AnnotateAttr::Create(Ctx, Annotation, nullptr, 0, CommonInfo);
941 static AnnotateAttr *CreateImplicit(ASTContext &Ctx, llvm::StringRef Annotation, \
943 return AnnotateAttr::CreateImplicit(Ctx, Annotation, nullptr, 0, CommonInfo);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaTemplateInstantiateDecl.cpp198 const AnnotateAttr *Attr, Decl *New) { in instantiateDependentAnnotationAttr()
772 if (const auto *Annotate = dyn_cast<AnnotateAttr>(TmplAttr)) { in InstantiateAttrs()
HDSemaDecl.cpp2642 const AnnotateAttr *Ann = dyn_cast<AnnotateAttr>(A); in DeclHasAttr()
2646 if (Ann->getAnnotation() == cast<AnnotateAttr>(i)->getAnnotation()) in DeclHasAttr()
HDSemaDeclAttr.cpp3840 auto *Attr = AnnotateAttr::Create(Context, Str, Args.data(), Args.size(), CI); in AddAnnotationAttr()
HDSemaCodeComplete.cpp3557 for (const auto *I : ND->specific_attrs<AnnotateAttr>()) in createCodeCompletionStringForDecl()