clang-tools 20.0.0git
|
#include "ConstReturnTypeCheck.h"
#include "../utils/LexerUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Lex/Lexer.h"
#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< Token > | clang::tidy::readability::findConstToRemove (const FunctionDecl *Def, const MatchFinder::MatchResult &Result) |
static CheckResult | clang::tidy::readability::checkDef (const clang::FunctionDecl *Def, const MatchFinder::MatchResult &MatchResult) |
CharSourceRange ConstRange |
Definition at line 60 of file ConstReturnTypeCheck.cpp.
llvm::SmallVector<clang::SourceLocation, 4> DeclLocs |
Definition at line 66 of file ConstReturnTypeCheck.cpp.
llvm::SmallVector<clang::FixItHint, 4> Hints |
Definition at line 63 of file ConstReturnTypeCheck.cpp.