diff options
author | Anna Zaks <ganna@apple.com> | 2012-04-20 21:58:56 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-04-20 21:58:56 +0000 |
commit | 5a878b2cabb940bf3c1ac420a52cac305765e3e2 (patch) | |
tree | 236499c9d898906db2b55d12bbebee42709b9168 | |
parent | 05b3385f78939b3c6f328153b0011d974a407064 (diff) |
[analyzer] Constify
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155242 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h b/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h index 59136fc314..f5984021d8 100644 --- a/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h +++ b/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h @@ -188,10 +188,10 @@ public: // 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; } |