clang-tools  14.0.0git
Namespaces
UppercaseLiteralSuffixCheck.cpp File Reference
#include "UppercaseLiteralSuffixCheck.h"
#include "../utils/ASTUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallString.h"
Include dependency graph for UppercaseLiteralSuffixCheck.cpp:

Go to the source code of this file.

Namespaces

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

Variable Documentation

◆ FixIt

llvm::Optional<FixItHint> FixIt

Definition at line 62 of file UppercaseLiteralSuffixCheck.cpp.

◆ LiteralLocation

SourceRange LiteralLocation

Definition at line 60 of file UppercaseLiteralSuffixCheck.cpp.

◆ Name

constexpr llvm::StringLiteral Name = llvm::StringLiteral("integer")
staticconstexpr

Definition at line 27 of file UppercaseLiteralSuffixCheck.cpp.

Referenced by EntityMap::add(), clang::pp_trace::PPCallbacksTracker::appendArgument(), clang::pp_trace::PPCallbacksTracker::appendFilePathArgument(), clang::pp_trace::PPCallbacksTracker::beginCallback(), clang::doc::calculateRelativeFilePath(), clang::tidy::RenamerClangTidyCheck::checkMacro(), clang::clangd::MemoryTree::child(), clang::clangd::cls(), clang::include_fixer::YamlSymbolIndex::createFromDirectory(), clang::clangd::ClangdServer::customAction(), clang::clangd::MemoryTree::detail(), clang::tidy::RenamerClangTidyCheck::expandMacro(), clang::clangd::findDecl(), clang::clangd::findUnqualifiedDecl(), clang::clangd::func(), clang::tidy::readability::IdentifierNamingCheck::HungarianNotation::getEnumPrefix(), clang::tidy::bugprone::getName(), clang::tidy::bugprone::getNameOrUnnamed(), clang::tidy::bugprone::getNonReservedFixup(), clang::tidy::abseil::getScaleForDurationInverse(), clang::tidy::abseil::getScaleForTimeInverse(), clang::tidy::bugprone::getUnderscoreCapitalFixup(), clang::tidy::bugprone::getUnderscoreGlobalNamespaceFixup(), clang::clangd::isReserved(), clang::tidy::bugprone::isStandardSmartPointer(), clang::tidy::matchers::MatchesAnyListedNameMatcher::MatchesAnyListedNameMatcher(), clang::clangd::ns(), clang::clangd::Annotations::point(), clang::clangd::Annotations::points(), clang::pp_trace::PPCallbacksTracker::PragmaDetectMismatch(), clang::pp_trace::PPCallbacksTracker::PragmaOpenCLExtension(), clang::clangd::printName(), clang::clangd::printObjCContainer(), clang::clangd::printObjCMethod(), clang::clangd::printUsingNamespaceName(), clang::clangd::Annotations::range(), clang::clangd::Annotations::ranges(), clang::tidy::ClangTidyCheckFactories::registerCheck(), clang::tidy::ClangTidyCheckFactories::registerCheckFactory(), clang::query::LetQuery::run(), clang::clangd::AsyncTaskRunner::runAsync(), clang::clangd::sortText(), clang::tidy::bugprone::startsWithUnderscoreCapital(), clang::tidy::bugprone::startsWithUnderscoreInGlobalNamespace(), clang::clangd::StoreDiags::take(), clang::tidy::portability::trySuggestPpc(), clang::tidy::portability::trySuggestX86(), clang::clangd::var(), and CollectEntitiesVisitor::VisitNamedDecl().

◆ OldSuffix

StringRef OldSuffix

Definition at line 61 of file UppercaseLiteralSuffixCheck.cpp.

◆ SkipFirst

constexpr llvm::StringLiteral SkipFirst = llvm::StringLiteral("")
staticconstexpr

Definition at line 29 of file UppercaseLiteralSuffixCheck.cpp.

◆ Suffixes

constexpr llvm::StringLiteral Suffixes
staticconstexpr
Initial value:
=
llvm::StringLiteral("uUlLiIjJ")

Definition at line 32 of file UppercaseLiteralSuffixCheck.cpp.

Referenced by clang::tidy::utils::parseFileExtensions().