MyDeveloperDay created this revision.
MyDeveloperDay added reviewers: JonasToth, alexfh, hokein, aaron.ballman.
MyDeveloperDay added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Before git monorepo, clang-tools-extra inherited its .clang-format and 
.clang-tidy files from llvm/tools/clang/.clang-format/tidy respectively

When using a git monorepo clang-tools-extra is at the topmost level and there 
is no parental .clang-format/tidy files to inherit (in llvm-project)

This revision simply copies the .clang-format/tidy files from the 
llvm/tools/clang up into llvm/tools/clang/tools/extra so that when its laid out 
as a monorepo, those files are present.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D57380

Files:
  .clang-format
  .clang-tidy


Index: .clang-tidy
===================================================================
--- /dev/null
+++ .clang-tidy
@@ -0,0 +1,17 @@
+Checks: 
'-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,readability-identifier-naming'
+CheckOptions:
+  - key:             readability-identifier-naming.ClassCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.EnumCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.FunctionCase
+    value:           camelBack
+  - key:             readability-identifier-naming.MemberCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.ParameterCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.UnionCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.VariableCase
+    value:           CamelCase
+
Index: .clang-format
===================================================================
--- /dev/null
+++ .clang-format
@@ -0,0 +1 @@
+BasedOnStyle: LLVM


Index: .clang-tidy
===================================================================
--- /dev/null
+++ .clang-tidy
@@ -0,0 +1,17 @@
+Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,readability-identifier-naming'
+CheckOptions:
+  - key:             readability-identifier-naming.ClassCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.EnumCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.FunctionCase
+    value:           camelBack
+  - key:             readability-identifier-naming.MemberCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.ParameterCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.UnionCase
+    value:           CamelCase
+  - key:             readability-identifier-naming.VariableCase
+    value:           CamelCase
+
Index: .clang-format
===================================================================
--- /dev/null
+++ .clang-format
@@ -0,0 +1 @@
+BasedOnStyle: LLVM
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D57380: [clang-tool... MyDeveloperDay via Phabricator via cfe-commits

Reply via email to