diff options
Diffstat (limited to 'Analysis/GRConstants.cpp')
-rw-r--r-- | Analysis/GRConstants.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Analysis/GRConstants.cpp b/Analysis/GRConstants.cpp index 9ec0683169..56c4504209 100644 --- a/Analysis/GRConstants.cpp +++ b/Analysis/GRConstants.cpp @@ -288,4 +288,14 @@ void GRConstants::VisitBinAdd(BinaryOperator* B) { void GRConstants::VisitBinSub(BinaryOperator* B) { AddBinding(B, GetBinding(B->getLHS()) - GetBinding(B->getRHS())); } -
\ No newline at end of file + +//===----------------------------------------------------------------------===// +// Driver. +//===----------------------------------------------------------------------===// + +namespace clang { +void RunGRConstants(CFG& cfg) { + GREngine<GRConstants> Engine(cfg); + Engine.ExecuteWorkList(); +} +} |