diff --git a/tools/clang-tidy-plugin/test/assert.cpp b/tools/clang-tidy-plugin/test/assert.cpp index cd7e680f402a2..729129c62404c 100644 --- a/tools/clang-tidy-plugin/test/assert.cpp +++ b/tools/clang-tidy-plugin/test/assert.cpp @@ -2,7 +2,7 @@ #include #include - +#include #include void f0() diff --git a/tools/clang-tidy-plugin/test/determinism.cpp b/tools/clang-tidy-plugin/test/determinism.cpp index 039fc29711639..6f2ff38f189d3 100644 --- a/tools/clang-tidy-plugin/test/determinism.cpp +++ b/tools/clang-tidy-plugin/test/determinism.cpp @@ -23,9 +23,9 @@ int rand(); void f() { std::mt19937 gen0; - // CHECK-MESSAGES: [[@LINE-1]]:18: warning: Construction of library random engine 'std::mt19937' (aka 'mersenne_twister_engine'). To ensure determinism for a fixed seed, use the common tools from rng.h rather than your own random number engines. [cata-determinism] + // CHECK-MESSAGES: [[@LINE-1]]:18: warning: Construction of library random engine 'std::mt19937' (aka 'mersenne_twister_engine'). To ensure determinism for a fixed seed, use the common tools from rng.h rather than your own random number engines. [cata-determinism] cata_default_random_engine gen1( 0 ); - // CHECK-MESSAGES: [[@LINE-1]]:32: warning: Construction of library random engine 'cata_default_random_engine' (aka 'linear_congruential_engine'). To ensure determinism for a fixed seed, use the common tools from rng.h rather than your own random number engines. [cata-determinism] + // CHECK-MESSAGES: [[@LINE-1]]:32: warning: Construction of library random engine 'cata_default_random_engine' (aka 'linear_congruential_engine'). To ensure determinism for a fixed seed, use the common tools from rng.h rather than your own random number engines. [cata-determinism] SomeOtherStruct s0; StructWithSeedButNotResultType s1; SomeOtherAlias a; diff --git a/tools/clang-tidy-plugin/test/use-localized-sorting.cpp b/tools/clang-tidy-plugin/test/use-localized-sorting.cpp index 6b1eb4f4a4272..38757f6ab2f0e 100644 --- a/tools/clang-tidy-plugin/test/use-localized-sorting.cpp +++ b/tools/clang-tidy-plugin/test/use-localized-sorting.cpp @@ -65,7 +65,7 @@ void sort1( NonString *start, NonString *end ) void sortit0( std::vector::iterator start, std::vector::iterator end ) { std::sort( start, end ); - // CHECK-MESSAGES: warning: Raw sort of 'typename __traits_type::value_type' (aka 'std::basic_string'). For UI purposes please use localized_compare from translations.h. [cata-use-localized-sorting] + // CHECK-MESSAGES: warning: Raw sort of 'typename {{.*}}' (aka 'std::{{.*string.*}}'). For UI purposes please use localized_compare from translations.h. [cata-use-localized-sorting] } void sortit1( std::vector::iterator start, std::vector::iterator end )