clang  6.0.0svn
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, Shift = 11,
  Additive = 12, Multiplicative = 13, PointerToMember = 14
}
 

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 
Shift 
Additive 
Multiplicative 
PointerToMember 

Definition at line 27 of file OperatorPrecedence.h.