include-what-you-use/tests/cxx
Jean-Philippe Gravel 6fb66575fb Add support for group/backreferences regex replacement in mapping files.
This is useful to generically remap files from one directory to another.
The following mapping would for instance map all files under the "foo/"
directory to "third_party/foo/", for instance, mapping "foo/bar.h" to
"third_party/foo/bar.h".

[ { include: ['@"(foo/.*)"', private, '"third_party/\1"', public ] } ]

This is useful for large project where different third_party libraries
are compiled together. In Chromium for instance, include paths would
look like:
 -Ithird_party -Ithird_party/v8/include

This allows code in V8 to include its own headers directly. Other
third_parties would include them via "third_party/v8/include/...".
Because files are accessible from two different paths, IWYU can't know
which should be used. Using a mapping file, adding or removing the
"third_party/v8/include" prefix where needed, resolves this problem.
2022-10-09 20:40:18 +02:00
..
internal Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
public Fix one of the bugs from issue 144: confusion with folders 2014-08-18 18:45:03 +00:00
subdir [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
alias_template.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
alias_template_use-d1.h Fix handling of alias templates 2020-03-22 20:43:11 +01:00
alias_template_use-i1.h Fix handling of alias templates 2020-03-22 20:43:11 +01:00
alias_template_use-i2.h Fix handling of alias templates 2020-03-22 20:43:11 +01:00
alias_template_use.cc Fix handling of alias templates 2020-03-22 20:43:11 +01:00
anonymous_struct.cc Do not warn on unnamed struct fields 2022-05-18 20:21:09 +02:00
array.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
associated_h_file_heuristic.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
associated_include-i1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
associated_include.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
associated_include.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
associated_skipped-d1.h Add skipped associated headers to IWYU analysis 2019-12-21 15:03:29 +01:00
associated_skipped-i1.h Add skipped associated headers to IWYU analysis 2019-12-21 15:03:29 +01:00
associated_skipped.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
associated_skipped.h Add skipped associated headers to IWYU analysis 2019-12-21 15:03:29 +01:00
auto_type_within_template.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
avoids_double_specialization.cc Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
backwards_includes-d1-inl.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
backwards_includes-d1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
backwards_includes-d2.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
backwards_includes-d3.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
backwards_includes.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
badinc-d1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-d2.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-d3.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-d4.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-extradef.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
badinc-i1.h Extract function pointer tests out of badinc 2017-05-17 19:49:03 +02:00
badinc-i2-inl.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-i2.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-i3.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-i4.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-i5.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-i6.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-inl.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-private.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc-private2.h Make header guards consistent 2016-05-25 22:17:31 +02:00
badinc.cc Move autocast testing from badinc 2022-09-12 18:58:19 +02:00
badinc.h Report enum type name instead of constant name 2022-06-13 07:47:21 +02:00
badinc.imp Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
badinc2.c Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
binary_type_trait-d1.h Handle binary type traits 2019-12-04 20:46:04 +01:00
binary_type_trait-i1.h Handle binary type traits 2019-12-04 20:46:04 +01:00
binary_type_trait-i2.h Handle binary type traits 2019-12-04 20:46:04 +01:00
binary_type_trait.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
builtins_no_includes.cc Rename tests built_ins_* -> builtins_* 2019-03-18 21:20:32 +01:00
builtins_template.cc Handle builtin templates which have a CXXRecordDecl child properly 2019-07-10 20:11:22 +03:00
builtins_with_mapping-d1.h Rename tests built_ins_* -> builtins_* 2019-03-18 21:20:32 +01:00
builtins_with_mapping.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
builtins_with_mapping.h Rename tests built_ins_* -> builtins_* 2019-03-18 21:20:32 +01:00
builtins_with_mapping.imp Rename tests built_ins_* -> builtins_* 2019-03-18 21:20:32 +01:00
casts-d1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
casts-d2.h Require converted-to type for upcasts via user-defined conversions 2019-03-14 17:00:29 +01:00
casts-d3.h Require converted-to type for upcasts via user-defined conversions 2019-03-14 17:00:29 +01:00
casts-i1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
casts-i2.h Require converted-to type for upcasts via user-defined conversions 2019-03-14 17:00:29 +01:00
casts-i3.h Require converted-to type for upcasts via user-defined conversions 2019-03-14 17:00:29 +01:00
casts.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
catch-byptr.h Make header guards consistent 2016-05-25 22:17:31 +02:00
catch-byref.h Make header guards consistent 2016-05-25 22:17:31 +02:00
catch-byvalue.h Make header guards consistent 2016-05-25 22:17:31 +02:00
catch-elab.h Make header guards consistent 2016-05-25 22:17:31 +02:00
catch-exceptions-macro.h Use more exact location for caught exceptions 2022-10-09 16:35:19 +02:00
catch-exceptions.h Use more exact location for caught exceptions 2022-10-09 16:35:19 +02:00
catch-logex.h Make header guards consistent 2016-05-25 22:17:31 +02:00
catch-macro-1.h Use more exact location for caught exceptions 2022-10-09 16:35:19 +02:00
catch-macro-2.h Use more exact location for caught exceptions 2022-10-09 16:35:19 +02:00
catch-thrown.h Make header guards consistent 2016-05-25 22:17:31 +02:00
catch.cc Use more exact location for caught exceptions 2022-10-09 16:35:19 +02:00
check_also-d1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
check_also-i1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
check_also-n1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
check_also.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
clmode.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
comment_pragmas-d1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d2.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d3.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d4.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d5.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d6.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d7.h Better validate pragma syntax 2016-12-12 21:09:46 +01:00
comment_pragmas-d8.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d9.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d10.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d11.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d12.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d13.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d14.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d15.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d16.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d17.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d18.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d19.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d20.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d21.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-d22.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i2.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i3.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i4.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i5.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i6.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i7.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i8.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i9.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i10.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas-i11.h Make header guards consistent 2016-05-25 22:17:31 +02:00
comment_pragmas.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
comment_style-d1.h add --comment_style option with tests 2022-05-28 11:03:47 +02:00
comment_style-i2.h add --comment_style option with tests 2022-05-28 11:03:47 +02:00
comment_style_long.cc add --comment_style option with tests 2022-05-28 11:03:47 +02:00
comment_style_none.cc add --comment_style option with tests 2022-05-28 11:03:47 +02:00
comment_style_short.cc add --comment_style option with tests 2022-05-28 11:03:47 +02:00
comment_style_update_long.cc add --comment_style option with tests 2022-05-28 11:03:47 +02:00
comment_style_update_none.cc add --comment_style option with tests 2022-05-28 11:03:47 +02:00
computed_include.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
computed_include.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
concept-direct.h Report C++20 concept declaration use 2022-07-23 10:31:48 +02:00
concept-indirect.h Report C++20 concept declaration use 2022-07-23 10:31:48 +02:00
concept.cc Report C++20 concept declaration use 2022-07-23 10:31:48 +02:00
consteval.cc Add minimal testcases for C++20 consteval 2022-02-27 20:40:05 +01:00
conversion_ctor.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
ctad-d1.h Support class template argument deduction 2021-07-21 09:44:30 +02:00
ctad-i1.h Support class template argument deduction 2021-07-21 09:44:30 +02:00
ctad.cc Support class template argument deduction 2021-07-21 09:44:30 +02:00
cvr-base.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
cvr-class.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
cvr-derived.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
cvr.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
cxx17ns-i1.h Add new --cxx17ns option 2019-02-06 19:55:19 +01:00
cxx17ns.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
default_template_arg_other_file-d1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
default_template_arg_other_file-d2.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
default_template_arg_other_file-i2.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
default_template_arg_other_file-o1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
default_template_arg_other_file.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
defn_is_use-decl.h Count free function definitions as uses 2018-03-09 20:37:52 +01:00
defn_is_use-namespace.h Count free function definitions as uses 2018-03-09 20:37:52 +01:00
defn_is_use.cc Count free function definitions as uses 2018-03-09 20:37:52 +01:00
deleted_implicit.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
depopulated_h_file-i1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
depopulated_h_file.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
depopulated_h_file.h Make header guards consistent 2016-05-25 22:17:31 +02:00
derived_function_tpl_args-d1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
derived_function_tpl_args-i1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
derived_function_tpl_args.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
direct.h Make header guards consistent 2016-05-25 22:17:31 +02:00
direct_near.h Use absolute paths to build include names 2016-06-08 08:23:26 +02:00
dotdot.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
double_include.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
double_include.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
elaborated_type.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
elaborated_type_class.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
elaborated_type_enum1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
elaborated_type_enum2.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
elaborated_type_namespace.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
elaborated_type_struct.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
elaborated_type_union.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
enum_base-d1.h Correctly handle enums which use typedefed types 2019-12-04 08:48:55 +01:00
enum_base-i1.h Correctly handle enums which use typedefed types 2019-12-04 08:48:55 +01:00
enum_base.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
enums-d1.h Tests on enum opaque declarations 2022-06-13 07:47:21 +02:00
enums-i1.h Tests on enum opaque declarations 2022-06-13 07:47:21 +02:00
enums-i2.h Tests on enum opaque declarations 2022-06-13 07:47:21 +02:00
enums-i3.h Tests on enum opaque declarations 2022-06-13 07:47:21 +02:00
enums-i4.h Tests on enum opaque declarations 2022-06-13 07:47:21 +02:00
enums.cc Test absence of redundant enum reporting 2022-09-04 13:20:54 +02:00
explicit_instantiation-template.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
explicit_instantiation-template_direct.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
explicit_instantiation.cc [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
explicit_instantiation2-template_helpers.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
explicit_instantiation2-template_short.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
explicit_instantiation2-template_short_direct.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
explicit_instantiation2.cc [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
export_near.h Fix combination of pragma export and "" includes 2019-09-01 16:41:53 +02:00
export_nesting-d1.h Support nested wrapper headers 2019-01-05 21:49:10 +01:00
export_nesting-i1.h Support nested wrapper headers 2019-01-05 21:49:10 +01:00
export_nesting.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
export_nesting.h Support nested wrapper headers 2019-01-05 21:49:10 +01:00
export_private_near.h Fix pragma: private in relative includes 2019-09-01 16:41:53 +02:00
external_including_internal.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
forward_declare_in_macro.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
forward_declare_in_macro.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
fullinfo_for_templates-d1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
fullinfo_for_templates-d2.h Make header guards consistent 2016-05-25 22:17:31 +02:00
fullinfo_for_templates.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
funcptrs-d1.h Extract function pointer tests out of badinc 2017-05-17 19:49:03 +02:00
funcptrs-i1.h Extract function pointer tests out of badinc 2017-05-17 19:49:03 +02:00
funcptrs.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
fwd_decl_class_template-i1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
fwd_decl_class_template.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
fwd_decl_class_template.h Make header guards consistent 2016-05-25 22:17:31 +02:00
fwd_decl_final-d1.h Fix final class forward-declaration bug 2019-09-30 21:55:51 +02:00
fwd_decl_final.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
fwd_decl_final.h Fix final class forward-declaration bug 2019-09-30 21:55:51 +02:00
fwd_decl_nested_class.cc Recognize nested classes in friend declarations 2016-08-15 21:10:02 +02:00
fwd_decl_of_nested_class_defined_later.cc [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
fwd_decl_static_member.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
fwd_decl_then_dfn.cc Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
fwd_decl_with_attribute.cc Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
fwd_decl_with_instantiation-d1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
fwd_decl_with_instantiation.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
fwd_decl_with_instantiation.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
fwd_declare_enum.cc Replace RecordDecl by TagDecl 2022-06-13 07:47:21 +02:00
header_in_subdir.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
header_in_subdir_nopath.cc Change "folder" to "dir" in tests 2019-07-17 19:02:28 +02:00
header_near.cc [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
header_near.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
implicit_ctor-d1.h Avoid 'autocast' reporting for function definition 2022-10-08 16:17:50 +02:00
implicit_ctor-i1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
implicit_ctor-i2.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
implicit_ctor.cc Clarify comment 2022-10-08 16:17:50 +02:00
include_cycle.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
include_with_using-d1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
include_with_using-d2.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
include_with_using-d3.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
include_with_using-d3b.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
include_with_using-d4.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
include_with_using-d5.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
include_with_using-d5b.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
include_with_using-i1.h Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
include_with_using.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
indirect.h Make header guards consistent 2016-05-25 22:17:31 +02:00
inheriting_ctor-d1.h Skip non-ctors during instantiation of implicit methods 2017-10-04 20:05:19 +02:00
inheriting_ctor-i1.h Skip non-ctors during instantiation of implicit methods 2017-10-04 20:05:19 +02:00
inheriting_ctor.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
inline_namespace-d1.h Disable forward-declares for decls in inline namespaces 2019-11-09 16:23:08 +01:00
inline_namespace-i1.h Disable forward-declares for decls in inline namespaces 2019-11-09 16:23:08 +01:00
inline_namespace.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
inline_namespace.h Disable forward-declares for decls in inline namespaces 2019-11-09 16:23:08 +01:00
integer_template_arg.cc Move all tests to tests/cxx. 2014-02-15 20:02:37 +00:00
iterator.cc Explicitly ignore std::find result in iterator test 2022-10-03 16:45:37 +02:00
iwyu_stricter_than_cpp-autocast.h Test "autocast" rules on header-defined functions 2022-10-08 16:17:50 +02:00
iwyu_stricter_than_cpp-autocast2.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
iwyu_stricter_than_cpp-d1.h Test "autocast" rules on header-defined functions 2022-10-08 16:17:50 +02:00
iwyu_stricter_than_cpp-d2.h Fix autocast to reference 2022-07-16 18:30:23 +02:00
iwyu_stricter_than_cpp-d3.h Perform full analysis of typedef components 2022-05-28 22:54:19 +02:00
iwyu_stricter_than_cpp-fnreturn.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
iwyu_stricter_than_cpp-i1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
iwyu_stricter_than_cpp-i2.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
iwyu_stricter_than_cpp-i3.h Perform full analysis of typedef components 2022-05-28 22:54:19 +02:00
iwyu_stricter_than_cpp-i4.h Perform full analysis of typedef components 2022-05-28 22:54:19 +02:00
iwyu_stricter_than_cpp-type_alias.h Perform full analysis of typedef components 2022-05-28 22:54:19 +02:00
iwyu_stricter_than_cpp-typedefs.h Perform full analysis of typedef components 2022-05-28 22:54:19 +02:00
iwyu_stricter_than_cpp.cc Test "autocast" rules on header-defined functions 2022-10-08 16:17:50 +02:00
keep_mapping-pragma1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
keep_mapping-pragma2.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
keep_mapping-priv.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
keep_mapping-private.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
keep_mapping-public.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
keep_mapping.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
keep_mapping.imp Clean up line endings after r523 2014-02-16 07:52:34 +00:00
keep_moc-d1.h Always keep .moc #includes 2019-12-21 10:02:52 +01:00
keep_moc-i1.h Always keep .moc #includes 2019-12-21 10:02:52 +01:00
keep_moc.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
keep_moc.moc Always keep .moc #includes 2019-12-21 10:02:52 +01:00
lambda_fwd_decl.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
lateparsed_template-notchecked.h Make header guards consistent 2016-05-25 22:17:31 +02:00
lateparsed_template.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
libbuiltins-direct.h Improve detection of builtin functions 2021-06-05 11:13:26 +02:00
libbuiltins.cc Improve detection of builtin functions 2021-06-05 11:13:26 +02:00
macro_defined_by_includer-d1.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-d2.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-d3.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-d4.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-g1.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-g2.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-g3.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-g4.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-g5.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-i1.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-i2.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-i3.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer-i4.h Exclude prefix headers from macro-defined-by-includer heuristics (issue #368). 2017-02-19 17:58:30 -08:00
macro_defined_by_includer-prefix.h Exclude prefix headers from macro-defined-by-includer heuristics (issue #368). 2017-02-19 17:58:30 -08:00
macro_defined_by_includer-xmacro.h Handle internal headers guarded by macro and x-macros (fix issue #109). 2016-08-14 17:28:46 -07:00
macro_defined_by_includer.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
macro_location-byteswap.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
macro_location-d1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
macro_location-d2.h Fix #127: Improve macro location logic 2016-03-15 22:21:39 +01:00
macro_location-d3.h Fix IsInScratchSpace so it actually works. 2016-03-20 15:49:33 +01:00
macro_location-d4.h Add new test cases for macro location bugs 2016-10-07 21:19:24 +02:00
macro_location-i3.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
macro_location-i4.h Fix IsInScratchSpace so it actually works. 2016-03-20 15:49:33 +01:00
macro_location-i5.h Add new test cases for macro location bugs 2016-10-07 21:19:24 +02:00
macro_location-inet.h Add mappings for byteorder(3) functions 2022-05-21 10:49:29 +02:00
macro_location.cc Add mappings for byteorder(3) functions 2022-05-21 10:49:29 +02:00
macro_location.h Add new test cases for macro location bugs 2016-10-07 21:19:24 +02:00
macro_location_tpl-d1.h Use primary function template declaration for macro author intent 2021-07-21 09:44:55 +02:00
macro_location_tpl-d2.h Use primary function template declaration for macro author intent 2021-07-21 09:44:55 +02:00
macro_location_tpl-i1.h Use primary function template declaration for macro author intent 2021-07-21 09:44:55 +02:00
macro_location_tpl.cc Use primary function template declaration for macro author intent 2021-07-21 09:44:55 +02:00
macro_use_expanded_decl-class.h Always report the expanded location for a decl 2017-10-04 20:16:37 +02:00
macro_use_expanded_decl-macro.h Always report the expanded location for a decl 2017-10-04 20:16:37 +02:00
macro_use_expanded_decl.cc Always report the expanded location for a decl 2017-10-04 20:16:37 +02:00
mapping_regex.cc Add new testcase for --regex=ecmascript 2022-09-03 15:04:27 +02:00
mapping_regex.imp Add new testcase for --regex=ecmascript 2022-09-03 15:04:27 +02:00
mapping_replace_regex_ecmascript.cc Add support for group/backreferences regex replacement in mapping files. 2022-10-09 20:40:18 +02:00
mapping_replace_regex_ecmascript.imp Add support for group/backreferences regex replacement in mapping files. 2022-10-09 20:40:18 +02:00
mapping_replace_regex_llvm.cc Add support for group/backreferences regex replacement in mapping files. 2022-10-09 20:40:18 +02:00
mapping_replace_regex_llvm.imp Add support for group/backreferences regex replacement in mapping files. 2022-10-09 20:40:18 +02:00
mapping_to_self-d1.h Support headers using symbols mapped to themselves 2019-03-04 07:36:01 +01:00
mapping_to_self-i1.h Support headers using symbols mapped to themselves 2019-03-04 07:36:01 +01:00
mapping_to_self.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
mapping_to_self.h Support headers using symbols mapped to themselves 2019-03-04 07:36:01 +01:00
mapping_to_self.imp Support headers using symbols mapped to themselves 2019-03-04 07:36:01 +01:00
member_expr-d1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
member_expr.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
ms_inline_asm.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
multiple_include_paths.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
new_header_path_local.cc Use absolute paths to build include names 2016-06-08 08:23:26 +02:00
new_header_path_provided.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
no_char_traits.cc Clean up line endings after r523 2014-02-16 07:52:34 +00:00
no_comments.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
no_definition.cc Clean up line endings after r523 2014-02-16 07:52:34 +00:00
no_deque.cc Clean up line endings after r523 2014-02-16 07:52:34 +00:00
no_forced_alias_callability-d1.h Don't require aliased type method callability 2021-10-03 16:29:52 +02:00
no_forced_alias_callability-d2.h Don't require aliased type method callability 2021-10-03 16:29:52 +02:00
no_forced_alias_callability.cc Don't require aliased type method callability 2021-10-03 16:29:52 +02:00
no_fwd_decl_nested_class-d1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
no_fwd_decl_nested_class.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
no_fwd_decl_std.cc Clean up line endings after r523 2014-02-16 07:52:34 +00:00
no_fwd_decls-fwd.h Make --no_fwd_decls respect local forward decls 2019-03-19 20:11:33 +01:00
no_fwd_decls-nameonly.h Make --no_fwd_decls respect local forward decls 2019-03-19 20:11:33 +01:00
no_fwd_decls.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
no_h_includes_cc-inc.c Clean up line endings after r523 2014-02-16 07:52:34 +00:00
no_h_includes_cc-inc2.c Clean up line endings after r523 2014-02-16 07:52:34 +00:00
no_h_includes_cc.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
no_h_includes_cc.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
non_transitive_include-d1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
non_transitive_include-d2.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
non_transitive_include.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
operator_new.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
out_of_line-dep-char.h Ignore the class qualifier in out of line methods 2018-04-23 21:58:59 +02:00
out_of_line-dep-int.h Ignore the class qualifier in out of line methods 2018-04-23 21:58:59 +02:00
out_of_line-dep.h Ignore the class qualifier in out of line methods 2018-04-23 21:58:59 +02:00
out_of_line.cc Ignore the class qualifier in out of line methods 2018-04-23 21:58:59 +02:00
overloaded_class-d1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
overloaded_class-i1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
overloaded_class.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
pch.h Fix issue 126: Precompiled-headers support with --prefix_header_includes 2014-04-27 20:35:44 +00:00
pch_in_code.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
placement_new-d1.h Add more complete testing for placement new 2020-05-02 11:42:24 +02:00
placement_new-i1.h Add more complete testing for placement new 2020-05-02 11:42:24 +02:00
placement_new.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
pointer_arith.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
pragma_associated-d1.h Add pragma to set associated header 2017-03-10 21:30:35 +01:00
pragma_associated-d2.h Add pragma to set associated header 2017-03-10 21:30:35 +01:00
pragma_associated.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
pragma_associated.h Add pragma to set associated header 2017-03-10 21:30:35 +01:00
precomputed_tpl_args-d1.h Mark std::less<> specializations in tests const 2022-07-16 15:47:43 +02:00
precomputed_tpl_args-i1.h Mark std::less<> specializations in tests const 2022-07-16 15:47:43 +02:00
precomputed_tpl_args.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
prefix_header_attribution-d1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
prefix_header_attribution-i1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
prefix_header_attribution.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
prefix_header_includes-d1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
prefix_header_includes-d2.h Make header guards consistent 2016-05-25 22:17:31 +02:00
prefix_header_includes-d3.h Make header guards consistent 2016-05-25 22:17:31 +02:00
prefix_header_includes-d4.h Make header guards consistent 2016-05-25 22:17:31 +02:00
prefix_header_includes-i1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
prefix_header_includes_add.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
prefix_header_includes_keep.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
prefix_header_includes_remove.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
prefix_header_operator_new.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
private.h Fix pragma: private in relative includes 2019-09-01 16:41:53 +02:00
quoted_includes_first.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
quoted_includes_first.h Change "folder" to "dir" in tests 2019-07-17 19:02:28 +02:00
range_for-iterable.h Recognize C++11 range-for statements 2018-03-09 22:01:11 +01:00
range_for.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
re_fwd_decl-d1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
re_fwd_decl.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
re_fwd_decl.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
redecls-d1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
redecls-d2.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
redecls.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
redecls.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
relative_exported_mapped_include-d1.h Fix symbol mappings to relative includes 2019-09-01 16:41:53 +02:00
relative_exported_mapped_include.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
relative_exported_mapped_include.imp Fix symbol mappings to relative includes 2019-09-01 16:41:53 +02:00
relative_include_of_double_export-d1.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
relative_include_of_double_export.cc Fix nested exports via relative includes 2019-09-01 16:41:53 +02:00
relative_include_of_export.cc [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
relative_include_of_export_added-d1.h Fix pragma: private in relative includes 2019-09-01 16:41:53 +02:00
relative_include_of_export_added.cc Fix pragma: private in relative includes 2019-09-01 16:41:53 +02:00
remove_fwd_decl_when_including.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
scope_crash.cc Ensure TU has a scope in implicit method instantiation 2021-06-06 14:01:35 +02:00
self_include.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
sizeof_in_template_arg.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
sizeof_reference.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
specialization_needs_decl-d1.h Don't second-guess template specializations 2020-05-23 10:54:37 +02:00
specialization_needs_decl-i1.h Don't second-guess template specializations 2020-05-23 10:54:37 +02:00
specialization_needs_decl.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
std_size_t.cc Add mappings for std::size_t 2021-05-18 21:40:52 +02:00
stl_container_provides_allocator.cc Fix requiring allocator for getting container iterator with libc++. (#448) 2017-07-03 14:36:21 -07:00
system_namespaces-d1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
system_namespaces-d2.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
system_namespaces-d3.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
system_namespaces.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
template_args.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
template_default_args_roundtrip-direct.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
template_default_args_roundtrip-indirect.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
template_default_args_roundtrip-template.h [tests] Clean up license headers 2019-12-04 21:42:46 +01:00
template_default_args_roundtrip.cc Make the instantiated type part of the caller stack 2017-12-22 19:22:38 +01:00
template_specialization-d1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
template_specialization-i1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
template_specialization-i2.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
template_specialization.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
templated_constructor.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
typedef_chain_class.h Make header guards consistent 2016-05-25 22:17:31 +02:00
typedef_chain_in_template-d1.h Part of fix for the issue #166. Follow typedef chains in templates. 2015-10-01 22:52:43 -07:00
typedef_chain_in_template-d2.h Part of fix for the issue #166. Follow typedef chains in templates. 2015-10-01 22:52:43 -07:00
typedef_chain_in_template-d3.h Part of fix for the issue #166. Follow typedef chains in templates. 2015-10-01 22:52:43 -07:00
typedef_chain_in_template-d4.h Part of fix for the issue #166. Follow typedef chains in templates. 2015-10-01 22:52:43 -07:00
typedef_chain_in_template-i1.h Part of fix for the issue #166. Follow typedef chains in templates. 2015-10-01 22:52:43 -07:00
typedef_chain_in_template.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
typedef_chain_no_follow-d1.h Part of fix for the issue #166. Follow typedef chains in templates. 2015-10-01 22:52:43 -07:00
typedef_chain_no_follow-d2.h Part of fix for the issue #166. Follow typedef chains in templates. 2015-10-01 22:52:43 -07:00
typedef_chain_no_follow-d3.h Part of fix for the issue #166. Follow typedef chains in templates. 2015-10-01 22:52:43 -07:00
typedef_chain_no_follow.cc Avoid double reporting of all class members 2022-05-28 22:54:19 +02:00
typedef_in_template-d1.h Break out typedef-in-template tests from badinc 2017-05-17 19:48:32 +02:00
typedef_in_template-d2.h Improve template typedef test 2022-07-23 13:18:27 +02:00
typedef_in_template-i1.h Improve template typedef test 2022-07-23 13:18:27 +02:00
typedef_in_template-i2.h Improve template typedef test 2022-07-23 13:18:27 +02:00
typedef_in_template.cc Report aliased template parameter 2022-07-23 13:18:27 +02:00
typedefs_and_resugaring-d1.h Clean up line endings after r523 2014-02-16 07:52:34 +00:00
typedefs_and_resugaring.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
unused_class_template_ctor-d1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
unused_class_template_ctor.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
update_comments.cc Add `--update_comments` option 2021-10-01 06:31:27 +02:00
uses_printf-d1.h Make header guards consistent 2016-05-25 22:17:31 +02:00
uses_printf.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
using_aliased_symbol-alias.h Add support for using declarations such that "using std::swap;" does not cause all std::swap headers to be included. 2015-10-25 18:21:39 -04:00
using_aliased_symbol-declare.h Add support for using declarations such that "using std::swap;" does not cause all std::swap headers to be included. 2015-10-25 18:21:39 -04:00
using_aliased_symbol.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
using_aliased_symbol_unused.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
using_directive_decl.cc Track use of namespace in using directive decl 2018-12-11 22:36:50 +01:00
using_directive_decl_a.h Track use of namespace in using directive decl 2018-12-11 22:36:50 +01:00
using_overload-float.h Add support for using declarations such that "using std::swap;" does not cause all std::swap headers to be included. 2015-10-25 18:21:39 -04:00
using_overload-int.h Add support for using declarations such that "using std::swap;" does not cause all std::swap headers to be included. 2015-10-25 18:21:39 -04:00
using_overload_multiple.cc Add support for using declarations such that "using std::swap;" does not cause all std::swap headers to be included. 2015-10-25 18:21:39 -04:00
using_overload_single.cc Add support for using declarations such that "using std::swap;" does not cause all std::swap headers to be included. 2015-10-25 18:21:39 -04:00
using_specialization.cc Add support for using declarations such that "using std::swap;" does not cause all std::swap headers to be included. 2015-10-25 18:21:39 -04:00
using_unused-baseclass.h Accept methods hiding using declarations 2017-05-08 07:02:06 +02:00
using_unused-declare.h Add support for using declarations such that "using std::swap;" does not cause all std::swap headers to be included. 2015-10-25 18:21:39 -04:00
using_unused.cc Accept methods hiding using declarations 2017-05-08 07:02:06 +02:00
varargs_and_references.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00
virtual_tpl_method.cc Migrate test launch arguments to IWYU_ARGS 2021-01-31 11:07:48 +01:00