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

References

tools/clang/lib/Format/UnwrappedLineParser.cpp
  458                NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in,
  458                NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in,
  459                                 Keywords.kw_as)) ||
  648                        (isGoogScope(*Line) || isIIFE(*Line, Keywords)));
  945   bool PreviousMustBeValue = mustBeJSIdentOrValue(Keywords, Previous);
  960   bool NextMustBeValue = mustBeJSIdentOrValue(Keywords, Next);
  969       isJSDeclOrStmt(Keywords, Next))
 1092     if (FormatTok->is(Keywords.kw_import)) {
 1111         FormatTok->isOneOf(Keywords.kw_signals, Keywords.kw_qsignals,
 1111         FormatTok->isOneOf(Keywords.kw_signals, Keywords.kw_qsignals,
 1112                            Keywords.kw_slots, Keywords.kw_qslots)) {
 1112                            Keywords.kw_slots, Keywords.kw_qslots)) {
 1143                  FormatTok->is(Keywords.kw_interface)) {
 1218       if (FormatTok->isOneOf(Keywords.kw_NS_ENUM, Keywords.kw_NS_OPTIONS,
 1218       if (FormatTok->isOneOf(Keywords.kw_NS_ENUM, Keywords.kw_NS_OPTIONS,
 1219                              Keywords.kw_CF_ENUM, Keywords.kw_CF_OPTIONS,
 1219                              Keywords.kw_CF_ENUM, Keywords.kw_CF_OPTIONS,
 1220                              Keywords.kw_CF_CLOSED_ENUM,
 1221                              Keywords.kw_NS_CLOSED_ENUM))
 1310           FormatTok->is(Keywords.kw_function) &&
 1312                                                      Keywords.kw_async)))) {
 1318           FormatTok->is(Keywords.kw_interface)) {
 1327           if (Next && !mustBeJSIdent(Keywords, Next)) {
 1527   assert(FormatTok->is(Keywords.kw_function) ||
 1528          FormatTok->startsSequence(Keywords.kw_async, Keywords.kw_function));
 1528          FormatTok->startsSequence(Keywords.kw_async, Keywords.kw_function));
 1529   if (FormatTok->is(Keywords.kw_async))
 1588       if (FormatTok->is(Keywords.kw_function) ||
 1589           FormatTok->startsSequence(Keywords.kw_async, Keywords.kw_function)) {
 1589           FormatTok->startsSequence(Keywords.kw_async, Keywords.kw_function)) {
 1712           (FormatTok->is(Keywords.kw_function) ||
 1713            FormatTok->startsSequence(Keywords.kw_async, Keywords.kw_function)))
 1713            FormatTok->startsSequence(Keywords.kw_async, Keywords.kw_function)))
 1845     if (!(FormatTok->isOneOf(tok::kw_catch, Keywords.kw___except,
 1849            FormatTok->is(Keywords.kw_finally)) ||
 1940       FormatTok->is(Keywords.kw_await))
 2041   if (FormatTok->isOneOf(Keywords.kw_slots, Keywords.kw_qslots))
 2041   if (FormatTok->isOneOf(Keywords.kw_slots, Keywords.kw_qslots))
 2191         FormatTok->isOneOf(Keywords.kw_extends, Keywords.kw_implements)) {
 2191         FormatTok->isOneOf(Keywords.kw_extends, Keywords.kw_implements)) {
 2392   bool IsImport = FormatTok->is(Keywords.kw_import);
 2403   if (FormatTok->is(Keywords.kw_async))
 2405   if (FormatTok->is(Keywords.kw_function)) {