Skip to content

Commit

Permalink
Create files for Statements and Declarations; add note about default …
Browse files Browse the repository at this point in the history
…linkage
  • Loading branch information
hekota committed May 29, 2024
1 parent bca0454 commit 6390c95
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
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.

\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}
\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}

0 comments on commit 6390c95

Please sign in to comment.