clang-tools 20.0.0git
|
#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 <algorithm>
#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) |
static bool | clang::tidy::modernize::isValid (SourceRange Range) |
static bool | clang::tidy::modernize::empty (SourceRange Range) |
int ConditionScopes = 0 |
Definition at line 98 of file MacroToEnumCheck.cpp.
const MacroDirective* Directive |
Definition at line 88 of file MacroToEnumCheck.cpp.
Referenced by clang::clangd::ParsedAST::build(), clang::tidy::openmp::UseDefaultNoneCheck::check(), clang::clangd::IncludeFixer::IncludeFixer(), and clang::clangd::IncludeInserter::insert().
IncludeGuard GuardScanner = IncludeGuard::None |
Definition at line 100 of file MacroToEnumCheck.cpp.
unsigned int LastLine = 0 |
Definition at line 99 of file MacroToEnumCheck.cpp.
Referenced by clang::clangd::TokenStream::finalize(), clang::clangd::TokenStream::print(), and clang::clangd::renameRangeAdjustmentCost().
SourceLocation LastMacroLocation |
Definition at line 101 of file MacroToEnumCheck.cpp.
Token Name |
Definition at line 87 of file MacroToEnumCheck.cpp.