aboutsummaryrefslogtreecommitdiffstats
path: root/utils/emacs
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
commit55d2a1a54629b75a516b88165c8e48bdb2dea2c9 (patch)
tree1d048784e51c14740613a05afb9bd7e170244c13 /utils/emacs
parent3d6eea518c73fc28740cccaa49fc77034e1977e4 (diff)
downloadexternal_llvm-55d2a1a54629b75a516b88165c8e48bdb2dea2c9.zip
external_llvm-55d2a1a54629b75a516b88165c8e48bdb2dea2c9.tar.gz
external_llvm-55d2a1a54629b75a516b88165c8e48bdb2dea2c9.tar.bz2
elisp code to help with LLVM code standards compliance
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/emacs')
-rw-r--r--utils/emacs/emacs.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/emacs/emacs.el b/utils/emacs/emacs.el
new file mode 100644
index 0000000..3f68ea8
--- /dev/null
+++ b/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))
+