We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af29982 commit ebe1f50Copy full SHA for ebe1f50
clang/lib/Driver/Driver.cpp
@@ -8331,7 +8331,6 @@ bool clang::driver::isStaticArchiveFile(const StringRef &FileName) {
8331
if (!llvm::sys::path::has_extension(FileName))
8332
// Any file with no extension should not be considered an Archive.
8333
return false;
8334
- StringRef Ext(llvm::sys::path::extension(FileName).drop_front());
8335
llvm::file_magic Magic;
8336
llvm::identify_magic(FileName, Magic);
8337
// Only .lib and archive files are to be considered.
0 commit comments