|
clang 22.0.0git
|
Defines an enumeration for C++ overloaded operators. More...
#include "clang/Basic/OperatorKinds.def"Go to the source code of this file.
Namespaces | |
| namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI. | |
Macros | |
| #define | OVERLOADED_OPERATOR(Name, Spelling, Token, Unary, Binary, MemberOnly) |
Enumerations | |
| enum | clang::OverloadedOperatorKind : int { clang::OO_None , clang::NUM_OVERLOADED_OPERATORS } |
| Enumeration specifying the different kinds of C++ overloaded operators. More... | |
Functions | |
| const char * | clang::getOperatorSpelling (OverloadedOperatorKind Operator) |
| Retrieve the spelling of the given overloaded operator, without the preceding "operator" keyword. | |
| OverloadedOperatorKind | clang::getRewrittenOverloadedOperator (OverloadedOperatorKind Kind) |
| Get the other overloaded operator that the given operator can be rewritten into, if any such operator exists. | |
| bool | clang::isCompoundAssignmentOperator (OverloadedOperatorKind Kind) |
| Determine if this is a compound assignment operator. | |
Defines an enumeration for C++ overloaded operators.
Definition in file OperatorKinds.h.
| #define OVERLOADED_OPERATOR | ( | Name, | |
| Spelling, | |||
| Token, | |||
| Unary, | |||
| Binary, | |||
| MemberOnly ) |
Definition at line 23 of file OperatorKinds.h.