(self)
| 1129 | self.TestLint("typedef void Func(int *x);", "") |
| 1130 | |
| 1131 | def testIncludeWhatYouUseNoImplementationFiles(self): |
| 1132 | code = "std::vector<int> foo;" |
| 1133 | for extension in ["h", "hpp", "hxx", "h++", "cuh", "c", "cc", "cpp", "cxx", "c++", "cu"]: |
| 1134 | assert ( |
| 1135 | self.PerformIncludeWhatYouUse(code, "foo." + extension) |
| 1136 | == "Add #include <vector> for vector<> [build/include_what_you_use] [4]" |
| 1137 | ) |
| 1138 | |
| 1139 | def testIncludeWhatYouUse(self): |
| 1140 | self.TestIncludeWhatYouUse( |
nothing calls this directly
no test coverage detected