clang-tools 22.0.0git
SuspiciousMemoryComparisonCheck.cpp File Reference
#include "SuspiciousMemoryComparisonCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::tidy
namespace  clang::tidy::bugprone

Functions

static std::optional< uint64_t > clang::tidy::bugprone::tryEvaluateSizeExpr (const Expr *SizeExpr, const ASTContext &Ctx)