clang-tools
17.0.0git
|
#include "ReservedIdentifierCheck.h"
#include "../utils/Matchers.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Token.h"
#include <algorithm>
#include <cctype>
#include <optional>
Go to the source code of this file.
Namespaces | |
clang | |
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// | |
clang::tidy | |
clang::tidy::bugprone | |
Functions | |
static int | clang::tidy::bugprone::getMessageSelectIndex (StringRef Tag) |
static std::string | clang::tidy::bugprone::collapseConsecutive (StringRef Str, char C) |
static bool | clang::tidy::bugprone::hasReservedDoubleUnderscore (StringRef Name, const LangOptions &LangOpts) |
static std::optional< std::string > | clang::tidy::bugprone::getDoubleUnderscoreFixup (StringRef Name, const LangOptions &LangOpts) |
static bool | clang::tidy::bugprone::startsWithUnderscoreCapital (StringRef Name) |
static std::optional< std::string > | clang::tidy::bugprone::getUnderscoreCapitalFixup (StringRef Name) |
static bool | clang::tidy::bugprone::startsWithUnderscoreInGlobalNamespace (StringRef Name, bool IsInGlobalNamespace) |
static std::optional< std::string > | clang::tidy::bugprone::getUnderscoreGlobalNamespaceFixup (StringRef Name, bool IsInGlobalNamespace) |
static std::string | clang::tidy::bugprone::getNonReservedFixup (std::string Name) |
static std::optional< RenamerClangTidyCheck::FailureInfo > | clang::tidy::bugprone::getFailureInfoImpl (StringRef Name, bool IsInGlobalNamespace, const LangOptions &LangOpts, bool Invert, ArrayRef< StringRef > AllowedIdentifiers) |
Variables | |
static const char | clang::tidy::bugprone::DoubleUnderscoreTag [] = "du" |
static const char | clang::tidy::bugprone::UnderscoreCapitalTag [] = "uc" |
static const char | clang::tidy::bugprone::GlobalUnderscoreTag [] = "global-under" |
static const char | clang::tidy::bugprone::NonReservedTag [] = "non-reserved" |
static const char | clang::tidy::bugprone::Message [] |