Skip to content

Commit 7667f19

Browse files
bors[bot]vext01
andauthored
9: A couple of bits r=ltratt a=vext01 Co-authored-by: Edd Barrett <[email protected]>
2 parents 41d1a16 + 97f1eb4 commit 7667f19

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.editorconfig

+5
Original file line numberDiff line numberDiff line change
@@ -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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Format any new files that we have added in our fork.
44

55
# The LLVM version tag we are forked from.
6-
FORKED_LLVM_VERSION=llvmorg-13.0.0
6+
FORKED_LLVM_VERSION=`git describe --abbrev=0 --match 'llvmorg-*'`
77

88
git diff --name-only --diff-filter=A ${FORKED_LLVM_VERSION} \
99
`git branch --show-current` | egrep '\.(cpp|h)$' | xargs clang-format -i

0 commit comments

Comments
 (0)