Home
last modified time | relevance | path

Searched refs:returnStmt (Results 1 – 25 of 688) sorted by relevance

12345678910>>...28

/dports/www/gohugo/hugo-0.91.2/vendor/github.com/tdewolff/minify/v2/js/
H A Dstmtlist.go141 } else if returnStmt, ok := list[i].(*js.ReturnStmt); ok && returnStmt.Value != nil {
142 returnStmt.Value = &js.BinaryExpr{Op: js.CommaToken, X: left.Value, Y: returnStmt.Value}
233 if returnStmt, ok := list[j].(*js.ReturnStmt); ok {
234 if returnStmt.Value == nil {
242 returnStmt.Value = condExpr(ifStmt.Cond, left.Value, returnStmt.Value)
243 list[j-1] = returnStmt
247 returnStmt.Value = condExpr(ifStmt.Cond, returnStmt.Value, left.Value)
248 list[j-1] = returnStmt
274 if returnStmt, ok := list[j-1].(*js.ReturnStmt); ok {
275 if returnStmt.Value == nil || m.isUndefined(returnStmt.Value) {
[all …]
/dports/textproc/minify/minify-2.9.22/js/
H A Dstmtlist.go141 } else if returnStmt, ok := list[i].(*js.ReturnStmt); ok && returnStmt.Value != nil {
142 returnStmt.Value = &js.BinaryExpr{Op: js.CommaToken, X: left.Value, Y: returnStmt.Value}
233 if returnStmt, ok := list[j].(*js.ReturnStmt); ok {
234 if returnStmt.Value == nil {
242 returnStmt.Value = condExpr(ifStmt.Cond, left.Value, returnStmt.Value)
243 list[j-1] = returnStmt
247 returnStmt.Value = condExpr(ifStmt.Cond, returnStmt.Value, left.Value)
248 list[j-1] = returnStmt
274 if returnStmt, ok := list[j-1].(*js.ReturnStmt); ok {
275 if returnStmt.Value == nil || m.isUndefined(returnStmt.Value) {
[all …]
/dports/www/miniflux/v2-2.0.35/vendor/github.com/tdewolff/minify/v2/js/
H A Dstmtlist.go141 } else if returnStmt, ok := list[i].(*js.ReturnStmt); ok && returnStmt.Value != nil {
142 returnStmt.Value = &js.BinaryExpr{Op: js.CommaToken, X: left.Value, Y: returnStmt.Value}
233 if returnStmt, ok := list[j].(*js.ReturnStmt); ok {
234 if returnStmt.Value == nil {
242 returnStmt.Value = condExpr(ifStmt.Cond, left.Value, returnStmt.Value)
243 list[j-1] = returnStmt
247 returnStmt.Value = condExpr(ifStmt.Cond, returnStmt.Value, left.Value)
248 list[j-1] = returnStmt
274 if returnStmt, ok := list[j-1].(*js.ReturnStmt); ok {
275 if returnStmt.Value == nil || m.isUndefined(returnStmt.Value) {
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/compilerplugins/clang/
H A Dreturnconstant.cxx146 bool ReturnConstant::VisitReturnStmt(ReturnStmt const* returnStmt) in VisitReturnStmt() argument
148 if (ignoreLocation(returnStmt)) in VisitReturnStmt()
154 if (!returnStmt->getRetValue()) in VisitReturnStmt()
156 if (returnStmt->getRetValue()->isTypeDependent()) in VisitReturnStmt()
161 if (const UnaryOperator* unaryOp = dyn_cast<UnaryOperator>(returnStmt->getRetValue())) in VisitReturnStmt()
169 rContext.values.insert(getExprValue(returnStmt->getRetValue())); in VisitReturnStmt()
H A Dstringstatic.cxx137 bool StringStatic::VisitReturnStmt(ReturnStmt const * returnStmt) in VisitReturnStmt() argument
139 if (ignoreLocation(returnStmt)) { in VisitReturnStmt()
142 if (!returnStmt->getRetValue()) { in VisitReturnStmt()
145 DeclRefExpr const * declRef = dyn_cast<DeclRefExpr>(returnStmt->getRetValue()); in VisitReturnStmt()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/compilerplugins/clang/
H A Dreturnconstant.cxx148 bool ReturnConstant::VisitReturnStmt(ReturnStmt const* returnStmt) in VisitReturnStmt() argument
150 if (ignoreLocation(returnStmt)) in VisitReturnStmt()
156 if (!returnStmt->getRetValue()) in VisitReturnStmt()
158 if (returnStmt->getRetValue()->isTypeDependent()) in VisitReturnStmt()
163 if (const UnaryOperator* unaryOp = dyn_cast<UnaryOperator>(returnStmt->getRetValue())) in VisitReturnStmt()
171 rContext.values.insert(getExprValue(returnStmt->getRetValue())); in VisitReturnStmt()
H A Dstringstatic.cxx125 bool StringStatic::VisitReturnStmt(ReturnStmt const * returnStmt) in VisitReturnStmt() argument
127 if (ignoreLocation(returnStmt)) { in VisitReturnStmt()
130 if (!returnStmt->getRetValue()) { in VisitReturnStmt()
133 DeclRefExpr const * declRef = dyn_cast<DeclRefExpr>(returnStmt->getRetValue()); in VisitReturnStmt()
/dports/dns/dnscrypt-proxy2/dnscrypt-proxy-2.1.1/vendor/github.com/mbilski/exhaustivestruct/pkg/analyzer/
H A Danalyzer.go55 var returnStmt *ast.ReturnStmt
65 returnStmt = retLit
121 if returnStmt != nil {
122 for _, result := range returnStmt.Results {
134 for _, result := range returnStmt.Results {
/dports/sysutils/istio/istio-1.6.7/vendor/golang.org/x/tools/internal/lsp/source/
H A Dhighlight.go58 var returnStmt *ast.ReturnStmt
88 returnStmt = node
91 inReturnList = inReturnList || path[0] != returnStmt
100 highlightAllReturnsAndFunc := path[0] == returnStmt || path[0] == enclosingFunc
104 if returnStmt == nil && !inReturnList {
114 if returnStmt != nil {
115 for _, n := range returnStmt.Results {
/dports/devel/clazy/clazy-1.5/src/checks/level2/
H A Dbase-class-event.cpp84 for (ReturnStmt *returnStmt : returns) { in VisitDecl()
85 Stmt *maybeBoolExpr = clazy::childAt(returnStmt, 0); in VisitDecl()
92 …emitWarning(clazy::getLocStart(returnStmt), "Return " + baseClassName + "::" + methodName + "() in… in VisitDecl()
/dports/editors/libreoffice/libreoffice-7.2.6.2/compilerplugins/clang/store/
H A Dreturnbyref.cxx97 const ReturnStmt* returnStmt = dyn_cast<ReturnStmt>(*compoundStmt->child_begin()); in VisitCXXMethodDecl() local
98 if (returnStmt == nullptr) { in VisitCXXMethodDecl()
102 const Stmt* nextStmt = dyn_cast<Expr>(*returnStmt->child_begin())->IgnoreParens(); in VisitCXXMethodDecl()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/compilerplugins/clang/store/
H A Dreturnbyref.cxx97 const ReturnStmt* returnStmt = dyn_cast<ReturnStmt>(*compoundStmt->child_begin()); in VisitCXXMethodDecl() local
98 if (returnStmt == nullptr) { in VisitCXXMethodDecl()
102 const Stmt* nextStmt = dyn_cast<Expr>(*returnStmt->child_begin())->IgnoreParens(); in VisitCXXMethodDecl()
/dports/net/evans/evans-0.9.1/vendor/golang.org/x/tools/internal/lsp/source/
H A Dhighlight.go79 var returnStmt *ast.ReturnStmt
109 returnStmt = node
112 inReturnList = inReturnList || path[0] != returnStmt
121 highlightAllReturnsAndFunc := path[0] == returnStmt || path[0] == enclosingFunc
125 if returnStmt == nil && !inReturnList {
135 if returnStmt != nil {
136 for _, n := range returnStmt.Results {
/dports/security/vuls/vuls-0.13.7/vendor/golang.org/x/tools/internal/lsp/source/
H A Dhighlight.go79 var returnStmt *ast.ReturnStmt
109 returnStmt = node
112 inReturnList = inReturnList || path[0] != returnStmt
121 highlightAllReturnsAndFunc := path[0] == returnStmt || path[0] == enclosingFunc
125 if returnStmt == nil && !inReturnList {
135 if returnStmt != nil {
136 for _, n := range returnStmt.Results {
/dports/misc/concourse/concourse-6.7.2/vendor/golang.org/x/tools/internal/lsp/source/
H A Dhighlight.go79 var returnStmt *ast.ReturnStmt
109 returnStmt = node
112 inReturnList = inReturnList || path[0] != returnStmt
121 highlightAllReturnsAndFunc := path[0] == returnStmt || path[0] == enclosingFunc
125 if returnStmt == nil && !inReturnList {
135 if returnStmt != nil {
136 for _, n := range returnStmt.Results {
/dports/devel/tinygo/tinygo-0.14.1/vendor/golang.org/x/tools/internal/lsp/source/
H A Dhighlight.go79 var returnStmt *ast.ReturnStmt
109 returnStmt = node
112 inReturnList = inReturnList || path[0] != returnStmt
121 highlightAllReturnsAndFunc := path[0] == returnStmt || path[0] == enclosingFunc
125 if returnStmt == nil && !inReturnList {
135 if returnStmt != nil {
136 for _, n := range returnStmt.Results {
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clang-tidy/readability/
H A 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()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/readability/
H A 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()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clang-tidy/readability/
H A 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()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clang-tidy/readability/
H A 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()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/clang-tidy/readability/
H A DUseAnyOfAllOfCheck.cpp45 return returnStmt(hasReturnValue(cxxBoolLiteral(equals(V)))); in registerMatchers()
49 returnStmt(hasReturnValue(unless(cxxBoolLiteral(equals(true))))); in registerMatchers()
51 returnStmt(hasReturnValue(unless(cxxBoolLiteral(equals(false))))); in registerMatchers()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/readability/
H A 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()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/clang-tidy/readability/
H A 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()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/readability/
H A 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()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/readability/
H A 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()

12345678910>>...28