Clarify struct usage guidelines
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 3 Mar 2014 16:48:44 +0000 (16:48 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 3 Mar 2014 16:48:44 +0000 (16:48 +0000)
commit653638bea4c05fa3d68378d38a5feba60096287e
tree4500ea9dcc272a4bf9bb4f6a77512f8140f8c81d
parentdb3064e438bb44227e8d16c0f82cef74db5d6e69
Clarify struct usage guidelines

The current coding standards restrict the use of struct to PODs, but no
one has been following them.  This patch updates the standards to
clarify when structs are dangerous and describe common practice in LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202728 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CodingStandards.rst