Home
last modified time | relevance | path

Searched refs:inferRetType (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dfunc.d214 inferRetType = 0x40000, /// Return type is to be inferred enumerator
378 this.flags |= FUNCFLAG.inferRetType;
430 if (inferRetType && type && !type.nextOf()) in functionSemantic()
501 bool inSemantic3 = (inferRetType && semanticRun >= PASS.semantic3); in checkForwardRef()
1306 !(inferRetType && !isCtorDeclaration())) in canInferAttributes()
1316 (inferRetType && !isCtorDeclaration())) in canInferAttributes()
1509 final bool inferRetType() const scope @safe pure nothrow @nogc in inferRetType() function
1511 return !!(this.flags & FUNCFLAG.inferRetType); in inferRetType()
2701 assert(this.inferRetType); in checkMain()
3770 if (inferRetType && type.nextOf() != tret) in modifyReturns()
H A Dsemantic3.d243 if (funcdecl.inferRetType) in visit()
293 if (!funcdecl.inferRetType && f.next.ty == Terror) in visit()
296 if (!funcdecl.fbody && funcdecl.inferRetType && !f.next) in visit()
615 if (funcdecl.inferRetType) in visit()
H A Ddeclaration.h665 bool inferRetType() const;
H A Dtransitivevisitor.d833 if (!f.inferRetType && tf.next) in ParseVisitMethods()
H A Dstatementsem.d2879 const returnSharedRef = (tf.isref && (fd.inferRetType || tret.isShared())); in package()
2891 if (fd.inferRetType && f.checkForwardRef(rs.exp.loc)) in package()
2934 if (fd.inferRetType) // infer return type in package()
3025 if (fd.inferRetType) in package()
H A Ddtemplate.d1176 fd.flags |= FUNCFLAG.inferRetType; in matchWithInstance()
3132 if (tf.next && !m.lastf.inferRetType)
H A Dhdrgen.d1672 if (!f.inferRetType && tf.next) in visit()
H A Ddsymbolsem.d3256 if ((funcdecl.storage_class & STC.auto_) && !f.isref && !funcdecl.inferRetType) in funcDeclarationSemantic()
H A Dexpression.d3964 if (fd.inferRetType && tfx.next.implicitConvTo(tof.next) == MATCH.convert)
H A Dexpressionsem.d1699 if (!tf.next && fd.inferRetType) in functionParameters()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dfunc.c349 inferRetType = (type && type->nextOf() == NULL); in FuncDeclaration()
405 (fd->inferRetType && !fd->isCtorDeclaration())) in canInferAttributes()
720 if ((storage_class & STCauto) && !f->isref && !inferRetType) in semantic()
1408 if (!inferRetType && f->next->ty == Terror) in semantic3()
1411 if (!fbody && inferRetType && !f->next) in semantic3()
1707 if (!inferRetType && retStyle(f) != RETstack) in semantic3()
1728 if (inferRetType) in semantic3()
2399 if (inferRetType && type && !type->nextOf()) in functionSemantic()
2470 bool inSemantic3 = (inferRetType && semanticRun >= PASSsemantic3); in checkForwardRef()
4793 if (inferRetType && type->nextOf() != tret) in modifyReturns()
H A Ddeclaration.h564 bool inferRetType; // true if return type is to be inferred variable
H A Dstatementsem.c2768 if (fd->inferRetType && f->checkForwardRef(rs->exp->loc)) in visit()
2810 if (fd->inferRetType) // infer return type in visit()
2900 if (fd->inferRetType) in visit()
H A Dexpression.c1397 if (!tf->next && fd->inferRetType) in functionParameters()
4734 if (fd->inferRetType && tfx->next->implicitConvTo(tof->next) == MATCHconvert) in matchType()
H A Dhdrgen.c2013 if (!f->inferRetType && tf->next) in visit()
H A Ddtemplate.c944 fd->inferRetType = true; in matchWithInstance()
2624 if (tf->next && !m->lastf->inferRetType) in functionResolve()