From 5731020b2f5a723480aa0fa1e064cb6b3f8d12a7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 11 Aug 2009 17:38:15 +0000 Subject: make owen happy by being explicit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78688 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CodingStandards.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/CodingStandards.html b/docs/CodingStandards.html index 2fe3bdc9e2..ff707f3a84 100644 --- a/docs/CodingStandards.html +++ b/docs/CodingStandards.html @@ -419,7 +419,8 @@ different symbols based on whether class or struct was used to declare the symbol. This can lead to problems at link time.

So, the rule for LLVM is to always use the class keyword, unless -all members are public, in which case struct is allowed.

+all members are public and the type is a C++ "POD" type, in which case +struct is allowed.

-- cgit v1.2.3