clang-tools 19.0.0git
Namespaces | Functions | Variables
MagicNumbersCheck.cpp File Reference
#include "MagicNumbersCheck.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTTypeTraits.h"
#include "clang/AST/Type.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "llvm/ADT/STLExtras.h"
#include <algorithm>

Go to the source code of this file.

Namespaces

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

Functions

static bool clang::isUsedToInitializeAConstant (const MatchFinder::MatchResult &Result, const DynTypedNode &Node)
 
static bool clang::isUsedToDefineATypeAlias (const MatchFinder::MatchResult &Result, const DynTypedNode &Node)
 
static bool clang::isUsedToDefineABitField (const MatchFinder::MatchResult &Result, const DynTypedNode &Node)
 

Variables

const char clang::tidy::readability::DefaultIgnoredIntegerValues [] = "1;2;3;4;"
 
const char clang::tidy::readability::DefaultIgnoredFloatingPointValues [] = "1.0;100.0;"