Changeset View
Changeset View
Standalone View
Standalone View
cfe/trunk/include/clang/AST/OperationKinds.def
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
CAST_OPERATION(BitCast) | CAST_OPERATION(BitCast) | ||||
/// CK_LValueBitCast - A conversion which reinterprets the address of | /// CK_LValueBitCast - A conversion which reinterprets the address of | ||||
/// an l-value as an l-value of a different kind. Used for | /// an l-value as an l-value of a different kind. Used for | ||||
/// reinterpret_casts of l-value expressions to reference types. | /// reinterpret_casts of l-value expressions to reference types. | ||||
/// bool b; reinterpret_cast<char&>(b) = 'a'; | /// bool b; reinterpret_cast<char&>(b) = 'a'; | ||||
CAST_OPERATION(LValueBitCast) | CAST_OPERATION(LValueBitCast) | ||||
/// CK_LValueToRValueBitCast - A conversion that causes us to reinterpret an | |||||
/// lvalue as an rvalue of a different type. Created by __builtin_bit_cast. | |||||
CAST_OPERATION(LValueToRValueBitCast) | |||||
/// CK_LValueToRValue - A conversion which causes the extraction of | /// CK_LValueToRValue - A conversion which causes the extraction of | ||||
/// an r-value from the operand gl-value. The result of an r-value | /// an r-value from the operand gl-value. The result of an r-value | ||||
/// conversion is always unqualified. | /// conversion is always unqualified. | ||||
CAST_OPERATION(LValueToRValue) | CAST_OPERATION(LValueToRValue) | ||||
/// CK_NoOp - A conversion which does not affect the type other than | /// CK_NoOp - A conversion which does not affect the type other than | ||||
/// (possibly) adding qualifiers. | /// (possibly) adding qualifiers. | ||||
/// int -> int | /// int -> int | ||||
▲ Show 20 Lines • Show All 352 Lines • Show Last 20 Lines |