[gjs/arg-inlines: 1/11] CI: Check separate inline header files as well



commit 552df9bfb8fc9d271f077e55d13efaee302e883f
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Jul 11 20:38:35 2020 -0700

    CI: Check separate inline header files as well
    
    IWYU already does this, but we need to implement it as well for our
    logic that decides what files to check.

 tools/run_iwyu.sh | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tools/run_iwyu.sh b/tools/run_iwyu.sh
index ef96b7a0..9e208db1 100755
--- a/tools/run_iwyu.sh
+++ b/tools/run_iwyu.sh
@@ -26,6 +26,7 @@ should_analyze () {
         all) return 0 ;;
         *$file*) return 0 ;;
         *${file%.cpp}.h*) return 0 ;;
+        *${file%.cpp}-inl.h*) return 0 ;;
         *${file%.cpp}-private.h*) return 0 ;;
         *${file%.c}.h*) return 0 ;;
         *) return 1 ;;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]