From 7b3392326c40c3c20697816acae597ba7b3144eb Mon Sep 17 00:00:00 2001
From: dim
Date: Thu, 20 Oct 2011 21:10:27 +0000
Subject: Vendor import of llvm release_30 branch r142614:
http://llvm.org/svn/llvm-project/llvm/branches/release_30@142614
---
docs/CodingStandards.html | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
(limited to 'docs/CodingStandards.html')
diff --git a/docs/CodingStandards.html b/docs/CodingStandards.html
index 139bbdb..3153a6e 100644
--- a/docs/CodingStandards.html
+++ b/docs/CodingStandards.html
@@ -854,8 +854,12 @@ rules:
Type names (including classes, structs, enums, typedefs, etc)
- should be nouns and start with an upper-case letter (e.g.
- TextFileReader).
+ should be nouns and start with an upper-case letter (e.g.
+ TextFileReader).
+
+Variable names should be nouns (as they represent state). The
+ name should be camel case, and start with an upper case letter (e.g.
+ Leader or Boats).
Function names should be verb phrases (as they represent
actions), and command-like function should be imperative. The name should
@@ -1522,7 +1526,7 @@ something.
Chris Lattner
LLVM Compiler Infrastructure
- Last modified: $Date: 2011-04-23 02:30:22 +0200 (Sat, 23 Apr 2011) $
+ Last modified: $Date: 2011-08-12 21:49:16 +0200 (Fri, 12 Aug 2011) $