Skip to content

Commit 7bc7ce8

Browse files
committed
formatting
1 parent 2965164 commit 7bc7ce8

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

offload/include/Shared/Debug.h

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ inline DebugSettings &getDebugSettings() {
282282
static std::once_flag Flag{};
283283
std::call_once(Flag, []() {
284284
printf("Configuring debug settings\n");
285-
// Eventually, we probably should allow for the upper layers to set
286-
// the debug settings directly according to their own env var
287-
// (or other methods) settings.
288-
// For now mantain compatibility with existing libomptarget env var
285+
// Eventually, we probably should allow the upper layers to set
286+
// debug settings directly according to their own env var or
287+
// other methods.
288+
// For now, mantain compatibility with existing libomptarget env var
289289
// and add a liboffload independent one.
290290
char *Env = getenv("LIBOMPTARGET_DEBUG");
291291
if (!Env) {
@@ -317,11 +317,10 @@ inline DebugSettings &getDebugSettings() {
317317
return Settings;
318318
}
319319

320-
inline bool isDebugEnabled() {
321-
return getDebugSettings().Enabled;
322-
}
320+
inline bool isDebugEnabled() { return getDebugSettings().Enabled; }
323321

324-
inline bool shouldPrintDebug(const char *Component, const char *Type, uint32_t Level) {
322+
inline bool shouldPrintDebug(const char *Component, const char *Type,
323+
uint32_t Level) {
325324
const auto &Settings = getDebugSettings();
326325
if (!Settings.Enabled)
327326
return false;

0 commit comments

Comments
 (0)