We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 41d1a16 + 97f1eb4 commit 7667f19Copy full SHA for 7667f19
.editorconfig
@@ -0,0 +1,5 @@
1
+root = true
2
+
3
+[*.{cpp,cc,c,h}]
4
+indent_style = space
5
+indent_size = 2
yk_format_new_files.sh
@@ -3,7 +3,7 @@
# Format any new files that we have added in our fork.
# The LLVM version tag we are forked from.
6
-FORKED_LLVM_VERSION=llvmorg-13.0.0
+FORKED_LLVM_VERSION=`git describe --abbrev=0 --match 'llvmorg-*'`
7
8
git diff --name-only --diff-filter=A ${FORKED_LLVM_VERSION} \
9
`git branch --show-current` | egrep '\.(cpp|h)$' | xargs clang-format -i
0 commit comments