We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 586765c commit 4170ea9Copy full SHA for 4170ea9
clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
@@ -115,15 +115,14 @@ static bool shouldMinimizeBasedOnExtension(StringRef Filename) {
115
if (Ext.empty())
116
return true; // C++ standard library
117
return llvm::StringSwitch<bool>(Ext)
118
- .CasesLower(".c", ".cc", ".cpp", ".c++", ".cxx", true)
119
- .CasesLower(".h", ".hh", ".hpp", ".h++", ".hxx", true)
120
- .CasesLower(".m", ".mm", true)
121
- .CasesLower(".i", ".ii", ".mi", ".mmi", true)
122
- .CasesLower(".def", ".inc", true)
123
- .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);
124
}
125
126
-
127
static bool shouldCacheStatFailures(StringRef Filename) {
128
StringRef Ext = llvm::sys::path::extension(Filename);
129
0 commit comments