/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Format/ |
H A D | Format.cpp | 85 static void mapping(llvm::yaml::IO &IO, clang::format::FormatStyle &Style) { argument 94 Style == PredefinedStyle) { 103 if (!clang::format::getPredefinedStyle(BasedOnStyle, &Style)) { 109 IO.mapOptional("AccessModifierOffset", Style.AccessModifierOffset); 111 Style.ConstructorInitializerIndentWidth); 112 IO.mapOptional("AlignEscapedNewlinesLeft", Style.AlignEscapedNewlinesLeft); 113 IO.mapOptional("AlignTrailingComments", Style.AlignTrailingComments); 115 Style.AllowAllParametersOfDeclarationOnNextLine); 117 Style.AllowShortIfStatementsOnASingleLine); 119 Style 180 setDefaultPenalties(FormatStyle &Style) argument 305 FormatStyle Style = getLLVMStyle(); local 318 getPredefinedStyle(StringRef Name, FormatStyle *Style) argument 335 parseConfiguration(StringRef Text, FormatStyle *Style) argument 339 Input >> *Style; local 343 configurationAsText(const FormatStyle &Style) argument 379 LineJoiner(const FormatStyle &Style) argument 524 const FormatStyle &Style; member in class:clang::format::__anon3275::LineJoiner 529 UnwrappedLineFormatter(SourceManager &SourceMgr, SmallVectorImpl<CharSourceRange> &Ranges, ContinuationIndenter *Indenter, WhitespaceManager *Whitespaces, const FormatStyle &Style) argument 986 FormatStyle Style; member in class:clang::format::__anon3275::UnwrappedLineFormatter 994 FormatTokenLexer(Lexer &Lex, SourceManager &SourceMgr, FormatStyle &Style, encoding::Encoding Encoding) argument 1187 FormatStyle &Style; member in class:clang::format::__anon3275::FormatTokenLexer 1209 Formatter(const FormatStyle &Style, Lexer &Lex, SourceManager &SourceMgr, const std::vector<CharSourceRange> &Ranges) argument 1342 FormatStyle Style; member in class:clang::format::__anon3275::Formatter 1355 reformat(const FormatStyle &Style, Lexer &Lex, SourceManager &SourceMgr, std::vector<CharSourceRange> Ranges) argument 1362 reformat(const FormatStyle &Style, StringRef Code, std::vector<tooling::Range> Ranges, StringRef FileName) argument 1413 FormatStyle Style; local [all...] |
H A D | BreakableToken.h | 77 const FormatStyle &Style) 79 Encoding(Encoding), Style(Style) {} 85 const FormatStyle &Style; member in class:clang::format::BreakableToken 103 const FormatStyle &Style); 124 encoding::Encoding Encoding, const FormatStyle &Style); 143 encoding::Encoding Encoding, const FormatStyle &Style); 171 encoding::Encoding Encoding, const FormatStyle &Style); 75 BreakableToken(const FormatToken &Tok, unsigned IndentLevel, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
|
H A D | WhitespaceManager.h | 40 WhitespaceManager(SourceManager &SourceMgr, const FormatStyle &Style, argument 42 : SourceMgr(SourceMgr), Style(Style), UseCRLF(UseCRLF) {} 176 const FormatStyle &Style; member in class:clang::format::WhitespaceManager
|
H A D | ContinuationIndenter.cpp | 49 const FormatStyle &Style) { 52 Style.BreakConstructorInitializersBeforeComma) 56 !Style.BreakConstructorInitializersBeforeComma); 59 ContinuationIndenter::ContinuationIndenter(const FormatStyle &Style, argument 64 : Style(Style), SourceMgr(SourceMgr), Whitespaces(Whitespaces), 96 Current.closesBlockTypeList(Style))) 123 Current.closesBlockTypeList(Style)) 127 if ((startsNextParameter(Current, Style) || Previous.is(tok::semi) || 128 (Style 48 startsNextParameter(const FormatToken &Current, const FormatStyle &Style) argument [all...] |
H A D | TokenAnnotator.h | 100 TokenAnnotator(const FormatStyle &Style, IdentifierInfo &Ident_in) argument 101 : Style(Style), Ident_in(Ident_in) {} 129 const FormatStyle &Style; member in class:clang::format::TokenAnnotator
|
H A D | WhitespaceManager.cpp | 136 unsigned ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength; 159 if (!Style.AlignTrailingComments || FollowsRBraceInColumn0) { 203 Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit; 212 MaxEndOfLine = Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit; 287 switch (Style.UseTab) { 293 Style.TabWidth - WhitespaceStartColumn % Style.TabWidth; 295 if (FirstTabWidth + Style [all...] |
H A D | FormatToken.h | 344 bool opensBlockTypeList(const FormatStyle &Style) const { 348 !Style.Cpp11BracedListStyle)); 352 bool closesBlockTypeList(const FormatStyle &Style) const { 353 return MatchingParen && MatchingParen->opensBlockTypeList(Style); 382 TokenRole(const FormatStyle &Style) : Style(Style) {} argument 402 const FormatStyle &Style; member in class:clang::format::TokenRole 407 CommaSeparatedList(const FormatStyle &Style) : TokenRole(Style) {} argument [all...] |
H A D | UnwrappedLineParser.h | 62 UnwrappedLineParser(const FormatStyle &Style, ArrayRef<FormatToken *> Tokens, 147 const FormatStyle &Style; member in class:clang::format::UnwrappedLineParser
|
H A D | BreakableToken.cpp | 145 Style.TabWidth, Encoding); 151 encoding::Encoding Encoding, const FormatStyle &Style) 152 : BreakableToken(Tok, IndentLevel, InPPDirective, Encoding, Style), 162 encoding::Encoding Encoding, const FormatStyle &Style) 164 InPPDirective, Encoding, Style) {} 171 ColumnLimit, Style.TabWidth, Encoding); 192 bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) 195 InPPDirective, Encoding, Style) { 210 ColumnLimit, Style.TabWidth, Encoding); 244 encoding::Encoding Encoding, const FormatStyle &Style) 148 BreakableSingleLineToken( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument 159 BreakableStringLiteral( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument 190 BreakableLineComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument 241 BreakableBlockComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument [all...] |
H A D | TokenAnnotator.cpp | 32 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line, argument 34 : Style(Style), Line(Line), CurrentToken(Line.First), 281 Left->Role.reset(new CommaSeparatedList(Style)); 851 const FormatStyle &Style; member in class:clang::format::__anon3276::AnnotatingParser 1036 AnnotatingParser Parser(Style, Line, Ident_in); 1057 Line.First->IsMultiline ? Style.ColumnLimit : Line.First->ColumnWidth; 1064 Current->SpacesRequiredBefore = Style.SpacesBeforeTrailingComments; 1076 Current->TotalLength = Current->Previous->TotalLength + Style.ColumnLimit; 1145 return Style [all...] |
H A D | UnwrappedLineParser.cpp | 186 UnwrappedLineParser::UnwrappedLineParser(const FormatStyle &Style, argument 190 CurrentLines(&Lines), StructuralError(false), Style(Style), Tokens(NULL), 276 (Style.IndentCaseLabels || (Line->InPPDirective && Line->Level == 1))) 680 if (Style.BreakBeforeBraces == FormatStyle::BS_Linux || 681 Style.BreakBeforeBraces == FormatStyle::BS_Stroustrup || 682 Style.BreakBeforeBraces == FormatStyle::BS_Allman) 940 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman) 943 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman) 956 if (Style [all...] |
H A D | FormatToken.cpp | 46 unsigned RemainingCodePoints = Style.ColumnLimit - State.Column + 116 if (Style.Cpp11BracedListStyle) { 144 for (unsigned Columns = 1; Columns <= Style.ColumnLimit / 3; ++Columns) { 175 if (Format.TotalWidth > Style.ColumnLimit)
|
H A D | ContinuationIndenter.h | 37 ContinuationIndenter(const FormatStyle &Style, SourceManager &SourceMgr, 120 FormatStyle Style; member in class:clang::format::ContinuationIndenter
|
/freebsd-10.2-release/contrib/llvm/include/llvm/MC/ |
H A D | MCInstPrinter.h | 25 enum Style { enum in namespace:llvm::HexStyle 53 HexStyle::Style PrintHexStyle; 93 HexStyle::Style getPrintHexStyleHex() const { return PrintHexStyle; } 94 void setPrintImmHex(HexStyle::Style Value) { PrintHexStyle = Value; }
|
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Format/ |
H A D | Format.h | 329 /// Returns \c true if the Style has been set. 330 bool getPredefinedStyle(StringRef Name, FormatStyle *Style); 333 llvm::error_code parseConfiguration(StringRef Text, FormatStyle *Style); 336 std::string configurationAsText(const FormatStyle &Style); 346 /// \p Style. 347 tooling::Replacements reformat(const FormatStyle &Style, Lexer &Lex, 354 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, 380 /// \param[in] StyleName Style name to interpret according to the description 386 /// determined, the default is LLVM Style (see getLLVMStyle()).
|
/freebsd-10.2-release/contrib/llvm/lib/Target/X86/ |
H A D | X86Subtarget.h | 33 enum Style { enum in namespace:llvm::PICStyles 61 PICStyles::Style PICStyle; 254 PICStyles::Style getPICStyle() const { return PICStyle; } 255 void setPICStyle(PICStyles::Style Style) { PICStyle = Style; } argument
|
/freebsd-10.2-release/contrib/llvm/lib/Analysis/ |
H A D | RegionInfo.cpp | 428 enum PrintStyle Style) const { 437 if (Style != PrintNone) { 441 if (Style == PrintBB) { 444 } else if (Style == PrintRN) { 454 (*RI)->print(OS, print_tree, level+1, Style); 456 if (Style != PrintNone)
|
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 431 CapturingScopeInfo(DiagnosticsEngine &Diag, ImplicitCaptureStyle Style) argument 432 : FunctionScopeInfo(Diag), ImpCaptureStyle(Style), CXXThisCaptureIndex(0),
|
/freebsd-10.2-release/contrib/llvm/include/llvm/Analysis/ |
H A D | RegionInfo.h | 362 enum PrintStyle Style = PrintNone) const;
|
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | Decl.h | 1088 void setInitStyle(InitializationStyle Style) { 1089 VarDeclBits.InitStyle = Style;
|
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaExprCXX.cpp | 1093 static bool isLegalArrayNewInitializer(CXXNewExpr::InitializationStyle Style, argument 1104 else if (Style == CXXNewExpr::ListInit) {
|