clang-tools 23.0.0git
UseUsingCheck.cpp File Reference
#include "UseUsingCheck.h"
#include "../utils/LexerUtils.h"
#include "clang/AST/DeclGroup.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TokenKinds.h"
#include "clang/Lex/Lexer.h"
#include <string>

Go to the source code of this file.

Namespaces

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

Functions

static StringRef::size_type clang::tidy::modernize::findFirstNonWhitespace (StringRef Text)
static std::optional< std::string > clang::tidy::modernize::getSourceText (CharSourceRange Range, const SourceManager &SM, const LangOptions &LangOpts)
static TokenRangeInfo clang::tidy::modernize::getTokenRangeInfo (CharSourceRange Range, const SourceManager &SM, const LangOptions &LangOpts)
static RangeTextInfo clang::tidy::modernize::getRangeTextInfo (SourceLocation Begin, SourceLocation End, const SourceManager &SM, const LangOptions &LangOpts)
static std::optional< std::string > clang::tidy::modernize::getFunctionPointerTypeText (SourceRange TypeRange, SourceLocation NameLoc, const SourceManager &SM, const LangOptions &LO)
static RangeTextInfo clang::tidy::modernize::getLeadingTextInfo (bool IsFirstTypedefInGroup, SourceRange ReplaceRange, SourceRange TypeRange, const SourceManager &SM, const LangOptions &LO)
static RangeTextInfo clang::tidy::modernize::getSuffixTextInfo (bool FunctionPointerCase, bool IsFirstTypedefInGroup, SourceLocation PrevReplacementEnd, SourceRange TypeRange, SourceLocation NameLoc, const SourceManager &SM, const LangOptions &LO)
static void clang::tidy::modernize::stripLeadingComma (RangeTextInfo &Info)

Variables

static constexpr StringRef clang::tidy::modernize::ExternCDeclName = "extern-c-decl"
static constexpr StringRef clang::tidy::modernize::ParentDeclName = "parent-decl"
static constexpr StringRef clang::tidy::modernize::TagDeclName = "tag-decl"
static constexpr StringRef clang::tidy::modernize::TypedefName = "typedef"
static constexpr StringRef clang::tidy::modernize::DeclStmtName = "decl-stmt"