diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2021-01-06 15:13:08 +0000 |
---|---|---|
committer | Giorgio Arena <giorgio.arena@arm.com> | 2021-01-07 09:56:31 +0000 |
commit | c5a613982c12977cef2e2e16aaf9c50fa1629a88 (patch) | |
tree | 6686d4f27083d23cc598abd60d8d75921a86ea4d /support/Requires.h | |
parent | ee82d349a53d8f70cc2481581849575291872842 (diff) | |
download | ComputeLibrary-c5a613982c12977cef2e2e16aaf9c50fa1629a88.tar.gz |
Clean up macro definitions in arm_compute headers
- Expose loose macros by prefixing "ARM_COMPUTE_"
Resolves: COMPMID-3701
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com>
Change-Id: I4334b01c1a5cd8585f4a1ba2d870be956c61a83d
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4769
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'support/Requires.h')
-rw-r--r-- | support/Requires.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/Requires.h b/support/Requires.h index bc4932adc5..21c98ca766 100644 --- a/support/Requires.h +++ b/support/Requires.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020 Arm Limited. + * Copyright (c) 2018-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -40,9 +40,9 @@ enum class enabler } // namespace arm_compute /** Requirements as template */ -#define REQUIRES_T(...) template <bool Cond = (__VA_ARGS__), typename std::enable_if<Cond, int>::type = 0> +#define ARM_COMPUTE_REQUIRES_T(...) template <bool Cond = (__VA_ARGS__), typename std::enable_if<Cond, int>::type = 0> /** Requirements as template argument */ -#define REQUIRES_TA(...) typename = typename std::enable_if<(__VA_ARGS__), arm_compute::utils::requires::detail::enabler>::type +#define ARM_COMPUTE_REQUIRES_TA(...) typename = typename std::enable_if<(__VA_ARGS__), arm_compute::utils::requires::detail::enabler>::type // clang-format on // *INDENT-ON* } // namespace requires |