Skip to content

Commit 8c693f0

Browse files
committed
review: remove FIXME
- this is correct as we do want to add the newly constructed Declaration into the current decl context, such that we can retrieve it later when we look it up from the function declaration in the same context
1 parent 0990882 commit 8c693f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Parse/ParseDeclCXX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5381,7 +5381,7 @@ void Parser::ParseMicrosoftRootSignatureAttributeArgs(ParsedAttributes &Attrs) {
53815381

53825382
// Create the Root Signature
53835383
auto *SignatureDecl = HLSLRootSignatureDecl::Create(
5384-
Actions.getASTContext(), /*FIXME?*/ Actions.CurContext,
5384+
Actions.getASTContext(), /*DeclContext=*/Actions.CurContext,
53855385
RootSignatureLoc, DeclIdent, RootElements);
53865386
SignatureDecl->setImplicit();
53875387
Actions.PushOnScopeChains(SignatureDecl, getCurScope());

0 commit comments

Comments
 (0)