HomePhabricator

[OMPT] Make sure that OMPT is enabled when accessing internals of the runtime

Description

[OMPT] Make sure that OMPT is enabled when accessing internals of the runtime

The three switch fallthrough generate a warning with -Wimplicit-fallthrough.
Two are documented as fallthrough, one is not, but I think the intention is to also fallthrough in kmp_tasking.cpp.

Not sure whether kmp.h is the best place to define the macro.

Reviewers: jlpeyton, AndreyChurbanov, Hahnfeld

Reviewed By: jlpeyton

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D56397

Details

Committed
jprotzeFeb 4 2019, 7:59 AM
Reviewer
jlpeyton
Differential Revision
D56397: [OpenMP] Silence warning about fallthrough
Branches
Unknown
Tags
Unknown