summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-11 17:38:15 +0000
committerChris Lattner <sabre@nondot.org>2009-08-11 17:38:15 +0000
commit73e9f8c63623a95d73540078a3c3da968f597f4a (patch)
tree3b7fae2aad3e41b23807117d52479c67a98f80ab /llvm/docs
parentebd694bb0a55261584a988687b1b73a84ac50f85 (diff)
downloadbcm5719-llvm-73e9f8c63623a95d73540078a3c3da968f597f4a.tar.gz
bcm5719-llvm-73e9f8c63623a95d73540078a3c3da968f597f4a.zip
make owen happy by being explicit.
llvm-svn: 78688
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CodingStandards.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/docs/CodingStandards.html b/llvm/docs/CodingStandards.html
index 2fe3bdc9e2b..ff707f3a84f 100644
--- a/llvm/docs/CodingStandards.html
+++ b/llvm/docs/CodingStandards.html
@@ -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>
<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>
OpenPOWER on IntegriCloud