From df505b2723e797fba658ee7912ec697e66251055 Mon Sep 17 00:00:00 2001
From: Soeren Peters <peters@irmb.tu-bs.de>
Date: Fri, 13 Nov 2020 16:09:11 +0100
Subject: [PATCH] Remove cuda files from clang tidy check.

---
 utilities/filterCompileCommands.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utilities/filterCompileCommands.py b/utilities/filterCompileCommands.py
index 999f5809b..95d7e45fc 100644
--- a/utilities/filterCompileCommands.py
+++ b/utilities/filterCompileCommands.py
@@ -5,7 +5,7 @@ import sys
 
 
 def compile_command_selector(x):
-    return not ("3rdParty" in x["file"])
+    return not ("3rdParty" in x["file"]) or not (".cu" in x["file"])
 
 
 if __name__ == "__main__":
-- 
GitLab