mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Remove CPP_ATTRIBUTE_FALLTHROUGH macro
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
257b1de14e
commit
d34ef3170a
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user