mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-05 07:56:14 +00:00
make owen happy by being explicit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78688 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c93d8373c9
commit
5731020b2f
@ -419,7 +419,8 @@ different symbols based on whether <tt>class</tt> or <tt>struct</tt> was used to
|
|||||||
declare the symbol. This can lead to problems at link time.</p>
|
declare the symbol. This can lead to problems at link time.</p>
|
||||||
|
|
||||||
<p>So, the rule for LLVM is to always use the <tt>class</tt> keyword, unless
|
<p>So, the rule for LLVM is to always use the <tt>class</tt> keyword, unless
|
||||||
<b>all</b> members are public, in which case <tt>struct</tt> is allowed.</p>
|
<b>all</b> members are public and the type is a C++ "POD" type, in which case
|
||||||
|
<tt>struct</tt> is allowed.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user