clang-tools 20.0.0git
|
#include "EnumInitialValueCheck.h"
#include "../utils/LexerUtils.h"
#include "clang/AST/Decl.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
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::tidy::readability::isNoneEnumeratorsInitialized (const EnumDecl &Node) |
static bool | clang::tidy::readability::isOnlyFirstEnumeratorInitialized (const EnumDecl &Node) |
static bool | clang::tidy::readability::areAllEnumeratorsInitialized (const EnumDecl &Node) |
static bool | clang::tidy::readability::isInitializedByLiteral (const EnumConstantDecl *Enumerator) |
Check if Enumerator is initialized with a (potentially negated) IntegerLiteral . | |
static void | clang::tidy::readability::cleanInitialValue (DiagnosticBuilder &Diag, const EnumConstantDecl *ECD, const SourceManager &SM, const LangOptions &LangOpts) |