* @brief Check if the file extension indicates that it's a C/C++ source file. * Check if the file has source file extension: *.c;*.cpp;*.cxx;*.c++;*.cc;*.txx * @param filename filename to check. path info is optional * @param lang the detected language * @return true if the file extension indicates it should be checked */
| 148 | * @return true if the file extension indicates it should be checked |
| 149 | */ |
| 150 | static bool acceptFile(const std::string &filename, Standards::Language* lang = nullptr) { |
| 151 | const std::set<std::string> extra; |
| 152 | return acceptFile(filename, extra, lang); |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * @brief Check if the file extension indicates that it's a C/C++ source file. |
no outgoing calls