reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Format/UnwrappedLineParser.cpp
  240   IncludeGuard = Style.IndentPPDirectives == FormatStyle::PPDIS_None
  302       !Line->InPPDirective && Style.Language != FormatStyle::LK_JavaScript;
  305   if (Style.Language == FormatStyle::LK_TextProto)
  319   if (Style.Language == FormatStyle::LK_TextProto &&
  372       if (Style.Language == FormatStyle::LK_JavaScript &&
  379           (Style.IndentCaseLabels || (Line->InPPDirective && Line->Level == 1)))
  415       if (Style.Language == FormatStyle::LK_JavaScript && PrevTok) {
  440         if (Style.Language == FormatStyle::LK_Proto) {
  457               (Style.Language == FormatStyle::LK_JavaScript &&
  460               (Style.isCpp() && NextTok->is(tok::l_paren)) ||
  647     bool SkipIndent = (Style.Language == FormatStyle::LK_JavaScript &&
  800       Style.IndentPPDirectives != FormatStyle::PPDIS_None)
  832   if (Style.IndentPPDirectives != FormatStyle::PPDIS_None)
  849   if (Style.IndentPPDirectives != FormatStyle::PPDIS_None)
  975   if (Style.Language == FormatStyle::LK_TableGen &&
 1007     if (Style.Language == FormatStyle::LK_Java ||
 1008         Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp())
 1008         Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp())
 1024     if (Style.Language == FormatStyle::LK_JavaScript && Line->MustBeDeclaration)
 1030     if (Style.Language == FormatStyle::LK_JavaScript && Line->MustBeDeclaration)
 1041     if (Style.Language == FormatStyle::LK_JavaScript && Line->MustBeDeclaration)
 1055         if (Style.BraceWrapping.AfterExternBlock) {
 1067     if (Style.Language == FormatStyle::LK_JavaScript) {
 1071     if (!Style.isCpp())
 1093       if (Style.Language == FormatStyle::LK_JavaScript) {
 1097       if (Style.Language == FormatStyle::LK_Proto) {
 1110     if (Style.isCpp() &&
 1120     if (Style.isCpp() && FormatTok->is(TT_StatementMacro)) {
 1124     if (Style.isCpp() && FormatTok->is(TT_NamespaceMacro)) {
 1142       } else if (Style.Language == FormatStyle::LK_Java &&
 1170           if (Style.BraceWrapping.AfterControlStatement ==
 1183           if (Style.BraceWrapping.AfterControlStatement ==
 1211       if (!Style.isCpp()) {
 1231       if (Style.Language == FormatStyle::LK_Java ||
 1232           Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) {
 1232           Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) {
 1242       if (Style.Language == FormatStyle::LK_Java && FormatTok &&
 1245       if (Style.Language == FormatStyle::LK_JavaScript && FormatTok &&
 1282         if (Style.BraceWrapping.AfterFunction)
 1294       if (Style.BraceWrapping.AfterFunction)
 1309       if (Style.Language == FormatStyle::LK_JavaScript &&
 1316       if ((Style.Language == FormatStyle::LK_JavaScript ||
 1317            Style.Language == FormatStyle::LK_Java) &&
 1319         if (Style.Language == FormatStyle::LK_JavaScript) {
 1337       if (Style.isCpp() && FormatTok->is(TT_StatementMacro)) {
 1348       if (Style.Language == FormatStyle::LK_JavaScript)
 1356           parseLabel(!Style.IndentGotoLabels);
 1393       } else if (Style.Language == FormatStyle::LK_Proto &&
 1414   if (!Style.isCpp()) {
 1513        FormatTok->isCppStructuredBinding(Style) || Previous->closesScope() ||
 1587     if (Style.Language == FormatStyle::LK_JavaScript) {
 1627       if (Style.Language == FormatStyle::LK_JavaScript) {
 1641       if (Style.Language == FormatStyle::LK_Proto) {
 1654       if (Style.Language == FormatStyle::LK_JavaScript) {
 1681       if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_brace))
 1705       if (Style.Language == FormatStyle::LK_JavaScript)
 1711       if (Style.Language == FormatStyle::LK_JavaScript &&
 1773     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1775     if (Style.BraceWrapping.BeforeElse)
 1788       CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1822   if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_paren)) {
 1826     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1828     if (Style.BraceWrapping.BeforeCatch) {
 1847           ((Style.Language == FormatStyle::LK_Java ||
 1848             Style.Language == FormatStyle::LK_JavaScript) &&
 1864     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1866     if (Style.BraceWrapping.BeforeCatch)
 1893     if (ShouldBreakBeforeBrace(Style, InitialToken))
 1896     bool AddLevel = Style.NamespaceIndentation == FormatStyle::NI_All ||
 1897                     (Style.NamespaceIndentation == FormatStyle::NI_Inner &&
 1912   if (Style.Language != FormatStyle::LK_Java)
 1939   if (Style.Language == FormatStyle::LK_JavaScript &&
 1945     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1960     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 1962     if (Style.BraceWrapping.IndentBraces)
 1990                                        Style.BraceWrapping.AfterCaseLabel,
 1991                                        Style.BraceWrapping.IndentBraces);
 1994       if (Style.BraceWrapping.AfterControlStatement ==
 2027     CompoundStatementIndenter Indenter(this, Style, Line->Level);
 2057   if (Style.Language == FormatStyle::LK_JavaScript &&
 2062   if (Style.Language == FormatStyle::LK_Proto && FormatTok->is(tok::equal))
 2080       if (Style.isCpp() && FormatTok->is(tok::identifier))
 2090   if (Style.Language == FormatStyle::LK_Java) {
 2095   if (Style.Language == FormatStyle::LK_Proto) {
 2187          ((Style.Language == FormatStyle::LK_Java ||
 2188            Style.Language == FormatStyle::LK_JavaScript) &&
 2190     if (Style.Language == FormatStyle::LK_JavaScript &&
 2236       if (ShouldBreakBeforeBrace(Style, InitialToken))
 2257       if (Style.BraceWrapping.AfterFunction)
 2347     if (Style.BraceWrapping.AfterObjCDeclaration)
 2637   if (Style.Language != FormatStyle::LK_JavaScript)
 2719       if (Style.IndentPPDirectives == FormatStyle::PPDIS_BeforeHash &&