#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/Basic/Builtins.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/StringExtras.h"
usingnamespaceclang;
usingnamespaceento;
const FunctionDecl *CheckerContext::getCalleeDecl(const CallExpr *CE) const { … }
StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { … }
StringRef CheckerContext::getDeclDescription(const Decl *D) { … }
bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD,
StringRef Name) { … }
bool CheckerContext::isHardenedVariantOf(const FunctionDecl *FD,
StringRef Name) { … }
StringRef CheckerContext::getMacroNameOrSpelling(SourceLocation &Loc) { … }
static bool evalComparison(SVal LHSVal, BinaryOperatorKind ComparisonOp,
SVal RHSVal, ProgramStateRef State) { … }
bool CheckerContext::isGreaterOrEqual(const Expr *E, unsigned long long Val) { … }
bool CheckerContext::isNegative(const Expr *E) { … }