File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4654,9 +4654,9 @@ def HLSLRootSignature : Attr {
46544654 let Documentation = [HLSLRootSignatureDocs];
46554655 let AdditionalMembers = [{
46564656private:
4657- ArrayRef<llvm::hlsl::root_signature ::RootElement> RootElements;
4657+ ArrayRef<llvm::hlsl::rootsig ::RootElement> RootElements;
46584658public:
4659- void setElements(ArrayRef<llvm::hlsl::root_signature ::RootElement> Elements) {
4659+ void setElements(ArrayRef<llvm::hlsl::rootsig ::RootElement> Elements) {
46604660 RootElements = Elements;
46614661 }
46624662 auto getElements() const { return RootElements; }
Original file line number Diff line number Diff line change @@ -664,21 +664,21 @@ void SemaHLSL::handleRootSignatureAttr(Decl *D, const ParsedAttr &AL) {
664664 if (Lexer.Lex (Tokens))
665665 return ;
666666
667- SmallVector<llvm::hlsl::root_signature ::RootElement> Elements;
667+ SmallVector<llvm::hlsl::rootsig ::RootElement> Elements;
668668 hlsl::RootSignatureParser Parser (Elements, Tokens,
669- SemaRef.getPreprocessor ().getDiagnostics ());
669+ SemaRef.getPreprocessor ().getDiagnostics ());
670670 if (Parser.Parse ())
671671 return ;
672672
673673 unsigned N = Elements.size ();
674- auto RootElements =
675- MutableArrayRef<llvm::hlsl::root_signature::RootElement>(:: new (getASTContext ()) llvm::hlsl::root_signature ::RootElement[N], N);
674+ auto RootElements = MutableArrayRef<llvm::hlsl::rootsig::RootElement>(
675+ :: new (getASTContext ()) llvm::hlsl::rootsig ::RootElement[N], N);
676676 for (unsigned I = 0 ; I < N; ++I)
677677 RootElements[I] = Elements[I];
678678
679679 auto *Result = ::new (getASTContext ())
680680 HLSLRootSignatureAttr (getASTContext (), AL, Signature);
681- Result->setElements (ArrayRef<llvm::hlsl::root_signature ::RootElement>(RootElements));
681+ Result->setElements (ArrayRef<llvm::hlsl::rootsig ::RootElement>(RootElements));
682682 D->addAttr (Result);
683683}
684684
You can’t perform that action at this time.
0 commit comments