[cfe-commits] r155242 - /cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h

Anna Zaks ganna at apple.com
Fri Apr 20 14:58:56 PDT 2012


Author: zaks
Date: Fri Apr 20 16:58:56 2012
New Revision: 155242

URL: http://llvm.org/viewvc/llvm-project?rev=155242&view=rev
Log:
[analyzer] Constify

Modified:
    cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h

Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h?rev=155242&r1=155241&r2=155242&view=diff
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h Fri Apr 20 16:58:56 2012
@@ -188,10 +188,10 @@
 
 // TODO: Turn into a calss.
 struct NodeBuilderContext {
-  CoreEngine &Eng;
+  const CoreEngine &Eng;
   const CFGBlock *Block;
   ExplodedNode *Pred;
-  NodeBuilderContext(CoreEngine &E, const CFGBlock *B, ExplodedNode *N)
+  NodeBuilderContext(const CoreEngine &E, const CFGBlock *B, ExplodedNode *N)
     : Eng(E), Block(B), Pred(N) { assert(B); assert(!N->isSink()); }
 
   ExplodedNode *getPred() const { return Pred; }





More information about the cfe-commits mailing list