clang-tools  14.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"
Include dependency graph for MisplacedWideningCastCheck.cpp:

Go to the source code of this file.

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::tidy
 
 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)