clang-tools 20.0.0git
Namespaces | Functions
MisplacedWideningCastCheck.cpp File Reference
#include "MisplacedWideningCastCheck.h"
#include "../utils/Matchers.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"

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 unsigned clang::tidy::bugprone::getMaxCalculationWidth (const ASTContext &Context, const Expr *E)
 
static int clang::tidy::bugprone::relativeIntSizes (BuiltinType::Kind Kind)
 
static int clang::tidy::bugprone::relativeCharSizes (BuiltinType::Kind Kind)
 
static int clang::tidy::bugprone::relativeCharSizesW (BuiltinType::Kind Kind)
 
static bool clang::tidy::bugprone::isFirstWider (BuiltinType::Kind First, BuiltinType::Kind Second)