reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
  508   NonLoc InputLHS = lhs;
  512   if (lhs == rhs)
  531         return evalCastFromNonLoc(lhs, resultTy);
  535     switch (lhs.getSubKind()) {
  537       return makeSymExprValNN(op, lhs, rhs, resultTy);
  541       auto LPTM = lhs.castAs<nonloc::PointerToMember>(),
  554       Loc lhsL = lhs.castAs<nonloc::LocAsInteger>().getLoc();
  579           if (SymbolRef lSym = lhs.getAsLocSymbol(true))
  598       llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue();
  643         std::swap(lhs, rhs);
  648           return evalCastFromNonLoc(lhs, resultTy);
  653           return evalCastFromNonLoc(lhs, resultTy);
  661       SymbolRef Sym = lhs.castAs<nonloc::SymbolVal>().getSymbol();
  739               lhs = nonloc::SymbolVal(symIntExpr->getLHS());
  753       SVal simplifiedLhs = simplifySVal(state, lhs);
  754       if (simplifiedLhs != lhs)
  756           lhs = *simplifiedLhsAsNonLoc;
  764       if (Optional<NonLoc> V = tryRearrange(state, op, lhs, rhs, resultTy))