clang 20.0.0git
Functions
CheckerContext.cpp File Reference
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/Basic/Builtins.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/StringExtras.h"

Go to the source code of this file.

Functions

static bool evalComparison (SVal LHSVal, BinaryOperatorKind ComparisonOp, SVal RHSVal, ProgramStateRef State)
 Evaluate comparison and return true if it's known that condition is true.
 

Function Documentation

◆ evalComparison()

static bool evalComparison ( SVal  LHSVal,
BinaryOperatorKind  ComparisonOp,
SVal  RHSVal,
ProgramStateRef  State 
)
static