1 //== GRTransferFuncs.cpp - Path-Sens. Transfer Functions Interface -*- C++ -*--=
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines GRTransferFuncs, which provides a base-class that
11 // defines an interface for transfer functions used by GRExprEngine.
13 //===----------------------------------------------------------------------===//
15 #include "clang/Analysis/PathSensitive/GRTransferFuncs.h"
16 #include "clang/Analysis/PathSensitive/GRExprEngine.h"
18 using namespace clang;
20 void GRTransferFuncs::EvalBinOpNN(GRStateSet& OStates,
22 const GRState *St, Expr* Ex,
23 BinaryOperator::Opcode Op,
24 NonLoc L, NonLoc R, QualType T) {
26 OStates.Add(St->bindExpr(Ex, DetermEvalBinOpNN(Eng, Op, L, R, T)));