Home
last modified time | relevance | path

Searched refs:LiteralSourceText (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DUppercaseLiteralSuffixCheck.cpp134 const StringRef LiteralSourceText = Lexer::getSourceText( in shouldReplaceLiteralSuffix() local
140 if (!std::isdigit(static_cast<unsigned char>(LiteralSourceText.front()))) in shouldReplaceLiteralSuffix()
150 Skip = LiteralSourceText.find_first_of(LiteralType::SkipFirst); in shouldReplaceLiteralSuffix()
159 Skip = LiteralSourceText.find_first_of(LiteralType::Suffixes, /*From=*/Skip); in shouldReplaceLiteralSuffix()
169 ReplacementDsc.OldSuffix = LiteralSourceText.drop_front(Skip); in shouldReplaceLiteralSuffix()
H A DMagicNumbersCheck.h77 const StringRef LiteralSourceText = Lexer::getSourceText( in checkBoundMatch() local
83 << LiteralSourceText; in checkBoundMatch()