clang-tools 20.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/SmallString.h"
#include <cctype>
#include <optional>

Go to the source code of this file.

Namespaces

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

Variable Documentation

◆ FixIt

std::optional<FixItHint> FixIt

◆ LiteralLocation

SourceRange LiteralLocation

Definition at line 59 of file UppercaseLiteralSuffixCheck.cpp.

◆ Name

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

Definition at line 26 of file UppercaseLiteralSuffixCheck.cpp.

◆ OldSuffix

StringRef OldSuffix

Definition at line 60 of file UppercaseLiteralSuffixCheck.cpp.

◆ SkipFirst

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

Definition at line 28 of file UppercaseLiteralSuffixCheck.cpp.

◆ Suffixes

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

Definition at line 31 of file UppercaseLiteralSuffixCheck.cpp.

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