Home
last modified time | relevance | path

Searched refs:isReferenceToConst (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DDeclRefExprUtils.cpp61 qualType(anyOf(matchers::isReferenceToConst(), in constReferenceDeclRefExprs()
74 has(varDecl(hasType(qualType(matchers::isReferenceToConst())), in constReferenceDeclRefExprs()
125 parmVarDecl(hasType(matchers::isReferenceToConst()))); in isCopyConstructorArgument()
139 parmVarDecl(hasType(matchers::isReferenceToConst()))); in isCopyAssignmentArgument()
H A DMatchers.h41 AST_MATCHER_FUNCTION(ast_matchers::TypeMatcher, isReferenceToConst) { in AST_MATCHER_FUNCTION() argument
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DUnnecessaryCopyInitialization.cpp87 cxxMethodDecl(returns(hasCanonicalType(matchers::isReferenceToConst()))) in AST_MATCHER_FUNCTION_P()
106 matchers::isReferenceToConst()))) in AST_MATCHER_FUNCTION()