Home
last modified time | relevance | path

Searched refs:hasReturnValue (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DUseAnyOfAllOfCheck.cpp46 return returnStmt(hasReturnValue(cxxBoolLiteral(equals(V)))); in registerMatchers()
50 returnStmt(hasReturnValue(unless(cxxBoolLiteral(equals(true))))); in registerMatchers()
52 returnStmt(hasReturnValue(unless(cxxBoolLiteral(equals(false))))); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/linuxkernel/
DMustCheckErrsCheck.cpp28 auto ReturnToCheck = returnStmt(hasReturnValue(callExpr(callee(ErrFn)))); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DNoAutomaticMoveCheck.cpp48 returnStmt(hasReturnValue( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DReturnBracedInitListCheck.cpp38 hasDescendant(returnStmt(hasReturnValue( in registerMatchers()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp2861 hasReturnValue(integerLiteral(equals(42))))), in TEST()
2876 hasReturnValue(cxxTemporaryObjectExpr( in TEST()
2892 hasReturnValue(cxxConstructExpr(hasArgument( in TEST()
2909 hasReturnValue(cxxTemporaryObjectExpr()))), in TEST()
2916 hasReturnValue(cxxTemporaryObjectExpr()))), in TEST()
2923 hasReturnValue(cxxTemporaryObjectExpr()))), in TEST()
2930 hasReturnValue(cxxTemporaryObjectExpr()))), in TEST()
2937 hasReturnValue(cxxFunctionalCastExpr( in TEST()
2945 hasReturnValue(cxxFunctionalCastExpr( in TEST()
2954 hasReturnValue(declRefExpr(to(varDecl(hasName("a"))))))), in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMisplacedWideningCastCheck.cpp47 Finder->addMatcher(returnStmt(hasReturnValue(Cast)), this); in registerMatchers()
DNotNullTerminatedResultCheck.cpp605 hasBody(has(returnStmt(hasReturnValue(AnyOfCallOrDREWithoutInc)))))))); in registerMatchers()
/external/llvm-project/clang/unittests/Tooling/
DStencilTest.cpp342 returnStmt(hasReturnValue(ignoringImplicit(memberExpr( in TEST_F()
363 matchStmt(Snippet, returnStmt(hasReturnValue(ignoringImplicit(memberExpr( in TEST_F()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DOwningMemoryCheck.cpp167 functionDecl(hasDescendant(returnStmt(hasReturnValue(ConsideredOwner)) in registerMatchers()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp251 REGISTER_MATCHER(hasReturnValue); in RegistryMaps()
/external/llvm-project/clang/lib/Analysis/
DExprMutationAnalyzer.cpp361 returnStmt(hasReturnValue(canResolveToExpr(equalsNode(Exp)))); in findDirectMutation()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp321 REGISTER_MATCHER(hasReturnValue); in RegistryMaps()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg207 …ptor.parameterScope:parameterScope(scope=it)>) \{ <if(ruleDescriptor.hasReturnValue)>return <endif…
425 <if(ruleDescriptor.hasReturnValue)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg236 …eterScope:parameterScope()>): <returnType()> = \{ <if(ruleDescriptor.hasReturnValue)>return <endif…
448 <if(ruleDescriptor.hasReturnValue)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg300 <\ > <if(ruleDescriptor.hasReturnValue)>return <endif>self.<ruleDescriptor.grammar:delegateName()…
531 <if(ruleDescriptor.hasReturnValue)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DPython3.stg307 <\ > <if(ruleDescriptor.hasReturnValue)>return <endif>self.<ruleDescriptor.grammar:delegateName()…
538 <if(ruleDescriptor.hasReturnValue)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg255 …ows <ruleDescriptor.throwsSpec; separator=", "> { <if(ruleDescriptor.hasReturnValue)>return <endif…
485 <if(ruleDescriptor.hasReturnValue)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg213 …arameterScope:parameterScope()>):<returnType()> { <if(ruleDescriptor.hasReturnValue)>return <endif…
423 <if(ruleDescriptor.hasReturnValue)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg339 …rameterScope()>)<!throws RecognitionException !>{ <if(ruleDescriptor.hasReturnValue)>return <endif…
667 <if(ruleDescriptor.hasReturnValue)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg470 …<if(ruleDescriptor.hasReturnValue)>Result :=<endif> T<ruleDescriptor.grammar.recognizerName>(<rule…
801 <if(ruleDescriptor.hasReturnValue)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg347 …ameterScope()>) <!throws RecognitionException !>{ <if(ruleDescriptor.hasReturnValue)>return <endif…
689 <if(ruleDescriptor.hasReturnValue)>
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1969 StatementMatcher RetVal = returnStmt(hasReturnValue(binaryOperator())); in TEST()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h5315 AST_MATCHER_P(ReturnStmt, hasReturnValue, internal::Matcher<Expr>, in AST_MATCHER_P() argument
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg973 …<if(ruleDescriptor.hasReturnValue)>return <endif>m_<ruleDescriptor.grammar:delegateName()>-><ruleD…
1316 <if(ruleDescriptor.hasReturnValue)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg443 <if(ruleDescriptor.hasReturnValue)>

12