|
clang
5.0.0
|
Defines and computes precedence levels for binary/ternary operators. More...
#include "clang/Basic/TokenKinds.h"Go to the source code of this file.
Namespaces | |
| clang | |
| /file This file defines classes for searching and anlyzing source code clones. | |
| clang::prec | |
| PrecedenceLevels - These are precedences for the binary/ternary operators in the C99 grammar. | |
Enumerations | |
| enum | clang::prec::Level { clang::prec::Unknown = 0, clang::prec::Comma = 1, clang::prec::Assignment = 2, clang::prec::Conditional = 3, clang::prec::LogicalOr = 4, clang::prec::LogicalAnd = 5, clang::prec::InclusiveOr = 6, clang::prec::ExclusiveOr = 7, clang::prec::And = 8, clang::prec::Equality = 9, clang::prec::Relational = 10, clang::prec::Shift = 11, clang::prec::Additive = 12, clang::prec::Multiplicative = 13, clang::prec::PointerToMember = 14 } |
Functions | |
| prec::Level | clang::getBinOpPrecedence (tok::TokenKind Kind, bool GreaterThanIsOperator, bool CPlusPlus11) |
| Return the precedence of the specified binary operator token. More... | |
Defines and computes precedence levels for binary/ternary operators.
Definition in file OperatorPrecedence.h.
1.8.6