[cfe-commits] r148611 - /cfe/trunk/lib/Sema/SemaExpr.cpp

Eli Friedman eli.friedman at gmail.com
Fri Jan 20 17:07:00 PST 2012


Author: efriedma
Date: Fri Jan 20 19:07:00 2012
New Revision: 148611

URL: http://llvm.org/viewvc/llvm-project?rev=148611&view=rev
Log:
Add obvious missing call to MarkDeclarationReferenced.


Modified:
    cfe/trunk/lib/Sema/SemaExpr.cpp

Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=148611&r1=148610&r2=148611&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Fri Jan 20 19:07:00 2012
@@ -3724,6 +3724,7 @@
 
   DeclRefExpr *ConfigDR = new (Context) DeclRefExpr(
       ConfigDecl, ConfigQTy, VK_LValue, LLLLoc);
+  MarkDeclarationReferenced(LLLLoc, ConfigDecl);
 
   return ActOnCallExpr(S, ConfigDR, LLLLoc, ExecConfig, GGGLoc, 0,
                        /*IsExecConfig=*/true);





More information about the cfe-commits mailing list