clang-tools 22.0.0git
EnumSizeCheck.cpp File Reference
#include "EnumSizeCheck.h"
#include "../utils/Matchers.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include <algorithm>
#include <cinttypes>
#include <cstdint>
#include <limits>
#include <utility>

Go to the source code of this file.

Namespaces

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

Functions

static std::pair< const char *, std::uint32_t > clang::tidy::performance::getNewType (std::size_t Size, std::uint64_t Min, std::uint64_t Max) noexcept