From e5be8d45ca250ecb1657ec1cd992e11e2c2ebd1b Mon Sep 17 00:00:00 2001 From: Christian Sigg Date: Thu, 30 Jul 2020 16:27:59 +0200 Subject: [PATCH] clang-tidy ignore {cuda,rocm}-runtime-wrappers.cpp Both files include GPU header files for which clang implicitly adds include directories. However, clang-tidy does not and therefore we get compile errors (i.e. not diagnostics that we could disable with NOLINT). --- scripts/clang-tidy.ignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/clang-tidy.ignore b/scripts/clang-tidy.ignore index 85c81be..166838f 100644 --- a/scripts/clang-tidy.ignore +++ b/scripts/clang-tidy.ignore @@ -38,6 +38,8 @@ clang/test libclc mlir/examples/standalone mlir/test +mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp +mlir/tools/mlir-rocm-runner/rocm-runtime-wrappers.cpp openmp/libomptarget/test openmp/libomptarget/deviceRTLs/nvptx/test openmp/runtime/test