diff --git a/lib/Differentiator/ConstantFolder.cpp b/lib/Differentiator/ConstantFolder.cpp index 23fc4ea98..1d10ab55d 100644 --- a/lib/Differentiator/ConstantFolder.cpp +++ b/lib/Differentiator/ConstantFolder.cpp @@ -152,7 +152,7 @@ namespace clad { } else if (QT->isRealFloatingType()) { llvm::APFloat APVal(C.getFloatTypeSemantics(QT), val); Result = clad::synthesizeLiteral(QT, C, APVal); - } else { + } else { // FIXME: Handle other types, like Complex, Structs, typedefs, etc. Result = ConstantFolder::synthesizeLiteral(C.IntTy, C, val); }