Skip to content

Commit 6a1a42a

Browse files
author
Tony Tao
committed
formatting
1 parent ba2c421 commit 6a1a42a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

llvm/lib/Support/VirtualOutputBackends.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -255,15 +255,15 @@ static Error createDirectoriesOnDemand(StringRef OutputPath,
255255
}
256256

257257
static sys::fs::OpenFlags generateFlagsFromConfig(OutputConfig Config) {
258-
sys::fs::OpenFlags OF = sys::fs::OF_None;
259-
if (Config.getTextWithCRLF())
260-
OF |= sys::fs::OF_TextWithCRLF;
261-
else if (Config.getText())
262-
OF |= sys::fs::OF_Text;
263-
if (Config.getAppend())
264-
OF |= sys::fs::OF_Append;
265-
266-
return OF;
258+
sys::fs::OpenFlags OF = sys::fs::OF_None;
259+
if (Config.getTextWithCRLF())
260+
OF |= sys::fs::OF_TextWithCRLF;
261+
else if (Config.getText())
262+
OF |= sys::fs::OF_Text;
263+
if (Config.getAppend())
264+
OF |= sys::fs::OF_Append;
265+
266+
return OF;
267267
}
268268

269269
Error OnDiskOutputFile::tryToCreateTemporary(std::optional<int> &FD) {

0 commit comments

Comments
 (0)