summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-01-21 01:07:00 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-01-21 01:07:00 +0000
commitd78a5d36d50361abd7b2b9142e3d090eeb542352 (patch)
tree9d61925bb0f4a80d6917fa51490396097cbacb29 /clang/lib/Sema
parente0afc98742422e99f7ed4c5f82812ab64781d7e7 (diff)
downloadbcm5719-llvm-d78a5d36d50361abd7b2b9142e3d090eeb542352.tar.gz
bcm5719-llvm-d78a5d36d50361abd7b2b9142e3d090eeb542352.zip
Add obvious missing call to MarkDeclarationReferenced.
llvm-svn: 148611
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index a7910aa28e2..613fb73c952 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -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);
OpenPOWER on IntegriCloud