Lines Matching refs:Precedence
1361 void parse(int Precedence = 0) { in parse() argument
1369 if (!Current || Precedence > PrecedenceArrowAndPeriod) in parse()
1373 if (Precedence == prec::Conditional) { in parse()
1380 if (Precedence == PrecedenceUnaryOperator) { in parse()
1391 parse(Precedence + 1); in parse()
1396 Precedence == CurrentPrecedence) { in parse()
1398 addFakeParenthesis(Start, prec::Level(Precedence)); in parse()
1405 (CurrentPrecedence != -1 && CurrentPrecedence < Precedence) || in parse()
1407 Precedence == prec::Assignment && Current->is(tok::colon))) { in parse()
1420 if (CurrentPrecedence == Precedence) { in parse()
1427 next(/*SkipPastLeadingComments=*/Precedence > 0); in parse()
1431 if (LatestOperator && (Current || Precedence > 0)) { in parse()
1433 if (Precedence == PrecedenceArrowAndPeriod) { in parse()
1437 addFakeParenthesis(Start, prec::Level(Precedence)); in parse()
1484 void addFakeParenthesis(FormatToken *Start, prec::Level Precedence) { in addFakeParenthesis() argument
1485 Start->FakeLParens.push_back(Precedence); in addFakeParenthesis()
1486 if (Precedence > prec::Unknown) in addFakeParenthesis()
1493 if (Precedence > prec::Unknown) in addFakeParenthesis()