Skip to content

Commit 27728c2

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 9fe54ea commit 27728c2

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
@@ -5279,7 +5279,7 @@ void Parser::ParseMicrosoftRootSignatureAttributeArgs(ParsedAttributes &Attrs) {
52795279

52805280
// Create the Root Signature
52815281
auto *SignatureDecl = HLSLRootSignatureDecl::Create(
5282-
Actions.getASTContext(), /*FIXME?*/ Actions.CurContext,
5282+
Actions.getASTContext(), /*DeclContext=*/Actions.CurContext,
52835283
RootSignatureLoc, DeclIdent, RootElements);
52845284
SignatureDecl->setImplicit();
52855285
Actions.PushOnScopeChains(SignatureDecl, getCurScope());

0 commit comments

Comments
 (0)