Explorar o código

Add missing entry for HLSLDerivedToBase in getCastKindName() (#1045)

Lei Zhang %!s(int64=7) %!d(string=hai) anos
pai
achega
eefa2ffa88
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tools/clang/lib/AST/Expr.cpp

+ 2 - 0
tools/clang/lib/AST/Expr.cpp

@@ -1701,6 +1701,8 @@ const char *CastExpr::getCastKindName() const {
     return "HLSLVectorToMatrixCast";
   case CK_HLSLMatrixToVectorCast:
     return "HLSLMatrixToVectorCast";
+  case CK_HLSLDerivedToBase:
+    return "HLSLDerivedToBase";
   case CK_HLSLCC_IntegralCast:
     return "HLSLCC_IntegralCast";
   case CK_HLSLCC_IntegralToBoolean: