forked from OSchip/llvm-project
Add obvious missing call to MarkDeclarationReferenced.
llvm-svn: 148611
This commit is contained in:
parent
e0afc98742
commit
d78a5d36d5
|
@ -3724,6 +3724,7 @@ Sema::ActOnCUDAExecConfigExpr(Scope *S, SourceLocation LLLLoc,
|
|||
|
||||
DeclRefExpr *ConfigDR = new (Context) DeclRefExpr(
|
||||
ConfigDecl, ConfigQTy, VK_LValue, LLLLoc);
|
||||
MarkDeclarationReferenced(LLLLoc, ConfigDecl);
|
||||
|
||||
return ActOnCallExpr(S, ConfigDR, LLLLoc, ExecConfig, GGGLoc, 0,
|
||||
/*IsExecConfig=*/true);
|
||||
|
|
Loading…
Reference in New Issue