clang 22.0.0git
|
#include "clang/Parse/ParseHLSLRootSignature.h"
Public Member Functions | |
RootSignatureParser (llvm::dxbc::RootSignatureVersion Version, StringLiteral *Signature, Preprocessor &PP) | |
bool | parse () |
Consumes tokens from the Lexer and constructs the in-memory representations of the RootElements. | |
ArrayRef< RootSignatureElement > | getElements () |
Return all elements that have been parsed. |
Definition at line 30 of file ParseHLSLRootSignature.h.
clang::hlsl::RootSignatureParser::RootSignatureParser | ( | llvm::dxbc::RootSignatureVersion | Version, |
StringLiteral * | Signature, | ||
Preprocessor & | PP ) |
Definition at line 31 of file ParseHLSLRootSignature.cpp.
|
inline |
Return all elements that have been parsed.
Definition at line 43 of file ParseHLSLRootSignature.h.
bool clang::hlsl::RootSignatureParser::parse | ( | ) |
Consumes tokens from the Lexer and constructs the in-memory representations of the RootElements.
Tokens are consumed until an error is encountered or the end of the buffer.
Returns true if a parsing error is encountered.
Definition at line 37 of file ParseHLSLRootSignature.cpp.
References clang::hlsl::RootElementKeywords.