-
Notifications
You must be signed in to change notification settings - Fork 14.8k
[NFC][HLSL] Move Sema work from ParseMicrosoftRootSignatureAttributeArgs
#143184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
f8b165e
bc9bb26
f7f729d
6e3af13
2826346
48ac876
dc6b04f
546a61a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3619,6 +3619,19 @@ class Sema final : public SemaBase { | |
SourceLocation NameLoc, | ||
bool IsTemplateTypeArg); | ||
|
||
/// Computes the unique Root Signature identifier from the given signature, | ||
/// then lookup if there is a previousy created Root Signature decl. | ||
/// | ||
/// Returns the identifier and if it was found | ||
std::pair<IdentifierInfo *, bool> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: consider using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If it is not found we still want to return it so that we don't need to re-compute it in |
||
ActOnStartRootSignatureDecl(StringRef Signature); | ||
|
||
/// Creates the Root Signature decl of the parsed Root Signature elements | ||
/// onto the AST and push it onto current Scope | ||
void ActOnFinishRootSignatureDecl( | ||
SourceLocation Loc, IdentifierInfo *DeclIdent, | ||
SmallVector<llvm::hlsl::rootsig::RootElement> &Elements); | ||
|
||
class NameClassification { | ||
NameClassificationKind Kind; | ||
union { | ||
|
Uh oh!
There was an error while loading. Please reload this page.