clang-tools 22.0.0git
AvoidCStyleCastsCheck.cpp File Reference
#include "AvoidCStyleCastsCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Lex/Lexer.h"

Go to the source code of this file.

Namespaces

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

Functions

static bool clang::tidy::google::readability::needsConstCast (QualType SourceType, QualType DestType)
static bool clang::tidy::google::readability::pointedUnqualifiedTypesAreEqual (QualType T1, QualType T2)
static clang::CharSourceRange clang::tidy::google::readability::getReplaceRange (const ExplicitCastExpr *Expr)
static StringRef clang::tidy::google::readability::getDestTypeString (const SourceManager &SM, const LangOptions &LangOpts, const ExplicitCastExpr *Expr)
static bool clang::tidy::google::readability::sameTypeAsWritten (QualType X, QualType Y)