| 46 | } |
| 47 | |
| 48 | void FormatContext::SetDefaultStyleOptions(std::map<std::string, std::string, std::less<>> &keyValues) { |
| 49 | if (keyValues.empty()) { |
| 50 | return; |
| 51 | } |
| 52 | _defaultStyle.Parse(keyValues); |
| 53 | } |
| 54 | |
| 55 | void FormatContext::AddIgnorePatternsFromFile(std::string_view ignoreFile) { |
| 56 | std::fstream fin(std::string(ignoreFile), std::ios::in); |
no test coverage detected