Remove error message when using the fallback style.
llvm-svn: 238822
This commit is contained in:
parent
3a7bec86bd
commit
21b4117a12
|
@ -1640,8 +1640,6 @@ FormatStyle getStyle(StringRef StyleName, StringRef FileName,
|
||||||
return Style;
|
return Style;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
llvm::errs() << "Can't find usable .clang-format, using " << FallbackStyle
|
|
||||||
<< " style\n";
|
|
||||||
if (!UnsuitableConfigFiles.empty()) {
|
if (!UnsuitableConfigFiles.empty()) {
|
||||||
llvm::errs() << "Configuration file(s) do(es) not support "
|
llvm::errs() << "Configuration file(s) do(es) not support "
|
||||||
<< getLanguageName(Style.Language) << ": "
|
<< getLanguageName(Style.Language) << ": "
|
||||||
|
|
|
@ -24,7 +24,6 @@ void f() {
|
||||||
// CHECK4: {{^ int \*i;$}}
|
// CHECK4: {{^ int \*i;$}}
|
||||||
// CHECK5: {{^ int\* i;$}}
|
// CHECK5: {{^ int\* i;$}}
|
||||||
// CHECK6: {{^Error reading .*\.clang-format: (I|i)nvalid argument}}
|
// CHECK6: {{^Error reading .*\.clang-format: (I|i)nvalid argument}}
|
||||||
// CHECK6: {{^Can't find usable .clang-format, using webkit style$}}
|
|
||||||
// CHECK6: {{^ int\* i;$}}
|
// CHECK6: {{^ int\* i;$}}
|
||||||
// CHECK7: {{^ int\* i;$}}
|
// CHECK7: {{^ int\* i;$}}
|
||||||
// CHECK8: {{^ int\* i;$}}
|
// CHECK8: {{^ int\* i;$}}
|
||||||
|
|
Loading…
Reference in New Issue