Changeset View
Changeset View
Standalone View
Standalone View
openmp/runtime/src/kmp_gsupport.cpp
/* | /* | ||||
Lint: Lint: clang-format-diff not found in user's PATH; not linting file. | |||||
* kmp_gsupport.cpp | * kmp_gsupport.cpp | ||||
*/ | */ | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||
// See https://llvm.org/LICENSE.txt for license information. | // See https://llvm.org/LICENSE.txt for license information. | ||||
▲ Show 20 Lines • Show All 363 Lines • ▼ Show 20 Lines | #endif /* KMP_DEBUG */ | ||||
kmp_team_t *team = thr->th.th_team; | kmp_team_t *team = thr->th.th_team; | ||||
int tid = __kmp_tid_from_gtid(gtid); | int tid = __kmp_tid_from_gtid(gtid); | ||||
va_list ap; | va_list ap; | ||||
va_start(ap, argc); | va_start(ap, argc); | ||||
rc = __kmp_fork_call(loc, gtid, fork_context_gnu, argc, wrapper, | rc = __kmp_fork_call(loc, gtid, fork_context_gnu, argc, wrapper, | ||||
__kmp_invoke_task_func, | __kmp_invoke_task_func, | ||||
#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && KMP_OS_LINUX | #if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && (KMP_OS_FREEBSD || KMP_OS_LINUX) | ||||
Lint: Pre-merge checks clang-format: please reformat the code -#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && (KMP_OS_FREEBSD || KMP_OS_LINUX) +#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && \ + (KMP_OS_FREEBSD || KMP_OS_LINUX) Lint: Pre-merge checks: clang-format: please reformat the code
```
-#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM ||… | |||||
&ap | &ap | ||||
#else | #else | ||||
ap | ap | ||||
#endif | #endif | ||||
); | ); | ||||
Lint: Pre-merge checks clang-format: please reformat the code - ); + ); Lint: Pre-merge checks: clang-format: please reformat the code
```
- );
+ );
``` | |||||
va_end(ap); | va_end(ap); | ||||
if (rc) { | if (rc) { | ||||
__kmp_run_before_invoked_task(gtid, tid, thr, team); | __kmp_run_before_invoked_task(gtid, tid, thr, team); | ||||
} | } | ||||
#if OMPT_SUPPORT | #if OMPT_SUPPORT | ||||
▲ Show 20 Lines • Show All 1,599 Lines • Show Last 20 Lines |
clang-format-diff not found in user's PATH; not linting file.