diff options
author | Shilei Tian <tianshilei1992@gmail.com> | 2021-02-20 12:46:04 -0500 |
---|---|---|
committer | Shilei Tian <tianshilei1992@gmail.com> | 2021-02-20 12:46:32 -0500 |
commit | 309b00a42e902e816dad03c2c2f1a9e41ba130bc (patch) | |
tree | 4977b1b8e7709e8d850175eac6baa041856f4a34 /openmp/tools | |
parent | 6984e0d4398592a20055cb12842fc72462ce01a5 (diff) | |
download | llvm-309b00a42e902e816dad03c2c2f1a9e41ba130bc.tar.gz |
[OpenMP][NFC] clang-format the whole openmp project
Same script as D95318. Test files are excluded.
Reviewed By: AndreyChurbanov
Differential Revision: https://reviews.llvm.org/D97088
Diffstat (limited to 'openmp/tools')
-rw-r--r-- | openmp/tools/archer/ompt-tsan.cpp | 2 | ||||
-rw-r--r-- | openmp/tools/multiplex/ompt-multiplex.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/openmp/tools/archer/ompt-tsan.cpp b/openmp/tools/archer/ompt-tsan.cpp index 3ab0eadbbef0..896c8aafbe23 100644 --- a/openmp/tools/archer/ompt-tsan.cpp +++ b/openmp/tools/archer/ompt-tsan.cpp @@ -624,7 +624,6 @@ static void ompt_tsan_sync_region(ompt_sync_region_t kind, case ompt_sync_region_reduction: // should never be reached break; - } if (endpoint == ompt_scope_begin) break; @@ -683,7 +682,6 @@ static void ompt_tsan_sync_region(ompt_sync_region_t kind, // Should not occur according to OpenMP 5.1 // Tested in OMPT tests break; - } break; } diff --git a/openmp/tools/multiplex/ompt-multiplex.h b/openmp/tools/multiplex/ompt-multiplex.h index e16189f9340d..bd907f9caa8e 100644 --- a/openmp/tools/multiplex/ompt-multiplex.h +++ b/openmp/tools/multiplex/ompt-multiplex.h @@ -20,13 +20,13 @@ #define _GNU_SOURCE #endif #include <dlfcn.h> +#include <errno.h> #include <execinfo.h> #include <inttypes.h> #include <omp-tools.h> #include <omp.h> #include <stdio.h> #include <string.h> -#include <errno.h> static ompt_set_callback_t ompt_multiplex_set_callback; static ompt_get_task_info_t ompt_multiplex_get_task_info; |