Lines Matching refs:linkage
12 * - Linkage (`extern(C)`)
53 * linkage (LinkageDeclaration) and others.
84 extern (D) static Scope* createNewScope(Scope* sc, StorageClass stc, LINK linkage,
90 linkage != sc.linkage ||
100 sc2.linkage = linkage;
259 return createNewScope(sc, scstc, sc.linkage, sc.cppmangle,
388 * Linkage attribute applied to Dsymbols, e.g.
391 * `extern(<linkage>) <decl...>`
395 LINK linkage; /// either explicitly set or `default_`
397 extern (D) this(const ref Loc loc, LINK linkage, Dsymbols* decl)
400 //printf("LinkDeclaration(linkage = %d, decl = %p)\n", linkage, decl);
401 this.linkage = linkage;
412 return new LinkDeclaration(loc, linkage, Dsymbol.arraySyntaxCopy(decl));
417 return createNewScope(sc, sc.stc, this.linkage, sc.cppmangle, sc.visibility, sc.explicitVisibility,
547 * A copy of the parent scope, with `this` as `namespace` and C++ linkage
552 scx.linkage = LINK.cpp;
632 return createNewScope(sc, sc.stc, sc.linkage, sc.cppmangle, this.visibility, 1, sc.aligndecl, sc.inlining);
736 return createNewScope(sc, sc.stc, sc.linkage, sc.cppmangle, sc.visibility, sc.explicitVisibility, this, sc.inlining);
895 return createNewScope(sc, sc.stc, sc.linkage, sc.cppmangle, sc.visibility, sc.explicitVisibility, sc.aligndecl, this);
1491 * linkage = Linkage of the symbol (Declaration.link or sc.link)
1493 static void checkGNUABITag(Dsymbol sym, LINK linkage)
1506 else if (linkage != LINK.cpp)