189a1d03eSRichard // RUN: %check_clang_tidy %s portability-restrict-system-includes %t \ 2*e8a3ddafSNathan James // RUN: -- -config="{CheckOptions: {portability-restrict-system-includes.Includes: '*,-stddef.h'}}" \ 389a1d03eSRichard // RUN: -- -isystem %S/Inputs/restrict-system-includes/system 489a1d03eSRichard 589a1d03eSRichard // Test block-list functionality: allow all but stddef.h. 689a1d03eSRichard 789a1d03eSRichard #include <stddef.h> 889a1d03eSRichard // CHECK-MESSAGES: :[[@LINE-1]]:1: warning: system include stddef.h not allowed 989a1d03eSRichard #include <stdint.h> 1089a1d03eSRichard #include <float.h> 11