1.. title:: clang-tidy - bugprone-suspicious-include 2 3bugprone-suspicious-include 4=========================== 5 6The check detects various cases when an include refers to what appears to be an 7implementation file, which often leads to hard-to-track-down ODR violations. 8 9Examples: 10 11.. code-block:: c++ 12 13 #include "Dinosaur.hpp" // OK, .hpp files tend not to have definitions. 14 #include "Pterodactyl.h" // OK, .h files tend not to have definitions. 15 #include "Velociraptor.cpp" // Warning, filename is suspicious. 16 #include_next <stdio.c> // Warning, filename is suspicious. 17