#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Expr.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
#include <optional>
namespace clang {
namespace ento {
bool containsMacro(const Stmt *S) { … }
bool containsEnum(const Stmt *S) { … }
bool containsStaticLocal(const Stmt *S) { … }
bool containsBuiltinOffsetOf(const Stmt *S) { … }
std::pair<const clang::VarDecl *, const clang::Expr *>
parseAssignment(const Stmt *S) { … }
Nullability getNullabilityAnnotation(QualType Type) { … }
std::optional<int> tryExpandAsInteger(StringRef Macro, const Preprocessor &PP) { … }
OperatorKind operationKindFromOverloadedOperator(OverloadedOperatorKind OOK,
bool IsBinary) { … }
std::optional<SVal> getPointeeVal(SVal PtrSVal, ProgramStateRef State) { … }
bool isWithinStdNamespace(const Decl *D) { … }
}
}