Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linkage section #249

Merged
merged 4 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions specs/language/declarations.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
\Ch{Declarations}{Decl}
\Sec{Function Definitions}{Decl.Function}
\Sub{Visibility and Linkage}{Decl.Function.Visibility}

\p Functions have \textit{internal linkage} by default.
hekota marked this conversation as resolved.
Show resolved Hide resolved

\Sec{Attributes}{Decl.Attr}
\Sub{Entry Attributes}{Decl.Attr.Entry}
2 changes: 2 additions & 0 deletions specs/language/hlsl.tex
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@
\input{conversions}
\input{expressions}
\input{overloading}
\input{statements}
\input{declarations}

\input{placeholders} % Declare placeholder references

Expand Down
6 changes: 0 additions & 6 deletions specs/language/placeholders.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
% forward references can be inserted into the specification as it is being
% written to force updating the references as they change.

\Ch{Statements}{Stmt}
\Sec{Label Statements}{Stmt.Label}
damyanp marked this conversation as resolved.
Show resolved Hide resolved
\Ch{Declarations}{Decl}
\Sec{Function Definitions}{Decl.Function}
\Sec{Attributes}{Decl.Attr}
\Sub{Entry Attributes}{Decl.Attr.Entry}
\Ch{Classes}{Classes}
\Sec{Static Members}{Classes.Static}
\Sec{Conversions}{Classes.Conversions}
Expand Down
2 changes: 2 additions & 0 deletions specs/language/statements.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
\Ch{Statements}{Stmt}
\Sec{Label Statements}{Stmt.Label}
Loading