Skip to content

Commit 8159427

Browse files
committed
[Clang] update style in DependencyFile.cpp
1 parent a9e5718 commit 8159427

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/Frontend/DependencyFile.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,10 @@ void DependencyFileGenerator::finishedMainFile(DiagnosticsEngine &Diags) {
324324
void DependencyFileGenerator::outputDependencyFilename(
325325
raw_ostream &OS, StringRef Filename) const {
326326
llvm::SmallString<256> NativePath;
327-
if (MSCompatible) {
327+
if (MSCompatible)
328328
llvm::sys::path::native(Filename.str(), NativePath);
329-
} else {
329+
else
330330
NativePath = Filename;
331-
}
332331

333332
if (OutputFormat == DependencyOutputFormat::NMake) {
334333
// Add quotes if needed. These are the characters listed as "special" to

0 commit comments

Comments
 (0)