clang 19.0.0git
Enumerations
clang::prec Namespace Reference

PrecedenceLevels - These are precedences for the binary/ternary operators in the C99 grammar. More...

Enumerations

enum  Level {
  Unknown = 0 , Comma = 1 , Assignment = 2 , Conditional = 3 ,
  LogicalOr = 4 , LogicalAnd = 5 , InclusiveOr = 6 , ExclusiveOr = 7 ,
  And = 8 , Equality = 9 , Relational = 10 , Spaceship = 11 ,
  Shift = 12 , Additive = 13 , Multiplicative = 14 , PointerToMember = 15
}
 

Detailed Description

PrecedenceLevels - These are precedences for the binary/ternary operators in the C99 grammar.

These have been named to relate with the C99 grammar productions. Low precedences numbers bind more weakly than high numbers.

Enumeration Type Documentation

◆ Level

Enumerator
Unknown 
Comma 
Assignment 
Conditional 
LogicalOr 
LogicalAnd 
InclusiveOr 
ExclusiveOr 
And 
Equality 
Relational 
Spaceship 
Shift 
Additive 
Multiplicative 
PointerToMember 

Definition at line 26 of file OperatorPrecedence.h.