Skip to content

Commit a0dab49

Browse files
committed
[clang-format][NFC] Add .clang-format to clang/tools/clang-format/
And reformat ClangFormat.cpp in the directory.
1 parent dadfc6b commit a0dab49

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
BasedOnStyle: LLVM
2+
InsertBraces: true
3+
LineEnding: LF
4+
RemoveBracesLLVM: true

clang/tools/clang-format/ClangFormat.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ static cl::opt<std::string> QualifierAlignment(
128128
static cl::opt<std::string> Files(
129129
"files",
130130
cl::desc("A file containing a list of files to process, one per line."),
131-
cl::value_desc("filename"),
132-
cl::init(""), cl::cat(ClangFormatCategory));
131+
cl::value_desc("filename"), cl::init(""), cl::cat(ClangFormatCategory));
133132

134133
static cl::opt<bool>
135134
Verbose("verbose", cl::desc("If set, shows the list of processed files"),

0 commit comments

Comments
 (0)