forked from OSchip/llvm-project
[Fixed Point Arithmetic] Fix for clang-tools-extra warning
Fix for warnings generated on unhandled enum value `STK_FixedPoint`. Differential Revision: https://reviews.llvm.org/D53299 llvm-svn: 344549
This commit is contained in:
parent
88ccbd7543
commit
0f11b73f96
|
@ -60,6 +60,7 @@ static StringRef getValueOfValueInit(const QualType InitType) {
|
|||
case Type::STK_IntegralComplex:
|
||||
return getValueOfValueInit(
|
||||
InitType->getAs<ComplexType>()->getElementType());
|
||||
|
||||
case Type::STK_FixedPoint:
|
||||
switch (InitType->getAs<BuiltinType>()->getKind()) {
|
||||
case BuiltinType::ShortAccum:
|
||||
|
|
Loading…
Reference in New Issue