Skip to content

Commit

Permalink
Merge pull request #101 from fhahn/extended-types-template-args
Browse files Browse the repository at this point in the history
Extend grammar to allow parameterized vendor extension types.
  • Loading branch information
rjmccall committed Jul 2, 2020
2 parents bad6307 + 09de372 commit b359d28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions abi.html
Expand Up @@ -4821,12 +4821,13 @@ <h5><a href="#mangling-builtin">5.1.5.2 Builtin types</a></h5>
::= Da # auto
::= Dc # decltype(auto)
::= Dn # std::nullptr_t (i.e., decltype(nullptr))
::= u &lt;<a href="#mangle.source-name">source-name</a>&gt; # vendor extended type
::= u &lt;<a href="#mangle.source-name">source-name</a>&gt; [&lt;<a href="#mangle.template-args">template-args</a>&gt;] # vendor extended type
</pre></font></code>

<p>
Vendors who define builtin extended types shall encode them
as a 'u' prefix followed by the name in &lt;length,ID> form.
as a 'u' prefix followed by the name in &lt;length,I&gt; form,
followed by any arguments to the extended type.

<a name="mangle.function-type">
<h5><a href="#mangle.function-type">5.1.5.3 Function types</a></h5>
Expand Down

0 comments on commit b359d28

Please sign in to comment.