HomeSort by: relevance | last modified time | path
    Searched defs:FormatStyle (Results 1 - 2 of 2) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/tools/clang-format/
ClangFormat.cpp 397 llvm::Expected<FormatStyle> FormatStyle =
400 if (!FormatStyle) {
401 llvm::errs() << llvm::toString(FormatStyle.takeError()) << "\n";
407 FormatStyle->SortIncludes = FormatStyle::SI_CaseSensitive;
409 FormatStyle->SortIncludes = FormatStyle::SI_Never;
412 Replacements Replaces = sortIncludes(*FormatStyle, Code->getBuffer(), Ranges,
423 reformat(*FormatStyle, *ChangedCode, Ranges, AssumedFileName, &Status)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Format/
Format.h 53 /// The ``FormatStyle`` is used to configure the formatting to follow
55 struct FormatStyle {
3249 bool operator==(const FormatStyle &R) const {
3388 llvm::Optional<FormatStyle> GetLanguageStyle(LanguageKind Language) const;
3390 // Stores per-language styles. A FormatStyle instance inside has an empty
3391 // StyleSet. A FormatStyle instance returned by the Get method has its
3398 typedef std::map<FormatStyle::LanguageKind, FormatStyle> MapType;
3400 llvm::Optional<FormatStyle> Get(FormatStyle::LanguageKind Language) const
    [all...]

Completed in 18 milliseconds