[PATCH] D135789: Add .editorconfig file

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 12 09:43:44 PDT 2022


beanz created this revision.
beanz added reviewers: phosek, compnerd, aaron.ballman, MaskRay, rnk.
Herald added a subscriber: StephenFan.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: LLVM.

EditorConfig is a pretty simple format that is supported by a bunch of
common code editors (including Visual Studio). This file allows setting
some of the editor settings to match LLVM coding style guidelines which
will hopefully make it so contributors using those editors write code
closer to LLVM style without fighting their editors.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135789

Files:
  .editorconfig


Index: .editorconfig
===================================================================
--- /dev/null
+++ .editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+insert_final_newline = true
+indent_style = space
+indent_size = 2
+charset = utf-8
+trim_trailing_whitespace = true
+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135789.467177.patch
Type: text/x-patch
Size: 277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221012/3cb7a31b/attachment.bin>


More information about the llvm-commits mailing list