/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ParsedAttr.h | 125 class ParsedAttr final 128 ParsedAttr, ArgsUnion, detail::AvailabilityData, 219 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() function 234 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() function 255 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() function 271 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() function 289 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() function 302 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() function 344 ParsedAttr(const ParsedAttr &) = delete; 345 ParsedAttr(ParsedAttr &&) = delete; [all …]
|
H A D | SemaSwift.h | 25 class ParsedAttr; variable 35 void handleAttrAttr(Decl *D, const ParsedAttr &AL); 36 void handleAsyncAttr(Decl *D, const ParsedAttr &AL); 37 void handleBridge(Decl *D, const ParsedAttr &AL); 38 void handleError(Decl *D, const ParsedAttr &AL); 39 void handleAsyncError(Decl *D, const ParsedAttr &AL); 40 void handleName(Decl *D, const ParsedAttr &AL); 41 void handleAsyncName(Decl *D, const ParsedAttr &AL); 42 void handleNewType(Decl *D, const ParsedAttr &AL); 52 const ParsedAttr &AL, bool IsAsync);
|
H A D | SemaHLSL.h | 28 class ParsedAttr; variable 55 void handleNumThreadsAttr(Decl *D, const ParsedAttr &AL); 56 void handleSV_DispatchThreadIDAttr(Decl *D, const ParsedAttr &AL); 57 void handlePackOffsetAttr(Decl *D, const ParsedAttr &AL); 58 void handleShaderAttr(Decl *D, const ParsedAttr &AL); 59 void handleResourceClassAttr(Decl *D, const ParsedAttr &AL); 60 void handleResourceBindingAttr(Decl *D, const ParsedAttr &AL); 61 void handleParamModifierAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaAMDGPU.h | 60 void handleAMDGPUWavesPerEUAttr(Decl *D, const ParsedAttr &AL); 61 void handleAMDGPUNumSGPRAttr(Decl *D, const ParsedAttr &AL); 62 void handleAMDGPUNumVGPRAttr(Decl *D, const ParsedAttr &AL); 63 void handleAMDGPUMaxNumWorkGroupsAttr(Decl *D, const ParsedAttr &AL); 64 void handleAMDGPUFlatWorkGroupSizeAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaARM.h | 24 class ParsedAttr; variable 67 void handleBuiltinAliasAttr(Decl *D, const ParsedAttr &AL); 68 void handleNewAttr(Decl *D, const ParsedAttr &AL); 69 void handleCmseNSEntryAttr(Decl *D, const ParsedAttr &AL); 70 void handleInterruptAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaOpenCL.h | 20 class ParsedAttr; variable 26 void handleNoSVMAttr(Decl *D, const ParsedAttr &AL); 27 void handleAccessAttr(Decl *D, const ParsedAttr &AL); 30 void handleSubGroupSize(Decl *D, const ParsedAttr &AL);
|
H A D | SemaObjC.h | 47 class ParsedAttr; variable 1045 void handleIBOutlet(Decl *D, const ParsedAttr &AL); 1046 void handleIBOutletCollection(Decl *D, const ParsedAttr &AL); 1048 void handleSuppresProtocolAttr(Decl *D, const ParsedAttr &AL); 1049 void handleDirectAttr(Decl *D, const ParsedAttr &AL); 1050 void handleDirectMembersAttr(Decl *D, const ParsedAttr &AL); 1051 void handleMethodFamilyAttr(Decl *D, const ParsedAttr &AL); 1052 void handleNSObject(Decl *D, const ParsedAttr &AL); 1053 void handleIndependentClass(Decl *D, const ParsedAttr &AL); 1054 void handleBlocksAttr(Decl *D, const ParsedAttr &AL); [all …]
|
H A D | SemaAVR.h | 20 class ParsedAttr; variable 26 void handleInterruptAttr(Decl *D, const ParsedAttr &AL); 27 void handleSignalAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaX86.h | 23 class ParsedAttr; variable 39 void handleAnyInterruptAttr(Decl *D, const ParsedAttr &AL); 40 void handleForceAlignArgPointerAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaWasm.h | 46 void handleWebAssemblyExportNameAttr(Decl *D, const ParsedAttr &AL); 47 void handleWebAssemblyImportModuleAttr(Decl *D, const ParsedAttr &AL); 48 void handleWebAssemblyImportNameAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaMSP430.h | 20 class ParsedAttr; variable 26 void handleInterruptAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaM68k.h | 20 class ParsedAttr; variable 26 void handleInterruptAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaBPF.h | 22 class ParsedAttr; variable 31 void handlePreserveAccessIndexAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaMIPS.h | 22 class ParsedAttr; variable 33 void handleInterruptAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaSYCL.h | 25 class ParsedAttr; variable 64 void handleKernelAttr(Decl *D, const ParsedAttr &AL);
|
H A D | SemaRISCV.h | 27 class ParsedAttr; variable 41 void handleInterruptAttr(Decl *D, const ParsedAttr &AL);
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | ParsedAttr.cpp | 36 size_t ParsedAttr::allocated_size() const { in allocated_size() 58 assert(size >= sizeof(ParsedAttr)); in getFreeListIndexForSize() 60 return ((size - sizeof(ParsedAttr)) / sizeof(void *)); in getFreeListIndexForSize() 67 ParsedAttr *attr = FreeLists[index].back(); in allocate() 76 void AttributeFactory::deallocate(ParsedAttr *Attr) { in deallocate() 94 for (ParsedAttr *AL : cur.Attrs) in reclaimPool() 105 llvm::for_each(List.AttrList, [&Pool](ParsedAttr *A) { Pool.remove(A); }); in takeFrom() 148 unsigned ParsedAttr::getMinArgs() const { return getInfo().NumArgs; } in getMinArgs() 150 unsigned ParsedAttr::getMaxArgs() const { in getMaxArgs() 154 unsigned ParsedAttr::getNumArgMembers() const { in getNumArgMembers() [all …]
|
H A D | SemaDeclAttr.cpp | 85 static unsigned getNumAttributeArgs(const ParsedAttr &AL) { in getNumAttributeArgs() 90 SourceLocation Sema::getAttrLoc(const ParsedAttr &AL) { return AL.getLoc(); } in getAttrLoc() 131 bool Sema::checkStringLiteralArgumentAttr(const ParsedAttr &AL, unsigned ArgNum, in checkStringLiteralArgumentAttr() 208 const ParsedAttr &AL) { in threadSafetyCheckIsPointer() 329 const ParsedAttr &AL, in checkAttrArgsAreCapabilityObjs() 425 static void handlePtGuardedVarAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePtGuardedVarAttr() 432 static bool checkGuardedByAttrCommon(Sema &S, Decl *D, const ParsedAttr &AL, in checkGuardedByAttrCommon() 446 static void handleGuardedByAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handleGuardedByAttr() 454 static void handlePtGuardedByAttr(Sema &S, Decl *D, const ParsedAttr &AL) { in handlePtGuardedByAttr() 465 static bool checkAcquireOrderAttrCommon(Sema &S, Decl *D, const ParsedAttr &AL, in checkAcquireOrderAttrCommon() [all …]
|
H A D | SemaStmtAttr.cpp | 28 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleFallThroughAttr() 55 static Attr *handleSuppressAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleSuppressAttr() 78 static Attr *handleLoopHintAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleLoopHintAttr() 219 static Attr *handleNoMergeAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleNoMergeAttr() 286 static Attr *handleNoInlineAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleNoInlineAttr() 301 static Attr *handleAlwaysInlineAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleAlwaysInlineAttr() 316 static Attr *handleCXXAssumeAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleCXXAssumeAttr() 325 static Attr *handleMustTailAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleMustTailAttr() 331 static Attr *handleLikely(Sema &S, Stmt *St, const ParsedAttr &A, in handleLikely() 340 static Attr *handleUnlikely(Sema &S, Stmt *St, const ParsedAttr &A, in handleUnlikely() [all …]
|
H A D | SemaType.cpp | 81 static void diagnoseBadTypeAttribute(Sema &S, const ParsedAttr &attr, in diagnoseBadTypeAttribute() 86 case ParsedAttr::AT_ObjCGC: in diagnoseBadTypeAttribute() 89 case ParsedAttr::AT_ObjCOwnership: in diagnoseBadTypeAttribute() 122 case ParsedAttr::AT_ObjCGC: \ 123 case ParsedAttr::AT_ObjCOwnership 127 case ParsedAttr::AT_CDecl: \ 128 case ParsedAttr::AT_FastCall: \ 129 case ParsedAttr::AT_StdCall: \ 130 case ParsedAttr::AT_ThisCall: \ 131 case ParsedAttr::AT_RegCall: \ [all …]
|
H A D | SemaObjC.cpp | 1524 static bool checkIBOutletCommon(Sema &S, Decl *D, const ParsedAttr &AL) { in checkIBOutletCommon() 1548 void SemaObjC::handleIBOutlet(Decl *D, const ParsedAttr &AL) { in handleIBOutlet() 1555 void SemaObjC::handleIBOutletCollection(Decl *D, const ParsedAttr &AL) { in handleIBOutletCollection() 1601 void SemaObjC::handleSuppresProtocolAttr(Decl *D, const ParsedAttr &AL) { in handleSuppresProtocolAttr() 1612 void SemaObjC::handleDirectAttr(Decl *D, const ParsedAttr &AL) { in handleDirectAttr() 1626 void SemaObjC::handleDirectMembersAttr(Decl *D, const ParsedAttr &AL) { in handleDirectMembersAttr() 1634 void SemaObjC::handleMethodFamilyAttr(Decl *D, const ParsedAttr &AL) { in handleMethodFamilyAttr() 1661 void SemaObjC::handleNSObject(Decl *D, const ParsedAttr &AL) { in handleNSObject() 1686 void SemaObjC::handleIndependentClass(Decl *D, const ParsedAttr &AL) { in handleIndependentClass() 1701 void SemaObjC::handleBlocksAttr(Decl *D, const ParsedAttr &AL) { in handleBlocksAttr() [all …]
|
H A D | SemaSwift.cpp | 75 void SemaSwift::handleAttrAttr(Decl *D, const ParsedAttr &AL) { in handleAttrAttr() 85 void SemaSwift::handleBridge(Decl *D, const ParsedAttr &AL) { in handleBridge() 125 void SemaSwift::handleError(Decl *D, const ParsedAttr &AL) { in handleError() 126 auto hasErrorParameter = [](Sema &S, Decl *D, const ParsedAttr &AL) -> bool { in handleError() 137 auto hasPointerResult = [](Sema &S, Decl *D, const ParsedAttr &AL) -> bool { in handleError() 151 auto hasIntegerResult = [](Sema &S, Decl *D, const ParsedAttr &AL) -> bool { in handleError() 282 void SemaSwift::handleAsyncError(Decl *D, const ParsedAttr &AL) { in handleAsyncError() 328 static bool validateSwiftFunctionName(Sema &S, const ParsedAttr &AL, in validateSwiftFunctionName() 511 const ParsedAttr &AL, bool IsAsync) { in DiagnoseName() 604 void SemaSwift::handleName(Decl *D, const ParsedAttr &AL) { in handleName() [all …]
|
H A D | SemaAVR.cpp | 23 void SemaAVR::handleInterruptAttr(Decl *D, const ParsedAttr &AL) { in handleInterruptAttr() 36 void SemaAVR::handleSignalAttr(Decl *D, const ParsedAttr &AL) { in handleSignalAttr()
|
H A D | SemaAMDGPU.cpp | 161 const ParsedAttr &AL) { in handleAMDGPUFlatWorkGroupSizeAttr() 220 void SemaAMDGPU::handleAMDGPUWavesPerEUAttr(Decl *D, const ParsedAttr &AL) { in handleAMDGPUWavesPerEUAttr() 230 void SemaAMDGPU::handleAMDGPUNumSGPRAttr(Decl *D, const ParsedAttr &AL) { in handleAMDGPUNumSGPRAttr() 240 void SemaAMDGPU::handleAMDGPUNumVGPRAttr(Decl *D, const ParsedAttr &AL) { in handleAMDGPUNumVGPRAttr() 305 const ParsedAttr &AL) { in handleAMDGPUMaxNumWorkGroupsAttr()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseHLSL.cpp | 147 ParsedAttr::Kind AttrKind = in ParseHLSLAnnotations() 148 ParsedAttr::getParsedKind(II, nullptr, ParsedAttr::AS_HLSLAnnotation); in ParseHLSLAnnotations() 152 case ParsedAttr::AT_HLSLResourceBinding: { in ParseHLSLAnnotations() 192 case ParsedAttr::AT_HLSLPackOffset: { in ParseHLSLAnnotations() 280 case ParsedAttr::UnknownAttribute: in ParseHLSLAnnotations() 283 case ParsedAttr::AT_HLSLSV_GroupIndex: in ParseHLSLAnnotations() 284 case ParsedAttr::AT_HLSLSV_DispatchThreadID: in ParseHLSLAnnotations() 292 ArgExprs.size(), ParsedAttr::Form::HLSLAnnotation()); in ParseHLSLAnnotations()
|