Searched refs:Attr (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DAttrImpl.cpp10 // This file contains out-of-line virtual methods for Attr classes.
14 #include "clang/AST/Attr.h"
20 Attr::~Attr() { }
H A DMicrosoftCXXABI.cpp16 #include "clang/AST/Attr.h"
85 if (Attr *IA = this->getAttr<MSInheritanceAttr>())
H A DASTDumper.cpp16 #include "clang/AST/Attr.h"
42 // Attr names (CleanupAttr, GuardedByAttr, etc)
176 void dumpAttr(const Attr *A);
498 void ASTDumper::dumpAttr(const Attr *A) {
507 OS << "Attr";
1368 for (ArrayRef<const Attr *>::iterator I = Node->getAttrs().begin(),
1863 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i); local
1864 OS << " \"" << Attr.Name << "=\"" << Attr.Value << "\"";
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DTargetAttributesSema.cpp25 const AttributeList &Attr, Sema &S) const {
30 const AttributeList &Attr, Sema &S) {
32 if (Attr.getNumArgs() != 1) {
33 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 1;
39 Expr *NumParamsExpr = static_cast<Expr *>(Attr.getArg(0));
42 S.Diag(Attr.getLoc(), diag::err_attribute_argument_not_int)
49 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds)
55 d->addAttr(::new (S.Context) MSP430InterruptAttr(Attr.getLoc(), S.Context, Num));
56 d->addAttr(::new (S.Context) UsedAttr(Attr.getLoc(), S.Context));
64 const AttributeList &Attr, Sem
24 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
29 HandleMSP430InterruptAttr(Decl *d, const AttributeList &Attr, Sema &S) argument
63 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
74 HandleMBlazeInterruptHandlerAttr(Decl *d, const AttributeList &Attr, Sema &S) argument
89 HandleMBlazeSaveVolatilesAttr(Decl *d, const AttributeList &Attr, Sema &S) argument
109 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
123 HandleX86ForceAlignArgPointerAttr(Decl *D, const AttributeList& Attr, Sema &S) argument
168 HandleDLLImportAttr(Decl *D, const AttributeList &Attr, Sema &S) argument
214 HandleDLLExportAttr(Decl *D, const AttributeList &Attr, Sema &S) argument
247 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
271 HandleMips16Attr(Decl *D, const AttributeList &Attr, Sema &S) argument
287 HandleNoMips16Attr(Decl *D, const AttributeList &Attr, Sema &S) argument
308 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
[all...]
H A DSemaDeclAttr.cpp209 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, argument
211 if (Attr.getNumArgs() != Num) {
212 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << Num;
222 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, argument
224 if (Attr.getNumArgs() < Num) {
225 S.Diag(Attr.getLoc(), diag::err_attribute_too_few_arguments) << Num;
319 const AttributeList &Attr) {
336 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer)
337 << Attr.getName()->getName() << QT;
339 S.Diag(Attr
318 threadSafetyCheckIsPointer(Sema &S, const Decl *D, const AttributeList &Attr) argument
370 checkForLockableRecord(Sema &S, Decl *D, const AttributeList &Attr, QualType Ty) argument
411 checkAttrArgsAreLockableObjs(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr*> &Args, int Sidx = 0, bool ParamIdxOk = false) argument
493 checkGuardedVarAttrCommon(Sema &S, Decl *D, const AttributeList &Attr) argument
510 handleGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
519 handlePtGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
532 checkGuardedByAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, Expr* &Arg) argument
559 handleGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
567 handlePtGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
580 checkLockableAttrCommon(Sema &S, Decl *D, const AttributeList &Attr) argument
597 handleLockableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
604 handleScopedLockableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
614 handleNoThreadSafetyAnalysis(Sema &S, Decl *D, const AttributeList &Attr) argument
631 handleNoSanitizeAddressAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
649 handleNoSanitizeMemory(Sema &S, Decl *D, const AttributeList &Attr) argument
666 handleNoSanitizeThread(Sema &S, Decl *D, const AttributeList &Attr) argument
683 checkAcquireOrderAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVector<Expr*, 1> &Args) argument
718 handleAcquiredAfterAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
731 handleAcquiredBeforeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
744 checkLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVector<Expr*, 1> &Args) argument
764 handleSharedLockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
777 handleExclusiveLockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
791 checkTryLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVector<Expr*, 2> &Args) argument
817 handleSharedTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
831 handleExclusiveTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
845 checkLocksRequiredCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVector<Expr*, 1> &Args) argument
867 handleExclusiveLocksRequiredAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
880 handleSharedLocksRequiredAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
893 handleUnlockFunAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
916 handleLockReturnedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
941 handleLocksExcludedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
968 handleExtVectorTypeAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument
982 handlePackedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1005 handleMsStructAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1014 handleIBAction(Sema &S, Decl *D, const AttributeList &Attr) argument
1031 checkIBOutletCommon(Sema &S, Decl *D, const AttributeList &Attr) argument
1057 handleIBOutlet(Sema &S, Decl *D, const AttributeList &Attr) argument
1070 handleIBOutletCollection(Sema &S, Decl *D, const AttributeList &Attr) argument
1122 handleAllocSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1197 handleNonNullAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1444 handleWeakRefAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1519 handleAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1548 handleMinSizeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1564 handleColdAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1585 handleHotAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1606 handleNakedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1622 handleAlwaysInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1641 handleTLSModelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1678 handleMallocAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1698 handleMayAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1708 handleNoCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1719 handleCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1756 handleAnalyzerNoReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1782 handleCXX11NoReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1800 handleVecReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1862 handleDependencyAttr(Sema &S, Scope *Scope, Decl *D, const AttributeList &Attr) argument
1883 handleUnusedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1902 handleReturnsTwiceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1921 handleUsedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1944 handleConstructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1975 handleDestructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2007 handleAttrWithMessage(Sema &S, Decl *D, const AttributeList &Attr, const char *Name) argument
2031 handleArcWeakrefUnavailableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2044 handleObjCRootClassAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2062 handleObjCRequiresPropertyDefsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2262 handleAvailabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2330 handleVisibilityAttr(Sema &S, Decl *D, const AttributeList &Attr, bool isTypeVisibility) argument
2399 handleObjCMethodFamilyAttr(Sema &S, Decl *decl, const AttributeList &Attr) argument
2452 handleObjCExceptionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2468 handleObjCNSObject(Sema &S, Decl *D, const AttributeList &Attr) argument
2502 handleOverloadableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2518 handleBlocksAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2544 handleSentinelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2638 handleWarnUnusedResult(Sema &S, Decl *D, const AttributeList &Attr) argument
2666 handleWeakAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2690 handleWeakImportAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2720 handleWorkGroupSize(Sema &S, Decl *D, const AttributeList &Attr) argument
2775 handleVecTypeHint(Sema &S, Decl *D, const AttributeList &Attr) argument
2805 handleEndianAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2828 handleSectionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2864 handleNothrowAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2881 handleConstAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2898 handlePureAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2908 handleCleanupAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2973 handleFormatArgAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3076 handleInitPriorityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3150 handleFormatAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3291 handleTransparentUnionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3360 handleAnnotateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3388 handleAlignedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3555 handleModeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3723 handleNoDebugAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3745 handleNoInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3762 handleNoInstrumentFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3780 handleConstantAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3802 handleDeviceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3824 handleGlobalAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3859 handleHostAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3880 handleSharedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3900 handleGNUInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3922 handleCallConvAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4008 handleOpenCLKernelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4013 handleOpenCLImageAccessAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4100 handleRegparmAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4120 CheckRegparmAttr(const AttributeList &Attr, unsigned &numParams) argument
4158 handleLaunchBoundsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4205 handleArgumentWithTypeTagAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4256 handleTypeTagForDatatypeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4290 handleNSConsumedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4323 handleNSConsumesSelfAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4336 handleNSReturnsRetainedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4507 handleNSBridgedAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument
4538 handleObjCOwnershipAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4546 handleObjCPreciseLifetimeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4597 handleUuidAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4652 handleInheritanceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4676 handlePortabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4695 handleForceInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4708 ProcessNonInheritableDeclAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument
4719 ProcessInheritableDeclAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument
5020 ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr, bool NonInheritable, bool Inheritable, bool IncludeCXX11Attributes) argument
[all...]
H A DTargetAttributesSema.h23 const AttributeList &Attr, Sema &S) const;
H A DSemaStmtAttr.cpp27 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A,
48 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A,
69 SmallVector<const Attr*, 8> Attrs;
71 if (Attr *a = ProcessStmtAttribute(*this, S, *l, Range))
H A DSemaType.cpp2684 for (const AttributeList *Attr = ReturnTypeChunk.getAttrs();
2685 Attr; Attr = Attr->getNext()) {
2686 if (Attr->getKind() == AttributeList::AT_ObjCOwnership) {
2687 AttrLoc = Attr->getLoc();
2693 for (const AttributeList *Attr
2695 Attr; Attr = Attr
3756 HandleAddressSpaceTypeAttribute(QualType &Type, const AttributeList &Attr, Sema &S) argument
4306 HandleOpenCLImageAccessAttribute(QualType& CurType, const AttributeList &Attr, Sema &S) argument
4347 HandleVectorSizeAttr(QualType& CurType, const AttributeList &Attr, Sema &S) argument
4396 HandleExtVectorTypeAttr(QualType &CurType, const AttributeList &Attr, Sema &S) argument
4436 HandleNeonVectorTypeAttr(QualType& CurType, const AttributeList &Attr, Sema &S, VectorType::VectorKind VecKind, const char *AttrName) argument
[all...]
H A DSemaDecl.cpp1801 DeclHasAttr(const Decl *D, const Attr *A) {
1969 static bool mergeDeclAttribute(Sema &S, NamedDecl *D, InheritableAttr *Attr, argument
1972 unsigned AttrSpellingListIndex = Attr->getSpellingListIndex();
1973 if (AvailabilityAttr *AA = dyn_cast<AvailabilityAttr>(Attr))
1979 else if (VisibilityAttr *VA = dyn_cast<VisibilityAttr>(Attr))
1982 else if (TypeVisibilityAttr *VA = dyn_cast<TypeVisibilityAttr>(Attr))
1985 else if (DLLImportAttr *ImportA = dyn_cast<DLLImportAttr>(Attr))
1988 else if (DLLExportAttr *ExportA = dyn_cast<DLLExportAttr>(Attr))
1991 else if (FormatAttr *FA = dyn_cast<FormatAttr>(Attr))
1995 else if (SectionAttr *SA = dyn_cast<SectionAttr>(Attr))
9471 ActOnTag(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr, AccessSpecifier AS, SourceLocation ModulePrivateLoc, MultiTemplateParamsArg TemplateParameterLists, bool &OwnedDecl, bool &IsDependent, SourceLocation ScopedEnumKWLoc, bool ScopedEnumUsesClassTag, TypeResult UnderlyingType) argument
10915 ActOnFields(Scope* S, SourceLocation RecLoc, Decl *EnclosingDecl, llvm::ArrayRef<Decl *> Fields, SourceLocation LBrac, SourceLocation RBrac, AttributeList *Attr) argument
11480 ActOnEnumConstant(Scope *S, Decl *theEnumDecl, Decl *lastEnumConst, SourceLocation IdLoc, IdentifierInfo *Id, AttributeList *Attr, SourceLocation EqualLoc, Expr *Val) argument
11723 ActOnEnumBody(SourceLocation EnumLoc, SourceLocation LBraceLoc, SourceLocation RBraceLoc, Decl *EnumDeclX, ArrayRef<Decl *> Elements, Scope *S, AttributeList *Attr) argument
12014 AsmLabelAttr *Attr = local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DAttr.h1 //===--- Attr.h - Classes for representing attributes ----------*- C++ -*-===//
10 // This file defines the Attr interface and subclasses.
40 /// Attr - This represents one attribute.
41 class Attr { class in namespace:clang
48 /// attribute defined in Attr.td file.
55 virtual ~Attr();
76 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0) function in class:clang::Attr
98 virtual Attr *clone(ASTContext &C) const = 0;
107 class InheritableAttr : public Attr {
111 : Attr(A
[all...]
H A DAttrIterator.h10 // This file defines the Attr vector and specific_attr_iterator interfaces.
22 class Attr;
41 /// AttrVec - A vector of Attr, which is how they are stored on the AST.
42 typedef SmallVector<Attr*, 2> AttrVec;
43 typedef SmallVector<const Attr*, 2> ConstAttrVec;
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp68 } else if (AttributedTypeLoc Attr = TL.getAs<AttributedTypeLoc>()) {
69 if (handleAttr(Attr, D))
71 TL = Attr.getModifiedLoc();
113 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); local
115 Attr.Kind = Kind;
116 Attr.Loc = Loc;
117 Attr.ModifiedType = TL.getModifiedLoc().getType();
118 Attr.Dcl = D;
119 Attr.FullyMigratable = FullyMigratable;
190 MigrationContext::GCAttrOccurrence &Attr local
206 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; local
342 GCAttrOccurrence &Attr = GCAttrs[i]; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DThreading.cpp82 pthread_attr_t Attr; local
86 if (::pthread_attr_init(&Attr) != 0)
91 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0)
96 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0)
103 ::pthread_attr_destroy(&Attr);
/freebsd-10.0-release/contrib/llvm/tools/clang/utils/TableGen/
H A DClangAttrEmitter.cpp100 Argument(Record &Arg, StringRef Attr) argument
102 attrName(Attr) {
137 SimpleArgument(Record &Arg, StringRef Attr, std::string T) argument
138 : Argument(Arg, Attr), type(T)
213 StringArgument(Record &Arg, StringRef Attr) argument
214 : Argument(Arg, Attr)
277 AlignedArgument(Record &Arg, StringRef Attr) argument
278 : Argument(Arg, Attr)
301 OS << "bool " << getAttrName() << "Attr::is" << getUpperName()
317 OS << "unsigned " << getAttrName() << "Attr
404 VariadicArgument(Record &Arg, StringRef Attr, std::string T) argument
496 EnumArgument(Record &Arg, StringRef Attr) argument
569 VersionArgument(Record &Arg, StringRef Attr) argument
619 ExprArgument(Record &Arg, StringRef Attr) argument
651 VariadicExprArgument(Record &Arg, StringRef Attr) argument
700 createArgument(Record &Arg, StringRef Attr, Record *Search = 0) argument
983 Record &Attr = **I; local
1223 Record &Attr = **I; local
1303 Record &Attr = **I; local
1408 Record &Attr = **I; local
1443 Record &Attr = **I; local
[all...]
/freebsd-10.0-release/lib/clang/
H A Dclang.build.mk77 Attrs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
81 AttrDump.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
85 AttrExprArgs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
89 AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
92 AttrLateParsed.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
96 AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
100 AttrParsedAttrKinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
104 AttrParsedAttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
108 AttrPCHRead.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td
112 AttrPCHWrite.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr
[all...]
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DAttributes.cpp509 Attribute Attr = *II; local
512 if (Attr.isStringAttribute()) continue;
514 Attribute::AttrKind Kind = Attr.getKindAsEnum();
651 Attribute::AttrKind Attr) const {
652 if (hasAttribute(Index, Attr)) return *this;
653 return addAttributes(C, Index, AttributeSet::get(C, Index, Attr));
713 Attribute::AttrKind Attr) const {
714 if (!hasAttribute(Index, Attr)) return *this;
715 return removeAttributes(C, Index, AttributeSet::get(C, Index, Attr));
814 bool AttributeSet::hasAttrSomewhere(Attribute::AttrKind Attr) cons
955 addAttribute(Attribute Attr) argument
999 Attribute Attr = *I; local
1087 Attribute Attr = *I; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/DebugInfo/
H A DDWARFDebugInfoEntry.cpp159 uint16_t Attr = AbbrevDecl->getAttrByIndex(i); local
163 ((Attr == DW_AT_entry_pc) || (Attr == DW_AT_low_pc))) {
166 if (Attr == DW_AT_low_pc || Attr == DW_AT_entry_pc)
/freebsd-10.0-release/contrib/llvm/lib/MC/
H A DMCSectionMachO.cpp262 StringRef Attr = Plus.first; local
263 StripSpaces(Attr);
271 Attr == SectionAttrDescriptors[i].AssemblerName) {
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DThreadSafety.cpp19 #include "clang/AST/Attr.h"
1445 void getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, Expr *Exp,
1449 void getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, Expr *Exp,
1535 void ThreadSafetyAnalyzer::getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, argument
1540 if (Attr->args_size() == 0) {
1550 for (iterator_type I=Attr->args_begin(), E=Attr->args_end(); I != E; ++I) {
1564 void ThreadSafetyAnalyzer::getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, argument
1585 getMutexIDs(Mtxs, Attr, Exp, D);
1696 Attr *Att local
2299 Attr *Attr = ArgAttrs[i]; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp163 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) local
170 assert(Attr != MCSA_Invalid && "unexpected symbol attribute directive!");
180 getStreamer().EmitSymbolAttribute(Sym, Attr);
506 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Type)
516 if (Attr == MCSA_Invalid)
524 getStreamer().EmitSymbolAttribute(Sym, Attr);
H A DCOFFAsmParser.cpp136 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) local
139 assert(Attr != MCSA_Invalid && "unexpected symbol attribute directive!");
149 getStreamer().EmitSymbolAttribute(Sym, Attr);
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/
H A DAttributes.h244 Attribute::AttrKind Attr) const;
260 Attribute::AttrKind Attr) const;
295 bool hasAttrSomewhere(Attribute::AttrKind Attr) const;
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/
H A DGraphWriter.h260 void emitSimpleNode(const void *ID, const std::string &Attr, argument
264 if (!Attr.empty())
265 O << Attr << ","; local
/freebsd-10.0-release/contrib/llvm/lib/AsmParser/
H A DLLParser.h359 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) argument
360 : Loc(L), Ty(ty), Attrs(Attr), Name(N) {}
/freebsd-10.0-release/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp182 Attribute Attr = *I; local
183 if (Attr.isEnumAttribute()) {
185 Record.push_back(Attr.getKindAsEnum());
186 } else if (Attr.isAlignAttribute()) {
188 Record.push_back(Attr.getKindAsEnum());
189 Record.push_back(Attr.getValueAsInt());
191 StringRef Kind = Attr.getKindAsString();
192 StringRef Val = Attr.getValueAsString();

Completed in 246 milliseconds

123