Home
last modified time | relevance | path

Searched refs:FnDecl (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/check/
H A Dclosure.rs41 decl: &'tcx hir::FnDecl<'tcx>, in check_expr_closure()
65 decl: &'tcx hir::FnDecl<'tcx>, in check_closure()
302 decl: &hir::FnDecl<'_>, in sig_of_closure()
320 decl: &hir::FnDecl<'_>, in sig_of_closure_no_expectation()
380 decl: &hir::FnDecl<'_>, in sig_of_closure_with_expectation()
441 decl: &hir::FnDecl<'_>, in sig_of_closure_with_mismatched_number_of_arguments()
481 decl: &hir::FnDecl<'_>, in check_supplied_sig_against_expectation()
557 decl: &hir::FnDecl<'_>, in supplied_sig_of_closure()
717 fn error_sig_of_closure(&self, decl: &hir::FnDecl<'_>) -> ty::PolyFnSig<'tcx> { in error_sig_of_closure()
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/
H A Dcognitive_complexity.rs9 use rustc_hir::{Body, Expr, ExprKind, FnDecl, HirId};
56 decl: &'tcx FnDecl<'_>, in check()
126 decl: &'tcx FnDecl<'_>, in check_fn()
H A Dunused_async.rs3 use rustc_hir::{Body, Expr, ExprKind, FnDecl, FnHeader, HirId, IsAsync, YieldSource};
64 fn_decl: &'tcx FnDecl<'tcx>, in check_fn()
H A Dfuture_not_send.rs4 use rustc_hir::{Body, FnDecl, HirId};
56 decl: &'tcx FnDecl<'tcx>, in check_fn()
H A Dmissing_const_for_fn.rs7 use rustc_hir::{Body, Constness, FnDecl, GenericParamKind, HirId};
89 _: &FnDecl<'_>, in check_fn()
H A Dpass_by_ref_or_value.rs13 use rustc_hir::{BindingAnnotation, Body, FnDecl, HirId, Impl, ItemKind, MutTy, Mutability, Node, Pa…
138 …fn check_poly_fn(&mut self, cx: &LateContext<'tcx>, def_id: LocalDefId, decl: &FnDecl<'_>, span: O… in check_poly_fn()
242 decl: &'tcx FnDecl<'_>, in check_fn()
H A Dunnecessary_wraps.rs8 use rustc_hir::{Body, ExprKind, FnDecl, HirId, Impl, ItemKind, Node};
76 fn_decl: &FnDecl<'tcx>, in check_fn()
H A Dpattern_type_mismatch.rs3 …intravisit, Body, Expr, ExprKind, FnDecl, HirId, LocalSource, Mutability, Pat, PatKind, Stmt, Stmt…
115 _: &'tcx FnDecl<'_>, in check_fn()
H A Dlifetimes.rs10 …BareFnTy, BodyId, FnDecl, GenericArg, GenericBound, GenericParam, GenericParamKind, Generics, Impl…
125 decl: &'tcx FnDecl<'_>, in check_fn_inner()
184 func: &'tcx FnDecl<'_>, in could_use_elision()
480 fn report_extra_lifetimes<'tcx>(cx: &LateContext<'tcx>, func: &'tcx FnDecl<'_>, generics: &'tcx Gen… in report_extra_lifetimes()
H A Dimplicit_return.rs9 use rustc_hir::{Block, Body, Expr, ExprKind, FnDecl, FnRetTy, HirId};
211 decl: &'tcx FnDecl<'_>, in check_fn()
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_ast_pretty-722.0.0/src/pprust/
H A Dtests.rs8 decl: &ast::FnDecl, in fun_to_string() argument
31 ast::FnDecl { inputs: Vec::new(), output: ast::FnRetTy::Default(rustc_span::DUMMY_SP) }; in test_fun_to_string()
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/functions/
H A Dtoo_many_arguments.rs14 decl: &'tcx hir::FnDecl<'_>, in check_fn()
60 fn check_arg_number(cx: &LateContext<'_>, decl: &hir::FnDecl<'_>, fn_span: Span, too_many_arguments… in check_arg_number()
H A Dnot_unsafe_ptr_arg_deref.rs15 decl: &'tcx hir::FnDecl<'tcx>, in check_fn()
38 decl: &'tcx hir::FnDecl<'tcx>, in check_raw_ptr()
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_ast_pretty-718.0.0/src/pprust/
H A Dtests.rs8 decl: &ast::FnDecl, in fun_to_string() argument
31 ast::FnDecl { inputs: Vec::new(), output: ast::FnRetTy::Default(rustc_span::DUMMY_SP) }; in test_fun_to_string()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_ast_pretty/src/pprust/
H A Dtests.rs8 decl: &ast::FnDecl, in fun_to_string() argument
31 ast::FnDecl { inputs: Vec::new(), output: ast::FnRetTy::Default(rustc_span::DUMMY_SP) }; in test_fun_to_string()
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_ast_pretty/src/pprust/
H A Dtests.rs8 decl: &ast::FnDecl, in fun_to_string() argument
31 ast::FnDecl { inputs: Vec::new(), output: ast::FnRetTy::Default(rustc_span::DUMMY_SP) }; in test_fun_to_string()
/dports/math/kalker/kalker-1.1.0/kalk/src/
H A Dsymbol_table.rs41 Stmt::FnDecl(identifier, _, _) => { in insert()
71 Stmt::FnDecl(identifier, _, _) => self in set()
H A Dcalculus.rs151 context.symbol_table.insert(Stmt::FnDecl( in test_derive_func()
172 context.symbol_table.insert(Stmt::FnDecl( in test_derive_complex_func()
196 context.symbol_table.insert(Stmt::FnDecl( in test_derive_func_with_complex_argument()
/dports/lang/v/v-0.1.29/vlib/v/doc/
H A Ddoc.v114 ast.FnDecl {
127 ast.FnDecl { return stmt.pos }
146 ast.FnDecl { return stmt.name }
380 if stmt is ast.FnDecl {
412 ast.FnDecl {
/dports/lang/v/v-0.1.29/vlib/v/ast/
H A Dstr.v10 pub fn (node &FnDecl) modname() string {
27 pub fn (node &FnDecl) stringify(t &table.Table, cur_mod string) string {
317 FnDecl {
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/types/
H A Dmod.rs15 …Body, FnDecl, FnRetTy, GenericArg, HirId, ImplItem, ImplItemKind, Item, ItemKind, Local, MutTy, QP…
304 …fn check_fn(&mut self, cx: &LateContext<'_>, _: FnKind<'_>, decl: &FnDecl<'_>, _: &Body<'_>, _: Sp… in check_fn()
410 fn check_fn_decl(&mut self, cx: &LateContext<'_>, decl: &FnDecl<'_>, context: CheckTyContext) { in check_fn_decl()
/dports/lang/v/v-0.1.29/vlib/v/tests/
H A Dsum_type_test.v2 type Stmt = FnDecl | StructDecl
5 struct FnDecl {
/dports/lang/rust/rustc-1.58.1-src/src/rustdoc-json-types/
H A Dlib.rs298 pub decl: FnDecl,
306 pub decl: FnDecl,
417 pub decl: FnDecl,
424 pub struct FnDecl { struct
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/Sema/
H A DSemaDeclCXX.cpp13253 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
13260 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
13302 if (FnDecl->getDescribedFunctionTemplate() && FnDecl->getNumParams() < 2) in CheckOperatorNewDeleteTypes()
13311 << FnDecl->getDeclName(); in CheckOperatorNewDeleteTypes()
13361 << FnDecl->getDeclName() << FnDecl->getParamDecl(0)->getDefaultArgRange(); in CheckOperatorNewDeclaration()
13412 assert(FnDecl && FnDecl->isOverloadedOperator() && in CheckOverloadedOperatorDeclaration()
13511 << FnDecl->getDeclName(); in CheckOverloadedOperatorDeclaration()
13518 << FnDecl->getDeclName(); in CheckOverloadedOperatorDeclaration()
13532 ParmVarDecl *LastParam = FnDecl->getParamDecl(FnDecl->getNumParams() - 1); in CheckOverloadedOperatorDeclaration()
13594 << FnDecl->getDeclName(); in CheckLiteralOperatorDeclaration()
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/Sema/
H A DSemaDeclCXX.cpp13136 << FnDecl->getDeclName();
13143 << FnDecl->getDeclName();
13185 if (FnDecl->getDescribedFunctionTemplate() && FnDecl->getNumParams() < 2)
13194 << FnDecl->getDeclName();
13244 << FnDecl->getDeclName() << FnDecl->getParamDecl(0)->getDefaultArgRange();
13295 assert(FnDecl && FnDecl->isOverloadedOperator() &&
13394 << FnDecl->getDeclName();
13401 << FnDecl->getDeclName();
13415 ParmVarDecl *LastParam = FnDecl->getParamDecl(FnDecl->getNumParams() - 1);
13477 << FnDecl->getDeclName();
[all …]

12345678910>>...24