Issue 114515
Summary clang-tidy check bugprone-suspicious-include option to define header file suffixes
Labels clang-tidy
Assignees
Reporter ThomasHuetsch
    We have some files that are automatically generated and contain parts of the implementation. Unfortunately, they have the extension that we don't want to add to the HeaderFileExtensions (example: widget_ui.cpp, classlib_i.c). However, it would be possible to recognize them by their suffix.

It would be nice if the check was extended to define suffixes and prefixes or even regular expressions for header file names.

e.g.
HeaderFileSuffixes: '_i;_ui'
HeaderFileRegex: '_i$;_ui$
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to