Searched refs:getAttr (Results 1 - 25 of 39) sorted by relevance

12

/external/clang/include/clang/Sema/
H A DSemaInternal.h82 if (auto *Import = D->getAttr<DLLImportAttr>())
84 if (auto *Export = D->getAttr<DLLExportAttr>())
/external/clang/lib/AST/
H A DMicrosoftCXXABI.cpp107 MSInheritanceAttr *IA = getAttr<MSInheritanceAttr>();
113 if (MSVtorDispAttr *VDA = getAttr<MSVtorDispAttr>())
H A DMangle.cpp115 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) {
H A DASTDumper.cpp2075 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i);
H A DRecordLayoutBuilder.cpp1243 if (const MaxFieldAlignmentAttr *MFAA = D->getAttr<MaxFieldAlignmentAttr>())
2342 if (const MaxFieldAlignmentAttr *MFAA = RD->getAttr<MaxFieldAlignmentAttr>()){
/external/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp137 BlocksAttr *attr = var->getAttr<BlocksAttr>();
/external/clang/lib/Analysis/
H A DConsumed.cpp196 QT->getAsCXXRecordDecl()->getAttr<ConsumableAttr>();
266 switch (FunDecl->getAttr<TestTypestateAttr>()->getTestState()) {
579 const CallableWhenAttr *CWAttr = FunDecl->getAttr<CallableWhenAttr>();
630 if (ParamTypestateAttr *PTA = Param->getAttr<ParamTypestateAttr>()) {
646 else if (ReturnTypestateAttr *RT = Param->getAttr<ReturnTypestateAttr>())
663 if (SetTypestateAttr *STA = FunD->getAttr<SetTypestateAttr>()) {
690 if (ReturnTypestateAttr *RTA = Fun->getAttr<ReturnTypestateAttr>())
784 if (ReturnTypestateAttr *RTA = Constructor->getAttr<ReturnTypestateAttr>()) {
871 if (const ParamTypestateAttr *PTA = Param->getAttr<ParamTypestateAttr>())
1133 const ReturnTypestateAttr *RTA = Param->getAttr<ReturnTypestateAtt
[all...]
H A DThreadSafety.cpp325 if (LockReturnedAttr* At = MD->getAttr<LockReturnedAttr>()) {
353 if (LockReturnedAttr* At = FD->getAttr<LockReturnedAttr>()) {
1494 if (const auto *CA = RD->getAttr<CapabilityAttr>())
1498 if (const auto *CA = TD->getAttr<CapabilityAttr>())
/external/chromium_org/tools/clang/blink_gc_plugin/
H A DConfig.h140 clang::AnnotateAttr* attr = decl->getAttr<clang::AnnotateAttr>();
/external/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp52 const NonNullAttr *Att = FD->getAttr<NonNullAttr>();
/external/clang/tools/libclang/
H A DCXComment.cpp216 return cxstring::createRef(HST->getAttr(AttrIdx).Name);
224 return cxstring::createRef(HST->getAttr(AttrIdx).Value);
/external/clang/lib/Sema/
H A DSemaAttr.cpp381 if (auto A = Decl->getAttr<SectionAttr>())
384 if (auto A = OtherDecl->getAttr<SectionAttr>())
H A DSemaDeclAttr.cpp204 if (AttrTy *A = D->getAttr<AttrTy>()) {
1533 if (VecReturnAttr *A = D->getAttr<VecReturnAttr>()) {
1890 T *existingAttr = D->getAttr<T>();
2204 WorkGroupAttr *Existing = D->getAttr<WorkGroupAttr>();
2234 if (VecTypeHintAttr *A = D->getAttr<VecTypeHintAttr>()) {
2249 if (SectionAttr *ExistingAttr = D->getAttr<SectionAttr>()) {
3854 if (DLLImportAttr *Import = D->getAttr<DLLImportAttr>()) {
3885 if (MSInheritanceAttr *IA = D->getAttr<MSInheritanceAttr>()) {
4556 if (Attr *A = D->getAttr<ReqdWorkGroupSizeAttr>()) {
4560 if (Attr *A = D->getAttr<WorkGroupSizeHintAtt
[all...]
H A DSemaDecl.cpp2196 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) {
2259 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>();
2701 const CXX11NoReturnAttr *NRA = New->getAttr<CXX11NoReturnAttr>();
2712 const CarriesDependencyAttr *CDA = New->getAttr<CarriesDependencyAttr>();
4975 if (WeakAttr *Attr = ND.getAttr<WeakAttr>()) {
4981 if (WeakRefAttr *Attr = ND.getAttr<WeakRefAttr>()) {
4990 if (SelectAnyAttr *Attr = ND.getAttr<SelectAnyAttr>()) {
4998 if (const DLLImportAttr *Attr = ND.getAttr<DLLImportAttr>()) {
5005 if (const DLLExportAttr *Attr = ND.getAttr<DLLExportAttr>()) {
5025 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAtt
[all...]
H A DSemaObjCProperty.cpp1977 if (const SectionAttr *SA = property->getAttr<SectionAttr>())
2032 if (const SectionAttr *SA = property->getAttr<SectionAttr>())
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp254 const AliasAttr *AA = D->getAttr<AliasAttr>();
274 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) {
521 if (const TLSModelAttr *Attr = D.getAttr<TLSModelAttr>()) {
779 if (const SectionAttr *SA = D->getAttr<SectionAttr>())
862 if (const SectionAttr *SA = FD->getAttr<SectionAttr>())
1180 const AliasAttr *AA = VD->getAttr<AliasAttr>();
1307 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>();
1334 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>();
2330 if (const ConstructorAttr *CA = D->getAttr<ConstructorAttr>())
2332 if (const DestructorAttr *DA = D->getAttr<DestructorAtt
[all...]
H A DCodeGenFunction.cpp428 const OpenCLImageAccessAttr *A = parm->getAttr<OpenCLImageAccessAttr>();
463 if (const VecTypeHintAttr *A = FD->getAttr<VecTypeHintAttr>()) {
479 if (const WorkGroupSizeHintAttr *A = FD->getAttr<WorkGroupSizeHintAttr>()) {
489 if (const ReqdWorkGroupSizeAttr *A = FD->getAttr<ReqdWorkGroupSizeAttr>()) {
H A DCGDeclCXX.cpp286 } else if (const InitPriorityAttr *IPA = D->getAttr<InitPriorityAttr>()) {
H A DCGDecl.cpp332 if (const SectionAttr *SA = D.getAttr<SectionAttr>())
1289 if (const CleanupAttr *CA = D.getAttr<CleanupAttr>()) {
/external/chromium_org/tools/clang/plugins/
H A DFindBadConstructsConsumer.cpp305 if (!method->size_overridden_methods() || method->getAttr<OverrideAttr>())
/external/clang/lib/Index/
H A DCommentToXML.cpp208 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i);
/external/clang/unittests/AST/
H A DCommentParser.cpp403 StringRef ActualName = HST->getAttr(0).Name;
409 StringRef ActualValue = HST->getAttr(0).Value;
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Dmath_semantic_tree.js1930 var getAttr = function(prop) {
1938 return function(node) {return node[prop] == getAttr(prop);};
/external/clang/include/clang/AST/
H A DComment.h480 const Attribute &getAttr(unsigned Idx) const { function in class:clang::comments::HTMLStartTagComment
H A DDeclBase.h477 template<typename T> T *getAttr() const { function in class:clang::Decl

Completed in 714 milliseconds

12