Lines Matching refs:Decl

129 static BuiltinTypeDeclBuilder setupBufferType(CXXRecordDecl *Decl, Sema &S,  in setupBufferType()  argument
132 return BuiltinTypeDeclBuilder(S, Decl) in setupBufferType()
264 CXXRecordDecl *Decl; in defineHLSLTypesWithForwardDeclarations() local
270 Decl = BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, "Buffer") in defineHLSLTypesWithForwardDeclarations()
274 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
275 setupBufferType(Decl, *SemaPtr, ResourceClass::SRV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
282 Decl = BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, "RWBuffer") in defineHLSLTypesWithForwardDeclarations()
286 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
287 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
294 Decl = in defineHLSLTypesWithForwardDeclarations()
298 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
299 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/true, in defineHLSLTypesWithForwardDeclarations()
306 Decl = BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, "StructuredBuffer") in defineHLSLTypesWithForwardDeclarations()
309 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
310 setupBufferType(Decl, *SemaPtr, ResourceClass::SRV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
317 Decl = BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, "RWStructuredBuffer") in defineHLSLTypesWithForwardDeclarations()
320 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
321 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
330 Decl = in defineHLSLTypesWithForwardDeclarations()
334 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
335 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
341 Decl = in defineHLSLTypesWithForwardDeclarations()
345 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
346 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
352 Decl = BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, in defineHLSLTypesWithForwardDeclarations()
356 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
357 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/true, in defineHLSLTypesWithForwardDeclarations()
366 Decl = BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, "ByteAddressBuffer") in defineHLSLTypesWithForwardDeclarations()
368 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
369 setupBufferType(Decl, *SemaPtr, ResourceClass::SRV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
373 Decl = BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, "RWByteAddressBuffer") in defineHLSLTypesWithForwardDeclarations()
375 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
376 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/false, in defineHLSLTypesWithForwardDeclarations()
380 Decl = BuiltinTypeDeclBuilder(*SemaPtr, HLSLNamespace, in defineHLSLTypesWithForwardDeclarations()
383 onCompletion(Decl, [this](CXXRecordDecl *Decl) { in defineHLSLTypesWithForwardDeclarations() argument
384 setupBufferType(Decl, *SemaPtr, ResourceClass::UAV, /*IsROV=*/true, in defineHLSLTypesWithForwardDeclarations()