1 // clang-format off 2 //===----------------------------------------------------------------------===// 3 // 4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // See https://llvm.org/LICENSE.txt for license information. 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 // 8 //===----------------------------------------------------------------------===// 9 10 #include "ittnotify_config.h" 11 12 #if ITT_PLATFORM == ITT_PLATFORM_WIN 13 14 #pragma warning(disable: 593) /* parameter "XXXX" was set but never used */ 15 #pragma warning(disable: 344) /* typedef name has already been declared (with 16 same type) */ 17 #pragma warning(disable: 174) /* expression has no effect */ 18 #pragma warning(disable: 4127) /* conditional expression is constant */ 19 #pragma warning(disable: 4306) /* conversion from '?' to '?' of greater size */ 20 21 #endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */ 22 23 #if defined __INTEL_COMPILER 24 25 #pragma warning(disable: 869) /* parameter "XXXXX" was never referenced */ 26 #pragma warning(disable: 1418) /* external function definition with no prior 27 declaration */ 28 #pragma warning(disable: 1419) /* external declaration in primary source file */ 29 30 #endif /* __INTEL_COMPILER */ 31