reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  477   REGISTER_MATCHER(returns);
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp
  250                                                returns(nonConstPointerType()))),
  358                                              returns(nonConstReferenceType()))),
tools/clang/tools/extra/clang-tidy/android/CloexecAccept4Check.cpp
   26                        functionDecl(returns(isInteger()), hasName("accept4"),
tools/clang/tools/extra/clang-tidy/android/CloexecAcceptCheck.cpp
   25                        functionDecl(returns(isInteger()), hasName("accept"),
tools/clang/tools/extra/clang-tidy/android/CloexecCreatCheck.cpp
   23                        functionDecl(isExternC(), returns(isInteger()),
tools/clang/tools/extra/clang-tidy/android/CloexecDupCheck.cpp
   21                        functionDecl(returns(isInteger()), hasName("dup"),
tools/clang/tools/extra/clang-tidy/android/CloexecEpollCreate1Check.cpp
   22       Finder, functionDecl(returns(isInteger()), hasName("epoll_create1"),
tools/clang/tools/extra/clang-tidy/android/CloexecEpollCreateCheck.cpp
   21       Finder, functionDecl(returns(isInteger()), hasName("epoll_create"),
tools/clang/tools/extra/clang-tidy/android/CloexecFopenCheck.cpp
   24                        functionDecl(isExternC(), returns(asString("FILE *")),
tools/clang/tools/extra/clang-tidy/android/CloexecInotifyInit1Check.cpp
   22       Finder, functionDecl(returns(isInteger()), hasName("inotify_init1"),
tools/clang/tools/extra/clang-tidy/android/CloexecInotifyInitCheck.cpp
   21       Finder, functionDecl(returns(isInteger()), hasName("inotify_init")));
tools/clang/tools/extra/clang-tidy/android/CloexecMemfdCreateCheck.cpp
   20       Finder, functionDecl(returns(isInteger()), hasName("memfd_create"),
tools/clang/tools/extra/clang-tidy/android/CloexecOpenCheck.cpp
   22                        functionDecl(isExternC(), returns(isInteger()),
   27                        functionDecl(isExternC(), returns(isInteger()),
tools/clang/tools/extra/clang-tidy/android/CloexecPipe2Check.cpp
   22                        functionDecl(returns(isInteger()), hasName("pipe2"),
tools/clang/tools/extra/clang-tidy/android/CloexecPipeCheck.cpp
   21                        functionDecl(returns(isInteger()), hasName("pipe"),
tools/clang/tools/extra/clang-tidy/android/CloexecSocketCheck.cpp
   21                        functionDecl(isExternC(), returns(isInteger()),
tools/clang/tools/extra/clang-tidy/boost/UseToStringCheck.cpp
   31               returns(hasDeclaration(classTemplateSpecializationDecl(
tools/clang/tools/extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
   57                    unless(returns(voidType())),
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp
   68                 functionDecl(returns(qualType(hasDeclaration(OwnerDecl)))))),
  162                    unless(returns(qualType(hasDeclaration(OwnerDecl)))))
tools/clang/tools/extra/clang-tidy/fuchsia/TrailingReturnCheck.cpp
   37                    unless(anyOf(returns(decltypeType()),
tools/clang/tools/extra/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp
   26   const auto HasGoodReturnType = cxxMethodDecl(returns(lValueReferenceType(
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp
  172                   returns(qualType(unless(hasCanonicalType(referenceType())))
  174                   returns(
tools/clang/tools/extra/clang-tidy/modernize/ReturnBracedInitListCheck.cpp
   39                    returns(unless(anyOf(builtinType(), autoType()))),
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp
  295                           returns(anyOf(ST, pointsTo(ST), references(ST))))));
tools/clang/tools/extra/clang-tidy/modernize/UseNodiscardCheck.cpp
  103                     returns(voidType()), isNoReturn(), isOverloadedOperator(),
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
  375   auto F = functionDecl(unless(anyOf(hasTrailingReturn(), returns(voidType()),
  376                                      returns(autoType()), cxxConversionDecl(),
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
   49       cxxMemberCallExpr(callee(cxxMethodDecl(returns(ConstReference))),
   52       callExpr(callee(functionDecl(returns(ConstReference))),
tools/clang/tools/extra/clang-tidy/readability/ConstReturnTypeCheck.cpp
  100       functionDecl(returns(isConstQualified()), isDefinition()).bind("func"),
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
   40                       returns(qualType(isInteger(), unless(booleanType()))))
   43                                 hasName("empty"), returns(booleanType()))
tools/clang/tools/extra/clang-tidy/readability/RedundantControlFlowCheck.cpp
   36           isDefinition(), returns(voidType()),
tools/clang/tools/extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp
   29                  returns(qualType(pointsTo(type().bind("getType")))))))
   42                         returns(qualType(pointsTo(type().bind("op->Type")))))),
   43       has(cxxMethodDecl(hasName("operator*"), returns(qualType(references(
   62       recordDecl(Smartptr, has(cxxConversionDecl(returns(booleanType()))))));
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
 2144                       cxxMethodDecl(returns(booleanType()))));
 2146                          cxxMethodDecl(returns(booleanType()))));
 2151                       cxxMethodDecl(returns(voidType()))));
 2156                       cxxMethodDecl(returns(realFloatingPointType()))));
 2158                          cxxMethodDecl(returns(realFloatingPointType()))));
 2160                       cxxMethodDecl(returns(realFloatingPointType()))));
 2336     functionDecl(returns(qualType().bind("type")),
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
  776                       functionDecl(returns(asString("int")))));
  778                          functionDecl(returns(asString("float")))));
  780                       functionDecl(returns(hasDeclaration(