mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Stats] Tidy up stray characters in filenames.
This commit is contained in:
@@ -1208,9 +1208,6 @@ int swift::performFrontend(ArrayRef<const char *> Args,
|
||||
StringRef OptType = silOptModeArgStr(SILOpts.Optimization);
|
||||
StringRef OutFile = FEOpts.getSingleOutputFilename();
|
||||
StringRef OutputType = llvm::sys::path::extension(OutFile);
|
||||
if (OutputType.size() > 0 && OutputType.front() == '.') {
|
||||
OutputType = OutputType.substr(1);
|
||||
}
|
||||
std::string TripleName = LangOpts.Target.normalize();
|
||||
StatsReporter = llvm::make_unique<UnifiedStatsReporter>("swift-frontend",
|
||||
FEOpts.ModuleName,
|
||||
|
||||
Reference in New Issue
Block a user