Remove CPP_ATTRIBUTE_FALLTHROUGH macro

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-10-22 16:12:30 +00:00
committed by Compute-Runtime-Automation
parent 257b1de14e
commit d34ef3170a
13 changed files with 32 additions and 66 deletions

View File

@@ -9,7 +9,6 @@ set(NEO_CORE_UTILITIES
${CMAKE_CURRENT_SOURCE_DIR}/api_intercept.h
${CMAKE_CURRENT_SOURCE_DIR}/arrayref.h
${CMAKE_CURRENT_SOURCE_DIR}/cpuintrinsics.h
${CMAKE_CURRENT_SOURCE_DIR}/compiler_support.h
${CMAKE_CURRENT_SOURCE_DIR}/const_stringref.h
${CMAKE_CURRENT_SOURCE_DIR}/cpu_info.h
${CMAKE_CURRENT_SOURCE_DIR}/debug_file_reader.cpp

View File

@@ -1,22 +0,0 @@
/*
* Copyright (C) 2020-2021 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