Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Style checker has issue with test implementation files with no primar…
…y headers https://bugs.webkit.org/show_bug.cgi?id=185057 rdar://problem/101670878 Reviewed by Jonathan Bedard. Fix the cpp style checker to account for test .cpp files. These files do not have a primary header file. The style checker would make many mistakes flagging a wrong include as primary include. For file ConnectionTests.cpp: - It would think "Connection.h" would be a primary include. - It would think "Test.h" would be a primary include. * Tools/Scripts/webkitpy/style/checkers/cpp.py: (_classify_include): * Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py: Canonical link: https://commits.webkit.org/256128@main
- Loading branch information