зеркало из https://github.com/microsoft/clang-1.git
[analyzer] Constify
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
05b3385f78
Коммит
5a878b2cab
|
@ -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; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче