From edb964a06166803c26313902a2f6c4c015c627a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Chr=C3=A9tien?= Date: Fri, 29 Aug 2014 15:26:12 +0200 Subject: [PATCH] Add support for more file extensions. .hh for C++ headers, and .cu/.cuh for CUDA files. --- cpp/find_warnings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/find_warnings.py b/cpp/find_warnings.py index 4de1f3f..ec5e1e5 100644 --- a/cpp/find_warnings.py +++ b/cpp/find_warnings.py @@ -52,8 +52,8 @@ # file. PRIMARY_HEADER_EXTENSION = '.h' -HEADER_EXTENSIONS = frozenset(['.h', '.hpp', '.h++', '.hxx']) -CPP_EXTENSIONS = frozenset(['.cc', '.cpp', '.c++', '.cxx']) +HEADER_EXTENSIONS = frozenset(['.h', '.hh', '.hpp', '.h++', '.hxx', '.cuh']) +CPP_EXTENSIONS = frozenset(['.cc', '.cpp', '.c++', '.cxx', '.cu']) # These enumerations are used to determine how an symbol/#include file is used. UNUSED = 0