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 {
4654
4654
let Documentation = [HLSLRootSignatureDocs];
4655
4655
let AdditionalMembers = [{
4656
4656
private:
4657
- ArrayRef<llvm::hlsl::root_signature ::RootElement> RootElements;
4657
+ ArrayRef<llvm::hlsl::rootsig ::RootElement> RootElements;
4658
4658
public:
4659
- void setElements(ArrayRef<llvm::hlsl::root_signature ::RootElement> Elements) {
4659
+ void setElements(ArrayRef<llvm::hlsl::rootsig ::RootElement> Elements) {
4660
4660
RootElements = Elements;
4661
4661
}
4662
4662
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) {
664
664
if (Lexer.Lex (Tokens))
665
665
return ;
666
666
667
- SmallVector<llvm::hlsl::root_signature ::RootElement> Elements;
667
+ SmallVector<llvm::hlsl::rootsig ::RootElement> Elements;
668
668
hlsl::RootSignatureParser Parser (Elements, Tokens,
669
- SemaRef.getPreprocessor ().getDiagnostics ());
669
+ SemaRef.getPreprocessor ().getDiagnostics ());
670
670
if (Parser.Parse ())
671
671
return ;
672
672
673
673
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);
676
676
for (unsigned I = 0 ; I < N; ++I)
677
677
RootElements[I] = Elements[I];
678
678
679
679
auto *Result = ::new (getASTContext ())
680
680
HLSLRootSignatureAttr (getASTContext (), AL, Signature);
681
- Result->setElements (ArrayRef<llvm::hlsl::root_signature ::RootElement>(RootElements));
681
+ Result->setElements (ArrayRef<llvm::hlsl::rootsig ::RootElement>(RootElements));
682
682
D->addAttr (Result);
683
683
}
684
684
You can’t perform that action at this time.
0 commit comments