Lines Matching defs:Styles
815 StringRef Styles[] = {"LLVM", "Google", "Chromium", "Mozilla",
817 for (StringRef StyleName : Styles) {
2020 std::vector<FormatStyle> Styles;
2029 Input >> Styles;
2033 for (unsigned i = 0; i < Styles.size(); ++i) {
2035 if (Styles[i].Language == FormatStyle::LK_None && i != 0)
2039 if (Styles[i].Language == Styles[j].Language) {
2052 for (const FormatStyle &Style : llvm::reverse(Styles)) {
2059 if (Styles.empty() || Styles[0].Language != FormatStyle::LK_None)
2061 FormatStyle DefaultStyle = Styles[0];
2093 if (!Styles)
2095 auto It = Styles->find(Language);
2096 if (It == Styles->end())
2107 !Style.StyleSet.Styles &&
2109 if (!Styles)
2110 Styles = std::make_shared<MapType>();
2111 (*Styles)[Style.Language] = std::move(Style);
2114 void FormatStyle::FormatStyleSet::Clear() { Styles.reset(); }