#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.
|
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, bool IsMacro) |
|
static std::optional< std::string > | clang::tidy::bugprone::getUnderscoreGlobalNamespaceFixup (StringRef Name, bool IsInGlobalNamespace, bool IsMacro) |
|
static std::string | clang::tidy::bugprone::getNonReservedFixup (std::string Name) |
|
static std::optional< RenamerClangTidyCheck::FailureInfo > | clang::tidy::bugprone::getFailureInfoImpl (StringRef Name, bool IsInGlobalNamespace, bool IsMacro, const LangOptions &LangOpts, bool Invert, ArrayRef< llvm::Regex > AllowedIdentifiers) |
|