Skip to content

Commit

Permalink
[clang][deps] NFC: Fix whitespace formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jansvoboda11 committed Dec 17, 2021
1 parent 586765c commit 4170ea9
Showing 1 changed file with 6 additions and 7 deletions.
Expand Up @@ -115,15 +115,14 @@ static bool shouldMinimizeBasedOnExtension(StringRef Filename) {
if (Ext.empty())
return true; // C++ standard library
return llvm::StringSwitch<bool>(Ext)
.CasesLower(".c", ".cc", ".cpp", ".c++", ".cxx", true)
.CasesLower(".h", ".hh", ".hpp", ".h++", ".hxx", true)
.CasesLower(".m", ".mm", true)
.CasesLower(".i", ".ii", ".mi", ".mmi", true)
.CasesLower(".def", ".inc", true)
.Default(false);
.CasesLower(".c", ".cc", ".cpp", ".c++", ".cxx", true)
.CasesLower(".h", ".hh", ".hpp", ".h++", ".hxx", true)
.CasesLower(".m", ".mm", true)
.CasesLower(".i", ".ii", ".mi", ".mmi", true)
.CasesLower(".def", ".inc", true)
.Default(false);
}


static bool shouldCacheStatFailures(StringRef Filename) {
StringRef Ext = llvm::sys::path::extension(Filename);
if (Ext.empty())
Expand Down

0 comments on commit 4170ea9

Please sign in to comment.