clang-tools 22.0.0git
|
#include "UppercaseLiteralSuffixCheck.h"
#include "../utils/ASTUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.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 |
Functions | |
static std::optional< SourceLocation > | clang::tidy::readability::getMacroAwareLocation (SourceLocation Loc, const SourceManager &SM) |
static std::optional< SourceRange > | clang::tidy::readability::getMacroAwareSourceRange (SourceRange Loc, const SourceManager &SM) |
static std::optional< std::string > | clang::tidy::readability::getNewSuffix (llvm::StringRef OldSuffix, const std::vector< StringRef > &NewSuffixes) |
template<typename LiteralType> | |
static std::optional< NewSuffix > | clang::tidy::readability::shouldReplaceLiteralSuffix (const Expr &Literal, const std::vector< StringRef > &NewSuffixes, const SourceManager &SM, const LangOptions &LO) |