From f4643379c5f210d552ee3e8395f831ff5c168de7 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Fri, 29 Nov 2019 16:17:13 +0000 Subject: COMPMID-2826 Comply with DCL51-CPP Rename all header guards to be compliant with DCL51-CPP Change-Id: I47b09375bb1b8d39d80c275ce69a3f25fb385d75 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/2393 Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins --- arm_compute/core/utils/logging/FilePrinter.h | 8 ++++---- arm_compute/core/utils/logging/Helpers.h | 8 ++++---- arm_compute/core/utils/logging/IPrinter.h | 6 +++--- arm_compute/core/utils/logging/LogMsgDecorators.h | 6 +++--- arm_compute/core/utils/logging/Logger.h | 8 ++++---- arm_compute/core/utils/logging/LoggerRegistry.h | 6 +++--- arm_compute/core/utils/logging/Macros.h | 6 +++--- arm_compute/core/utils/logging/Printers.h | 8 ++++---- arm_compute/core/utils/logging/StdPrinter.h | 8 ++++---- arm_compute/core/utils/logging/Types.h | 8 ++++---- 10 files changed, 36 insertions(+), 36 deletions(-) (limited to 'arm_compute/core/utils/logging') diff --git a/arm_compute/core/utils/logging/FilePrinter.h b/arm_compute/core/utils/logging/FilePrinter.h index e2ae95208a..73a5421ed4 100644 --- a/arm_compute/core/utils/logging/FilePrinter.h +++ b/arm_compute/core/utils/logging/FilePrinter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_FILE_PRINTER_H__ -#define __ARM_COMPUTE_LOGGING_FILE_PRINTER_H__ +#ifndef ARM_COMPUTE_LOGGING_FILE_PRINTER_H +#define ARM_COMPUTE_LOGGING_FILE_PRINTER_H #include "arm_compute/core/utils/logging/IPrinter.h" @@ -51,4 +51,4 @@ private: }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_FILE_PRINTER_H__ */ +#endif /* ARM_COMPUTE_LOGGING_FILE_PRINTER_H */ diff --git a/arm_compute/core/utils/logging/Helpers.h b/arm_compute/core/utils/logging/Helpers.h index 4bc54e80db..0e2a839f64 100644 --- a/arm_compute/core/utils/logging/Helpers.h +++ b/arm_compute/core/utils/logging/Helpers.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_HELPERS_H__ -#define __ARM_COMPUTE_LOGGING_HELPERS_H__ +#ifndef ARM_COMPUTE_LOGGING_HELPERS_H +#define ARM_COMPUTE_LOGGING_HELPERS_H #include "arm_compute/core/utils/logging/Types.h" #include "support/ToolchainSupport.h" @@ -74,4 +74,4 @@ inline std::string angle_wrap_value(const T &val) const std::string &string_from_log_level(LogLevel log_level); } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_HELPERS_H__ */ +#endif /* ARM_COMPUTE_LOGGING_HELPERS_H */ diff --git a/arm_compute/core/utils/logging/IPrinter.h b/arm_compute/core/utils/logging/IPrinter.h index 45ea8368eb..b6ede5853a 100644 --- a/arm_compute/core/utils/logging/IPrinter.h +++ b/arm_compute/core/utils/logging/IPrinter.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_PRINTER_H__ -#define __ARM_COMPUTE_LOGGING_PRINTER_H__ +#ifndef ARM_COMPUTE_LOGGING_PRINTER_H +#define ARM_COMPUTE_LOGGING_PRINTER_H #include "support/Mutex.h" @@ -71,4 +71,4 @@ private: }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_PRINTER_H__ */ +#endif /* ARM_COMPUTE_LOGGING_PRINTER_H */ diff --git a/arm_compute/core/utils/logging/LogMsgDecorators.h b/arm_compute/core/utils/logging/LogMsgDecorators.h index 7c5b58b633..08abcb4519 100644 --- a/arm_compute/core/utils/logging/LogMsgDecorators.h +++ b/arm_compute/core/utils/logging/LogMsgDecorators.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H__ -#define __ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H__ +#ifndef ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H +#define ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H #include "arm_compute/core/Error.h" #include "arm_compute/core/utils/logging/Helpers.h" @@ -142,4 +142,4 @@ public: }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H__ */ +#endif /* ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H */ diff --git a/arm_compute/core/utils/logging/Logger.h b/arm_compute/core/utils/logging/Logger.h index eb9bdd2e36..2bd467ae2b 100644 --- a/arm_compute/core/utils/logging/Logger.h +++ b/arm_compute/core/utils/logging/Logger.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_LOGGER_H__ -#define __ARM_COMPUTE_LOGGING_LOGGER_H__ +#ifndef ARM_COMPUTE_LOGGING_LOGGER_H +#define ARM_COMPUTE_LOGGING_LOGGER_H #include "arm_compute/core/utils/logging/Helpers.h" #include "arm_compute/core/utils/logging/IPrinter.h" @@ -173,4 +173,4 @@ inline void Logger::log(LogLevel log_level, const std::string &fmt, Ts &&... arg } } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_LOGGER_H__ */ +#endif /* ARM_COMPUTE_LOGGING_LOGGER_H */ diff --git a/arm_compute/core/utils/logging/LoggerRegistry.h b/arm_compute/core/utils/logging/LoggerRegistry.h index 0e223ff663..c1a182c1ae 100644 --- a/arm_compute/core/utils/logging/LoggerRegistry.h +++ b/arm_compute/core/utils/logging/LoggerRegistry.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H__ -#define __ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H__ +#ifndef ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H +#define ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H #include "arm_compute/core/utils/logging/Logger.h" #include "arm_compute/core/utils/logging/Printers.h" @@ -87,4 +87,4 @@ private: }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H__ */ +#endif /* ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H */ diff --git a/arm_compute/core/utils/logging/Macros.h b/arm_compute/core/utils/logging/Macros.h index 6c5bb32144..e4d9734792 100644 --- a/arm_compute/core/utils/logging/Macros.h +++ b/arm_compute/core/utils/logging/Macros.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_MACROS_H__ -#define __ARM_COMPUTE_LOGGING_MACROS_H__ +#ifndef ARM_COMPUTE_LOGGING_MACROS_H +#define ARM_COMPUTE_LOGGING_MACROS_H #include "arm_compute/core/utils/logging/LoggerRegistry.h" @@ -73,4 +73,4 @@ #endif /* ARM_COMPUTE_LOGGING_ENABLED */ -#endif /* __ARM_COMPUTE_LOGGING_MACROS_H__ */ +#endif /* ARM_COMPUTE_LOGGING_MACROS_H */ diff --git a/arm_compute/core/utils/logging/Printers.h b/arm_compute/core/utils/logging/Printers.h index 7e5eef6a04..e09880cc53 100644 --- a/arm_compute/core/utils/logging/Printers.h +++ b/arm_compute/core/utils/logging/Printers.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_PRINTERS_H__ -#define __ARM_COMPUTE_LOGGING_PRINTERS_H__ +#ifndef ARM_COMPUTE_LOGGING_PRINTERS_H +#define ARM_COMPUTE_LOGGING_PRINTERS_H #include "arm_compute/core/utils/logging/FilePrinter.h" #include "arm_compute/core/utils/logging/IPrinter.h" #include "arm_compute/core/utils/logging/StdPrinter.h" -#endif /* __ARM_COMPUTE_LOGGING_PRINTERS_H__ */ +#endif /* ARM_COMPUTE_LOGGING_PRINTERS_H */ diff --git a/arm_compute/core/utils/logging/StdPrinter.h b/arm_compute/core/utils/logging/StdPrinter.h index 0b41b26022..ea41ce2599 100644 --- a/arm_compute/core/utils/logging/StdPrinter.h +++ b/arm_compute/core/utils/logging/StdPrinter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_STD_PRINTER_H__ -#define __ARM_COMPUTE_LOGGING_STD_PRINTER_H__ +#ifndef ARM_COMPUTE_LOGGING_STD_PRINTER_H +#define ARM_COMPUTE_LOGGING_STD_PRINTER_H #include "arm_compute/core/utils/logging/IPrinter.h" @@ -44,4 +44,4 @@ private: }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_STD_PRINTER_H__ */ +#endif /* ARM_COMPUTE_LOGGING_STD_PRINTER_H */ diff --git a/arm_compute/core/utils/logging/Types.h b/arm_compute/core/utils/logging/Types.h index d56784369c..838adf95b4 100644 --- a/arm_compute/core/utils/logging/Types.h +++ b/arm_compute/core/utils/logging/Types.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 ARM Limited. + * Copyright (c) 2016-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_TYPES_H__ -#define __ARM_COMPUTE_LOGGING_TYPES_H__ +#ifndef ARM_COMPUTE_LOGGING_TYPES_H +#define ARM_COMPUTE_LOGGING_TYPES_H #include @@ -65,4 +65,4 @@ struct LogMsg }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_TYPES_H__ */ +#endif /* ARM_COMPUTE_TYPES_H */ -- cgit v1.2.1