Add obvious missing call to MarkDeclarationReferenced.

llvm-svn: 148611
This commit is contained in:
Eli Friedman 2012-01-21 01:07:00 +00:00
parent e0afc98742
commit d78a5d36d5
1 changed files with 1 additions and 0 deletions

View File

@ -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);