Files
compute-runtime/core/utilities/compiler_support.h
Filip Hazubski 553f88ecd8 Move files from common to core
Change-Id: I900e752607ca5b805463895910f5fd3812e1760d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-02-21 11:27:28 +01:00

23 lines
324 B
C++

/*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#if !defined __has_cpp_attribute
#define CPP_ATTRIBUTE_FALLTHROUGH
#else
#if !__has_cpp_attribute(fallthrough)
#define CPP_ATTRIBUTE_FALLTHROUGH
#else
#define CPP_ATTRIBUTE_FALLTHROUGH [[fallthrough]]
#endif
#endif