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

References

tools/clang/lib/Basic/OperatorPrecedence.cpp
   53   case tok::question:             return prec::Conditional;
tools/clang/lib/Format/ContinuationIndenter.cpp
  353         Previous.isNot(tok::question)) ||
  825   if (NextNonComment->is(tok::question) ||
  826       (PreviousNonComment && PreviousNonComment->is(tok::question)))
 1105   if (Style.BreakBeforeTernaryOperators && Current.is(tok::question))
 1111     if (Previous && Previous->is(tok::question))
tools/clang/lib/Format/FormatTokenLexer.cpp
  211   if (!FirstQuestion->is(tok::question) || !SecondQuestion->is(tok::question))
  211   if (!FirstQuestion->is(tok::question) || !SecondQuestion->is(tok::question))
  213   FirstQuestion->Tok.setKind(tok::question);
  249       !Question->is(tok::question))
  331                       tok::colon, tok::question, tok::tilde) ||
tools/clang/lib/Format/TokenAnnotator.cpp
  106         CurrentToken->is(tok::question))
  127       if (CurrentToken->is(tok::question) &&
  133           (CurrentToken->isOneOf(tok::colon, tok::question) && InExprContext &&
  544                                  tok::question, tok::colon, tok::kw_return,
  964     case tok::question:
 1413     } else if (Current.is(tok::question)) {
 1604     if (Tok.Next->is(tok::question))
 1759                            tok::question, tok::colon, tok::kw_return,
 1974     if (!Current || !Current->is(tok::question))
 2898     if (Left.is(tok::question))
 3373   if (Left.is(tok::question) && Right.is(tok::colon))
 3375   if (Right.is(TT_ConditionalExpr) || Right.is(tok::question))
 3377   if (Left.is(TT_ConditionalExpr) || Left.is(tok::question))
tools/clang/lib/Format/UnwrappedLineParser.cpp
 1481     case tok::question:
 2058       FormatTok->isOneOf(tok::colon, tok::question))
 2071                             tok::greater, tok::comma, tok::question)) {
tools/clang/lib/Lex/Lexer.cpp
 3483     Kind = tok::question;
tools/clang/lib/Lex/PPExpressions.cpp
  519   case tok::question:             return 4;
  572     else if (Operator == tok::question && LHS.Val == 0)
  609     if (Operator == tok::question)
  627     case tok::question:       // No UAC for x and y in "x ? y : z".
  764     case tok::question: {
  769         PP.Diag(OpLoc, diag::note_matching) << tok::question;
  878   if (EvaluateDirectiveSubExpr(ResVal, getPrecedence(tok::question),
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp
  949   assert(Tok.is(tok::question));
  954     if (!ConsumeAndStoreUntil(tok::question, tok::colon, Toks,
  960     if (Tok.is(tok::question) && !ConsumeAndStoreConditional(Toks))
 1099     case tok::question:
tools/clang/lib/Parse/ParseExpr.cpp
  392         Diag(OpToken, diag::note_matching) << tok::question;
tools/clang/lib/Parse/ParseTentative.cpp
  373           P.SkipUntil({tok::r_paren, tok::semi, tok::question, tok::colon},
  375           if (P.Tok.is(tok::question))
tools/clang/lib/Parse/Parser.cpp
  318     case tok::question:
tools/clang/tools/extra/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.cpp
   98     if (FoundBuiltin && T.isOneOf(tok::question, tok::ampamp, tok::pipepipe))
  112     if (T.is(tok::question)) {
tools/lldb/source/Plugins/Language/ClangCommon/ClangHighlighter.cpp
  121     case tok::question: