summaryrefslogtreecommitdiff
path: root/lib/Sema/SemaIntrinsic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/SemaIntrinsic.cpp')
-rw-r--r--lib/Sema/SemaIntrinsic.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Sema/SemaIntrinsic.cpp b/lib/Sema/SemaIntrinsic.cpp
index 34333661b2..c65a79a9c4 100644
--- a/lib/Sema/SemaIntrinsic.cpp
+++ b/lib/Sema/SemaIntrinsic.cpp
@@ -157,6 +157,9 @@ bool Sema::CheckIntrinsicConversionFunc(intrinsic::FunctionKind Function,
CheckIntegerArgument(Item);
ReturnType = Context.CharacterTy;
break;
+
+ default:
+ break;
}
return false;
}
@@ -181,6 +184,8 @@ bool Sema::CheckIntrinsicTruncationFunc(intrinsic::FunctionKind Function,
case FLOOR:
ReturnType = GetUnaryReturnType(Arg, Context.IntegerTy);
break;
+ default:
+ break;
}
return false;
}
@@ -205,6 +210,8 @@ bool Sema::CheckIntrinsicComplexFunc(intrinsic::FunctionKind Function,
case CONJG:
ReturnType = Arg->getType();
break;
+ default:
+ break;
}
return false;
}