forked from OSchip/llvm-project
parent
19ac2d6494
commit
a70ad93f8a
|
@ -1519,6 +1519,9 @@ public:
|
||||||
/// CK_NoOp - Used for const_cast.
|
/// CK_NoOp - Used for const_cast.
|
||||||
CK_NoOp,
|
CK_NoOp,
|
||||||
|
|
||||||
|
/// CK_BaseToDerived - Base to derived class casts.
|
||||||
|
CK_BaseToDerived,
|
||||||
|
|
||||||
/// CK_DerivedToBase - Derived to base class casts.
|
/// CK_DerivedToBase - Derived to base class casts.
|
||||||
CK_DerivedToBase,
|
CK_DerivedToBase,
|
||||||
|
|
||||||
|
|
|
@ -490,6 +490,8 @@ const char *CastExpr::getCastKindName() const {
|
||||||
return "BitCast";
|
return "BitCast";
|
||||||
case CastExpr::CK_NoOp:
|
case CastExpr::CK_NoOp:
|
||||||
return "NoOp";
|
return "NoOp";
|
||||||
|
case CastExpr::CK_BaseToDerived:
|
||||||
|
return "BaseToDerived";
|
||||||
case CastExpr::CK_DerivedToBase:
|
case CastExpr::CK_DerivedToBase:
|
||||||
return "DerivedToBase";
|
return "DerivedToBase";
|
||||||
case CastExpr::CK_Dynamic:
|
case CastExpr::CK_Dynamic:
|
||||||
|
|
Loading…
Reference in New Issue