mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
refactor: apply clang-format's InsertBraces rule
Formats code before InsertBraces rule is enabled. Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9d1da44e08
commit
54de14a9dc
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2024 Intel Corporation
|
||||
* Copyright (C) 2019-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -36,8 +36,9 @@ int MultiCommand::singleBuild(const std::vector<std::string> &args) {
|
||||
outFileName += ".bin";
|
||||
}
|
||||
if (retVal == OCLOC_SUCCESS) {
|
||||
if (!quiet)
|
||||
if (!quiet) {
|
||||
argHelper->printf("Build succeeded.\n");
|
||||
}
|
||||
} else {
|
||||
argHelper->printf("Build failed with error code: %d\n", retVal);
|
||||
}
|
||||
@@ -90,8 +91,9 @@ void MultiCommand::addAdditionalOptionsToSingleCommandLine(std::vector<std::stri
|
||||
outFileName = "build_no_" + std::to_string(buildId + 1);
|
||||
singleLineWithArguments.push_back(outFileName);
|
||||
}
|
||||
if (quiet)
|
||||
if (quiet) {
|
||||
singleLineWithArguments.push_back("-q");
|
||||
}
|
||||
}
|
||||
|
||||
int MultiCommand::initialize(const std::vector<std::string> &args) {
|
||||
|
||||
Reference in New Issue
Block a user