clang-tools  16.0.0git
Namespaces | Functions
PassByValueCheck.cpp File Reference
#include "PassByValueCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/Lexer.h"
#include "clang/Lex/Preprocessor.h"
Include dependency graph for PassByValueCheck.cpp:

Go to the source code of this file.


 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


static TypeMatcher clang::tidy::modernize::notTemplateSpecConstRefType ()
static TypeMatcher clang::tidy::modernize::nonConstValueType ()
static bool clang::tidy::modernize::paramReferredExactlyOnce (const CXXConstructorDecl *Ctor, const ParmVarDecl *ParamDecl)
 Whether or not ParamDecl is used exactly one time in Ctor. More...
static bool clang::tidy::modernize::hasRValueOverload (const CXXConstructorDecl *Ctor, const ParmVarDecl *Param)
 Returns true if the given constructor is part of a lvalue/rvalue reference pair, i.e. More...
static SmallVector< const ParmVarDecl *, 2 > clang::tidy::modernize::collectParamDecls (const CXXConstructorDecl *Ctor, const ParmVarDecl *ParamDecl)
 Find all references to ParamDecl across all of the redeclarations of Ctor. More...