Lines Matching defs:FormatStyle
30 /// \brief The \c FormatStyle is used to configure the formatting to follow
32 struct FormatStyle {
250 bool operator==(const FormatStyle &R) const {
306 FormatStyle getLLVMStyle();
310 FormatStyle getGoogleStyle();
314 FormatStyle getChromiumStyle();
318 FormatStyle getMozillaStyle();
322 FormatStyle getWebKitStyle();
330 bool getPredefinedStyle(StringRef Name, FormatStyle *Style);
333 llvm::error_code parseConfiguration(StringRef Text, FormatStyle *Style);
336 std::string configurationAsText(const FormatStyle &Style);
347 tooling::Replacements reformat(const FormatStyle &Style, Lexer &Lex,
354 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code,
362 LangOptions getFormattingLangOpts(FormatStyle::LanguageStandard Standard =
363 FormatStyle::LS_Cpp11);
370 /// \brief Construct a FormatStyle based on \c StyleName.
385 /// \returns FormatStyle as specified by \c StyleName. If no style could be
387 FormatStyle getStyle(StringRef StyleName, StringRef FileName);