]> granicus.if.org Git - clang/commit
[clang-format] Remove redundant test in style-on-command-line.cpp
authorKrasimir Georgiev <krasimir@google.com>
Fri, 20 Jan 2017 12:39:05 +0000 (12:39 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Fri, 20 Jan 2017 12:39:05 +0000 (12:39 +0000)
commit3f02d105b54fd0502b54e0d2c9068ca1cd00bf6c
tree34e808db1ff6d54d5e6121ab08577a8523ff4e6c
parent1629014b3c7b7c0fee6257392f9f7904517110eb
[clang-format] Remove redundant test in style-on-command-line.cpp

Summary:
rL292562 added a fix to always format if the fallback style is set to "none".
In test/Format/style-on-command-line.cpp:19 is redundant, since -fallback-style
has a default value of LLVM set in ClangFormat.cpp:72.

@amaiorano: I believe that the rest of the test cases still cover your change in
case the fallback style is explicitly set to "none". Please, if this is not the
case, initiate a discussion.

Reviewers: ioeric, bkramer

Reviewed By: ioeric

Subscribers: cfe-commits, klimek, amaiorano

Differential Revision: https://reviews.llvm.org/D28943

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@292604 91177308-0d34-0410-b5e6-96231b3b80d8
test/Format/style-on-command-line.cpp