diff --git a/src/project.cc b/src/project.cc index a7e3921d..62f5d2bf 100644 --- a/src/project.cc +++ b/src/project.cc @@ -90,6 +90,8 @@ optional SourceFileType(const std::string& path) { return std::string("objective-c++"); else if (EndsWith(path, ".m")) return std::string("objective-c"); + else if (path.find('.') == std::string::npos) + return std::string("c++-header"); return nullopt; }