summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-24 17:09:19 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-24 17:09:19 +0000
commit3e9634eaa0b68d66e1d17b31d9083f7c6b9ab022 (patch)
treea813e20bd016b0aee55df9e57e70e3bc90fffef4
parent831ad84eea1cd35aed67f3cc7c15ffa9f6ac8026 (diff)
downloadbcm5719-llvm-3e9634eaa0b68d66e1d17b31d9083f7c6b9ab022.tar.gz
bcm5719-llvm-3e9634eaa0b68d66e1d17b31d9083f7c6b9ab022.zip
elisp code to help with LLVM code standards compliance
llvm-svn: 21497
-rw-r--r--llvm/utils/emacs/emacs.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/utils/emacs/emacs.el b/llvm/utils/emacs/emacs.el
new file mode 100644
index 00000000000..3f68ea84e18
--- /dev/null
+++ b/llvm/utils/emacs/emacs.el
@@ -0,0 +1,12 @@
+;; LLVM coding style guidelines in emacs
+;; Maintainer: LLVM Team, http://llvm.cs.uiuc.edu
+;; Modified: 2005-04-24
+
+;; Max 80 cols per line, indent by two spaces, no tabs.
+;; Apparently, this does not affect tabs in Makefiles.
+(custom-set-variables
+ '(fill-column 80)
+ '(c++-indent-level 2)
+ '(c-basic-offset 2)
+ '(indent-tabs-mode nil))
+
OpenPOWER on IntegriCloud