clang-tools 22.0.0git
UnnecessaryValueParamCheck.cpp File Reference
#include "UnnecessaryValueParamCheck.h"
#include "../utils/DeclRefExprUtils.h"
#include "../utils/FixItHintUtils.h"
#include "../utils/Matchers.h"
#include "../utils/OptionsUtils.h"
#include "../utils/TypeTraits.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/Lexer.h"
#include "clang/Lex/Preprocessor.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::performance

Functions

static std::string clang::tidy::performance::paramNameOrIndex (StringRef Name, size_t Index)
static bool clang::tidy::performance::hasLoopStmtAncestor (const DeclRefExpr &DeclRef, const Decl &Decl, ASTContext &Context)