MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / SetDefaultStyleOptions

Method SetDefaultStyleOptions

CodeFormat/src/FormatContext.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

InitFormatFunction · 0.80
InitCheckFunction · 0.80

Calls 2

emptyMethod · 0.45
ParseMethod · 0.45

Tested by

no test coverage detected