@@ -5855,19 +5855,19 @@ bool HLSLBufferDecl::buffer_decls_empty() {
5855
5855
5856
5856
HLSLRootSignatureDecl::HLSLRootSignatureDecl (
5857
5857
DeclContext *DC, SourceLocation Loc, IdentifierInfo *ID,
5858
- llvm::dxbc::RootSignatureVersion RootSigVer , unsigned NumElems)
5858
+ llvm::dxbc::RootSignatureVersion Version , unsigned NumElems)
5859
5859
: NamedDecl(Decl::Kind::HLSLRootSignature, DC, Loc, DeclarationName(ID)),
5860
- RootSigVer(RootSigVer ), NumElems(NumElems) {}
5860
+ Version(Version ), NumElems(NumElems) {}
5861
5861
5862
5862
HLSLRootSignatureDecl *HLSLRootSignatureDecl::Create (
5863
5863
ASTContext &C, DeclContext *DC, SourceLocation Loc, IdentifierInfo *ID,
5864
- llvm::dxbc::RootSignatureVersion RootSigVer ,
5864
+ llvm::dxbc::RootSignatureVersion Version ,
5865
5865
ArrayRef<llvm::hlsl::rootsig::RootElement> RootElements) {
5866
5866
HLSLRootSignatureDecl *RSDecl =
5867
5867
new (C, DC,
5868
5868
additionalSizeToAlloc<llvm::hlsl::rootsig::RootElement>(
5869
5869
RootElements.size ()))
5870
- HLSLRootSignatureDecl (DC, Loc, ID, RootSigVer , RootElements.size ());
5870
+ HLSLRootSignatureDecl (DC, Loc, ID, Version , RootElements.size ());
5871
5871
auto *StoredElems = RSDecl->getElems ();
5872
5872
std::uninitialized_copy (RootElements.begin (), RootElements.end (),
5873
5873
StoredElems);
@@ -5876,10 +5876,10 @@ HLSLRootSignatureDecl *HLSLRootSignatureDecl::Create(
5876
5876
5877
5877
HLSLRootSignatureDecl *
5878
5878
HLSLRootSignatureDecl::CreateDeserialized (ASTContext &C, GlobalDeclID ID) {
5879
- HLSLRootSignatureDecl *Result = new (C, ID) HLSLRootSignatureDecl (
5880
- nullptr , SourceLocation (), nullptr ,
5881
- /* RootSigVer */ llvm::dxbc::RootSignatureVersion::V1_1,
5882
- /* NumElems=*/ 0 );
5879
+ HLSLRootSignatureDecl *Result = new (C, ID)
5880
+ HLSLRootSignatureDecl ( nullptr , SourceLocation (), nullptr ,
5881
+ /* Version */ llvm::dxbc::RootSignatureVersion::V1_1,
5882
+ /* NumElems=*/ 0 );
5883
5883
return Result;
5884
5884
}
5885
5885
0 commit comments