Skip to content

Commit bdcac7b

Browse files
committed
Fix formatting
1 parent 072f4ec commit bdcac7b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

clang/lib/Driver/ToolChains/AIX.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ void aix::Linker::ConstructJob(Compilation &C, const JobAction &JA,
244244

245245
if (sanitizer) {
246246
if (Sanitize.needsSharedRt()) {
247-
ToolChain.getDriver().Diag(diag::err_drv_unsupported_shared_sanitizer_aix) << sanitizer;
247+
ToolChain.getDriver().Diag(diag::err_drv_unsupported_shared_sanitizer_aix)
248+
<< sanitizer;
248249
return;
249250
}
250251
NeedsSanitizerDeps = addSanitizerRuntimes(ToolChain, Args, CmdArgs);
@@ -263,9 +264,9 @@ void aix::Linker::ConstructJob(Compilation &C, const JobAction &JA,
263264
// import file to make these undefined symbols be resolved at runtime.
264265
if (Args.hasArg(options::OPT_shared) &&
265266
ToolChain.getSanitizerArgs(Args).needsAsanRt()) {
266-
CmdArgs.push_back(
267-
Args.MakeArgString(Twine("-bI:") + ToolChain.getCompilerRTPath() +
268-
"/asan.link_with_main_exec.txt"));
267+
CmdArgs.push_back(Args.MakeArgString(Twine("-bI:") +
268+
ToolChain.getCompilerRTPath() +
269+
"/asan.link_with_main_exec.txt"));
269270
if (ToolChain.getSanitizerArgs(Args).linkCXXRuntimes())
270271
CmdArgs.push_back(
271272
Args.MakeArgString(Twine("-bI:") + ToolChain.getCompilerRTPath() +

0 commit comments

Comments
 (0)