clang-tools 22.0.0git
ReturnConstRefFromParameterCheck.cpp File Reference
#include "ReturnConstRefFromParameterCheck.h"
#include "clang/AST/Attrs.inc"
#include "clang/AST/Expr.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"

Go to the source code of this file.

Namespaces

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

Functions

static bool clang::tidy::bugprone::isSameTypeIgnoringConst (QualType A, QualType B)
static bool clang::tidy::bugprone::isSameTypeIgnoringConstRef (QualType A, QualType B)
static bool clang::tidy::bugprone::hasSameParameterTypes (const FunctionDecl &FD, const FunctionDecl &O, const ParmVarDecl &PD)
static const Decl * clang::tidy::bugprone::findRVRefOverload (const FunctionDecl &FD, const ParmVarDecl &PD)