Home
last modified time | relevance | path

Searched refs:errorSupplemental (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Derrors.d72 return &errorSupplemental; in previewSupplementalFunc()
141 extern (C++) void errorSupplemental(const ref Loc loc, const(char)* format, ...) in errorSupplemental() function
149 pragma(printf) extern (C++) void errorSupplemental(const ref Loc loc, const(char)* format, ...) in pragma()
H A Dobjc.d649 errorSupplemental(fd.loc, "function is declared with %.*s linkage", in validateOptional()
665 errorSupplemental(fd.loc, "function is declared inside %s", fd.parent.kind); in validateOptional()
809 expression.errorSupplemental(supplementalMessage); in checkOffsetof()
818 expression.errorSupplemental("`tupleof` is not available for members " ~ in checkTupleof()
H A Derrors.h32 D_ATTRIBUTE_FORMAT(2, 3) void errorSupplemental(const Loc& loc, const char *format, ...);
H A Dfunc.d1184 .errorSupplemental(decl.loc, "`%s` declared here", decl.toChars()); in getLevelAndCheck()
2149 .errorSupplemental(f.loc, "%s closes over variable %s at %s", in checkClosure()
2779 loc.errorSupplemental("`main()`"); in checkMain()
2780 loc.errorSupplemental("`main(int argc, char** argv)`"); in checkMain()
2781 … loc.errorSupplemental("`main(int argc, char** argv, char** environ)` [POSIX extension]"); in checkMain()
3275 errorSupplemental(loc, failMessage); in resolveFuncCall()
3283 .errorSupplemental(fd.loc, "Consider adding `shared` here"); in resolveFuncCall()
3285 .errorSupplemental(fd.loc, "Consider adding `const` or `inout` here"); in resolveFuncCall()
3305 errorSupplemental(loc, failMessage); in resolveFuncCall()
3344 .errorSupplemental(fd.loc,
[all …]
H A Ddmodule.d605errorSupplemental(loc, "dmd might not be correctly installed. Run 'dmd -man' for installation inst… in onFileReadError()
607errorSupplemental(loc, "config file: %.*s", cast(int)dmdConfFile.length, dmdConfFile.ptr); in onFileReadError()
626 … .errorSupplemental(loc, "Expected '%s' or '%s' in one of the following import paths:", in onFileReadError()
H A Dsemantic2.d107 errorSupplemental(sa.loc, "while evaluating: `static assert(%s)`", sa.exp.toChars()); in visit()
739 e.errorSupplemental("instead of `@%s @%s`, use `@%s(%.*s, %.*s)`", in doGNUABITagSemantic()
H A Dclone.d1613 errorSupplemental(rvalueCtor.loc,"rvalue constructor defined here"); in needCopyCtor()
1614 errorSupplemental(cpCtor.loc, "copy constructor defined here"); in needCopyCtor()
1643 errorSupplemental(rvalueCtor.loc,"rvalue constructor defined here"); in needCopyCtor()
1644 errorSupplemental(fieldWithCpCtor.loc, "field with copy constructor defined here"); in needCopyCtor()
H A Darrayop.d387 ae.errorSupplemental("did you mean to concatenate (`%s`) instead ?", ce.toChars()); in checkPossibleAddCatError()
H A Dstatementsem.d738 … fs.loc.errorSupplemental("maybe define `opApply()`, range primitives, or use `.tupleof`"); in package()
2010errorSupplemental(ps.loc, "while evaluating `pragma(msg, %s)`", arg.toChars()); in package()
2300 errorSupplemental(ss.loc, "`%s`", em.toChars()); in package()
2307errorSupplemental(ss.loc, "... (%d more, -v to show) ...", missingMembers - maxShown); in package()
2960 errorSupplemental((fd.returns) ? (*fd.returns)[0].loc : fd.loc, in package()
3003 … () => rs.loc.errorSupplemental("cannot implicitly convert `%s` of type `%s` to `%s`", in package()
3009 … () => rs.loc.errorSupplemental("return value `%s` is not an lvalue", rs.exp.toChars()) in package()
4017 errorSupplemental(c.loc, "use `catch(Throwable)` for old behavior"); in catchSemantic()
H A Ddsymbolsem.d515 loc.errorSupplemental("required by type `%s`", dsym.type.toChars()); in visit()
1055 errorSupplemental(dsym.loc, "compile time context created here"); in visit()
1584errorSupplemental(pd.loc, "use `template Class(Args...){ pragma(mangle, \"other_name\") class Clas… in visit()
1640errorSupplemental(pd.loc, "while evaluating `pragma(msg, %s)`", (*pd.args)[i].toChars()); in visit()
3808errorSupplemental(funcdecl.loc, "Functions are the only declarations that may be overriden"); in funcDeclarationSemantic()
4045errorSupplemental(ctd.loc, "Use `@disable this();` if you want to disable default initialization."… in visit()
4080 … .errorSupplemental(ti.loc, "Template instance `%s` creates a rvalue constructor for `struct %s`", in visit()
4651errorSupplemental(fcall.loc, "Please use a factory method instead, or replace all constructors wit… in visit()
4924errorSupplemental(cldec.loc,"`%s` has fields, consider making it a member of `%s`", in visit()
4927errorSupplemental(cldec.loc,"`%s` has no fields, consider making it an `interface`", in visit()
H A Dexpressionsem.d3572 errorSupplemental(exp.loc, "function `%s` is not implemented", in visit()
4158 exp.errorSupplemental("too %s arguments, expected `%d`, got `%d`", in callExpSemantic()
4966 errorSupplemental(exp.loc, "%s", failMessage); in visit()
5037 errorSupplemental(exp.loc, "%s", failMessage); in visit()
5251 errorSupplemental(conflict.loc, "`%s` `%s` is defined here", in visit()
5483 errorSupplemental(conflict.loc, "`%s` `%s` is defined here", in visit()
5789 errorSupplemental(conflict.loc, "`%s` `%s` is defined here", in visit()
6000 … e.errorSupplemental("Character `'%c'` is reserved and cannot be used", namez[idxReserved]); in visit()
6014 e.errorSupplemental("Path(s) searched (as provided by `-J`):"); in visit()
6020 e.errorSupplemental("[%llu]: `%s`%s", cast(ulong)idx, path, err); in visit()
[all …]
H A Dexpression.d778 final void errorSupplemental(const(char)* format, ...) in errorSupplemental() function
824 pragma(printf) final void errorSupplemental(const(char)* format, ...) in pragma()
1226 … dd.loc.errorSupplemental("%s`%s.~this` is %.*s because of the following field's destructors:", in checkOverridenDtor()
1256 field.loc.errorSupplemental(" - %s %s", field.type.toChars(), field.toChars()); in checkOverridenDtor()
1261 fieldSd.dtor.loc.errorSupplemental(" %.*s `%s.~this` is declared here", in checkOverridenDtor()
1425 .errorSupplemental(f.loc, "`%s` is declared here", prettyChars); in checkSafety()
1550 errorSupplemental("Use `core.atomic.atomicOp!\"%s\"(%s, %s)` instead",
H A Ddeclaration.d132 .errorSupplemental(fieldInit.loc, "Previous initialization is here."); in modifyFieldVar()
181 errorSupplemental(loc, "Use `shared static this` instead."); in modifyFieldVar()
H A Dtypesem.d1067errorSupplemental(loc, "Please override `Object.opEquals` and `Object.toHash`."); in typeSemantic()
1726 .errorSupplemental( in typeSemantic()
1734 .errorSupplemental(varDeclLoc, "variable `%s` is declared here", varDecl.toChars); in typeSemantic()
2460errorSupplemental(loc, "potentially malformed `opDispatch`. Use an explicit instantiation to get a… in getProperty()
2462errorSupplemental(sym.loc, "`%s %s` is opaque and has no members.", sym.kind, mt.toPrettyChars(tru… in getProperty()
H A Dtraits.d1578 …e.errorSupplemental("`%s` must evaluate to either a module, a struct, an union, a class, an interf… in semanticTraits()
1599 …e.errorSupplemental("`%s` must evaluate to either a module, a struct, an union, a class, an interf… in semanticTraits()
H A Ddinterpret.d2110 errorSupplemental(loc, "while evaluating %s.init", v.toChars()); in getVarExp()
2162errorSupplemental(vie.var.loc, "`%s` was uninitialized and used before set", vie.var.toChars()); in getVarExp()
4690 errorSupplemental(callingExp.loc, "called from here: `%s`", callingExp.toChars()); in showCtfeBackTrace()
4713errorSupplemental(fd.loc, "%d recursive calls to function `%s`", recurseCount, fd.toChars()); in showCtfeBackTrace()
4716errorSupplemental(cur.fd.loc, "recursively called from function `%s`", cur.fd.toChars()); in showCtfeBackTrace()
5422 errorSupplemental(result.loc, "originally uninitialized here"); in visit()
H A Ddtemplate.d5993 return &errorSupplemental;
7022 errorSupplemental(loc, "while looking for match for `%s`", toChars()); in findBestMatch()
7059 errorSupplemental(loc, "`%s` is not a type", arg.toChars); in findBestMatch()
7061 errorSupplemental(loc, "`%s` is not of a value of type `%s`", in findBestMatch()
7209 errorSupplemental(loc, "while looking for match for `%s`", toChars());
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Derrors.h30 D_ATTRIBUTE_FORMAT(2, 3) void errorSupplemental(const Loc& loc, const char *format, ...);
H A Dstaticassert.c63 errorSupplemental(loc, "while evaluating: static assert(%s)", exp->toChars()); in semantic2()
H A Ddmodule.c304errorSupplemental(loc, "dmd might not be correctly installed. Run 'dmd -man' for installation inst… in read()
306 errorSupplemental(loc, "config file: %s", dmdConfFile ? dmdConfFile : "not found"); in read()
H A Dfunc.c3399 ::errorSupplemental(t->loc, "%s", t->toPrettyChars()); in fp()
3410 ::errorSupplemental(p->loc, "... (%d more, -v to show) ...", cw.numOverloads); in fp()
3449 ::errorSupplemental(fd->loc, "%s%s", fd->toPrettyChars(), in fp()
3454 ::errorSupplemental(td->loc, "%s", td->toPrettyChars()); in fp()
3467 ::errorSupplemental(p->loc, "... (%d more, -v to show) ...", cw.numOverloads); in fp()
4592 ::errorSupplemental(f->loc, "%s closes over variable %s at %s", in checkClosure()
H A Ddtemplate.c7165 errorSupplemental(loc, "while looking for match for %s", toChars()); in findBestMatch()
7332 errorSupplemental(loc, "while looking for match for %s", toChars()); in needsTypeInference()
7841 errorSupplemental(cur->loc, format, cur->toChars()); in printInstantiationTrace()
7860errorSupplemental(cur->loc, "%d recursive instantiations from here: %s", recursionDepth+2, cur->to… in printInstantiationTrace()
7862 errorSupplemental(cur->loc, format, cur->toChars()); in printInstantiationTrace()
7877errorSupplemental(cur->loc, "... (%d instantiations, -v to show) ...", n_instantiations - max_show… in printInstantiationTrace()
7881 errorSupplemental(cur->loc, format, cur->toChars()); in printInstantiationTrace()
H A Ddstruct.c1204errorSupplemental(fcall->loc, "Please use a factory method instead, or replace all constructors wi… in semantic()
H A Ddinterpret.c2146 errorSupplemental(loc, "while evaluating %s.init", v->toChars()); in getVarExp()
2193errorSupplemental(ve->var->loc, "%s was uninitialized and used before set", ve->var->toChars()); in getVarExp()
4577 errorSupplemental(callingExp->loc, "called from here: %s", callingExp->toChars()); in showCtfeBackTrace()
4600errorSupplemental(fd->loc, "%d recursive calls to function %s", recurseCount, fd->toChars()); in showCtfeBackTrace()
4603errorSupplemental(cur->fd->loc, "recursively called from function %s", cur->fd->toChars()); in showCtfeBackTrace()
5245 errorSupplemental(result->loc, "originally uninitialized here"); in visit()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-diagnostic.cc255 errorSupplemental (const Loc& loc, const char *format, ...) in errorSupplemental() function

12