clang-tools 22.0.0git
MacroToEnumCheck.cpp File Reference
#include "MacroToEnumCheck.h"
#include "IntegralLiteralExpressionMatcher.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/STLExtras.h"
#include <cassert>
#include <cctype>
#include <string>

Go to the source code of this file.

Classes

class  clang::tidy::modernize::MacroToEnumCallbacks

Namespaces

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

Functions

static bool clang::tidy::modernize::hasOnlyComments (SourceLocation Loc, const LangOptions &Options, StringRef Text)
static StringRef clang::tidy::modernize::getTokenName (const Token &Tok)
template<size_t N>
static bool clang::tidy::modernize::textEquals (const char(&Needle)[N], const char *HayStack)
template<size_t N>
static size_t clang::tidy::modernize::len (const char(&)[N])
static bool clang::tidy::modernize::isValid (SourceRange Range)
static bool clang::tidy::modernize::empty (SourceRange Range)