Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
require_semicolon.hpp
Go to the documentation of this file.
1// Copyright 2026, Toyota Motor Corporation
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_COMPILER_SUPPORT_PREPROCESSOR_REQUIRE_SEMICOLON_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_COMPILER_SUPPORT_PREPROCESSOR_REQUIRE_SEMICOLON_HPP_
7
8// IWYU pragma: private, include "arene/base/compiler_support/preprocessor.hpp"
9// IWYU pragma: friend "arene/base/compiler_support/preprocessor/.*"
10
11// NOLINTBEGIN(cppcoreguidelines-macro-usage)
12// parasoft-begin-suppress AUTOSAR-A16_0_1-d-2 "Function-like macro permitted by A16-0-1 Permit #1"
13
14// Require use of a semicolon at the end of the macro "function".
15#define ARENE_REQUIRE_SEMICOLON static_assert(true, "")
16
17#endif // INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_COMPILER_SUPPORT_PREPROCESSOR_REQUIRE_SEMICOLON_HPP_