HomeSort by: relevance | last modified time | path
    Searched defs:Style (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/tools/clang-format/fuzzer/
ClangFormatFuzzer.cpp 18 // FIXME: fuzz more things: different styles, different style features.
20 auto Style = getGoogleStyle(clang::format::FormatStyle::LK_Cpp);
21 Style.ColumnLimit = 60;
22 auto Replaces = reformat(Style, s, clang::tooling::Range(0, s.size()));
  /src/external/apache2/llvm/dist/clang/lib/Format/
Macros.h 16 /// as part of clang-format's style configuration.
107 clang::SourceManager &SourceMgr, const FormatStyle &Style,
131 const FormatStyle &Style;
UnwrappedLineFormatter.h 32 const FormatStyle &Style,
36 : Indenter(Indenter), Whitespaces(Whitespaces), Style(Style),
67 const FormatStyle &Style;
UnwrappedLineFormatter.cpp 40 LevelIndentTracker(const FormatStyle &Style,
43 : Style(Style), Keywords(Keywords), AdditionalIndent(AdditionalIndent) {
45 IndentForLevel.push_back(Style.IndentWidth * i + AdditionalIndent);
60 Indent = Line.Level * Style.IndentWidth + AdditionalIndent;
68 Indent = Line.Level * Style.IndentWidth + Style.ContinuationIndentWidth;
98 if (Style.Language == FormatStyle::LK_Java ||
99 Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()
    [all...]
TokenAnalyzer.h 82 TokenAnalyzer(const Environment &Env, const FormatStyle &Style);
96 FormatStyle Style;
97 // Stores Style, FileID and SourceManager etc.
FormatTokenLexer.h 41 const FormatStyle &Style, encoding::Encoding Encoding,
106 const FormatStyle &Style;
TokenAnnotator.h 159 TokenAnnotator(const FormatStyle &Style, const AdditionalKeywords &Keywords)
160 : Style(Style), Keywords(Keywords) {}
192 const FormatStyle &Style;
WhitespaceManager.h 40 WhitespaceManager(const SourceManager &SourceMgr, const FormatStyle &Style,
42 : SourceMgr(SourceMgr), Style(Style), UseCRLF(UseCRLF) {}
228 const FormatStyle &Style;
BreakableToken.h 235 encoding::Encoding Encoding, const FormatStyle &Style)
237 Style(Style) {}
242 const FormatStyle &Style;
254 encoding::Encoding Encoding, const FormatStyle &Style);
294 const FormatStyle &Style);
362 const FormatStyle &Style, bool UseCRLF);
440 const FormatStyle &Style);
475 /// style.
ContinuationIndenter.h 54 ContinuationIndenter(const FormatStyle &Style,
87 /// Get the column limit for this line. This is the style's column
122 /// return the style to be used.
191 FormatStyle Style;
UnwrappedLineParser.h 77 UnwrappedLineParser(const FormatStyle &Style,
224 const FormatStyle &Style;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Path.h 28 enum class Style { windows, posix, native };
58 Style S = Style::native; ///< The path style to use.
61 friend const_iterator begin(StringRef path, Style style);
84 Style S = Style::native; ///< The path style to use.
86 friend reverse_iterator rbegin(StringRef path, Style style)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
Chrono.cpp 54 StringRef Style) {
60 if (Style.empty()) Style = "%Y-%m-%d %H:%M:%S.%N";
63 for (unsigned I = 0; I < Style.size(); ++I) {
64 if (Style[I] == '%' && Style.size() > I + 1) switch (Style[I + 1]) {
85 FStream << Style[I];
raw_ostream.cpp 382 HexPrintStyle Style;
384 Style = HexPrintStyle::PrefixUpper;
386 Style = HexPrintStyle::Upper;
388 Style = HexPrintStyle::PrefixLower;
390 Style = HexPrintStyle::Lower;
391 llvm::write_hex(*this, FN.HexValue, Style, FN.Width);
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
GIMatchDag.cpp 87 OS << "}\",style=dotted]\n";
95 auto Style = "[style=dotted]";
99 OS << " " << From << " -> " << To << " " << Style << "\n";
103 OS << " " << From << " -> " << To << " " << Style << "\n";
  /src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
FormatUtil.h 58 CharacteristicStyle Style = CharacteristicStyle::HeaderDefinition);
126 void format(llvm::raw_ostream &Stream, StringRef Style) override {
127 format_provider<T>::format(static_cast<T>(this->Item), Stream, Style);
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Inclusions/
HeaderIncludes.h 28 IncludeCategoryManager(const IncludeStyle &Style, StringRef FileName);
40 const IncludeStyle Style;
51 const IncludeStyle &Style);
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
AtomicChange.h 161 format::FormatStyle Style = format::getNoStyle();
166 // kViolations: Format lines exceeding the `ColumnLimit` in `Style`.
  /src/external/apache2/llvm/dist/clang/tools/clang-format-vs/ClangFormat/
ClangFormatPackage.cs 38 private string style = "file"; field in class:LLVM.ClangFormat.OptionPageGrid
89 [DisplayName("Style")]
90 [Description("Coding style, currently supports:\n" +
103 public string Style
105 get { return style; }
106 set { style = value; }
138 "filename to look for a style config file (with 'file' style) " +
157 [DisplayName("Fallback Style")]
158 [Description("The name of the predefined style used as a fallback in case clang-format "
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cxxfilt/
llvm-cxxfilt.cpp 21 enum Style {
32 static cl::opt<Style>
33 Format("format", cl::desc("decoration style"),
34 cl::values(clEnumValN(Auto, "auto", "auto-detect style"),
35 clEnumValN(GNU, "gnu", "GNU (itanium) style")),
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/
MCInstPrinter.h 32 enum Style {
60 /// Which style to use for printing hexadecimal values.
61 HexStyle::Style PrintHexStyle = HexStyle::C;
121 void setPrintHexStyle(HexStyle::Style Value) { PrintHexStyle = Value; }
  /src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
ResourceFileWriter.h 82 Optional<uint32_t> Style;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-symbolizer/
llvm-symbolizer.cpp 149 bool IsAddr2Line, OutputStyle Style,
174 } else if (Style == OutputStyle::GNU) {
318 auto Style = IsAddr2Line ? OutputStyle::GNU : OutputStyle::LLVM;
321 Style = OutputStyle::GNU;
323 Style = OutputStyle::JSON;
325 Style = OutputStyle::LLVM;
330 if (Style == OutputStyle::GNU)
332 else if (Style == OutputStyle::JSON)
347 symbolizeInput(Args, AdjustVMA, IsAddr2Line, Style, StrippedInputString,
354 symbolizeInput(Args, AdjustVMA, IsAddr2Line, Style, Address, Symbolizer
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
NativeSession.cpp 170 sys::path::Style Style = PathFromExe.startswith("/")
171 ? sys::path::Style::posix
172 : sys::path::Style::windows;
173 StringRef PdbName = sys::path::filename(PathFromExe, Style);
  /src/external/apache2/llvm/dist/clang/lib/Index/
CommentToXML.cpp 598 format::FormatStyle Style = format::getLLVMStyle();
599 Style.FixNamespaceComments = false;
601 reformat(Style, StringDecl, tooling::Range(Offset, Length), "xmldecl.xd");

Completed in 89 milliseconds

1 2