diff --git a/unittests/ExecutionEngine/Orc/OrcTestCommon.h b/unittests/ExecutionEngine/Orc/OrcTestCommon.h index 3ae2ed84b43..1b2859b51d0 100644 --- a/unittests/ExecutionEngine/Orc/OrcTestCommon.h +++ b/unittests/ExecutionEngine/Orc/OrcTestCommon.h @@ -55,7 +55,8 @@ namespace llvm { class TypeBuilder { public: static StructType *get(LLVMContext &Context) { - return StructType::get(TypeBuilder[256], XCompile>::get(Context), NULL); + return StructType::get( + TypeBuilder[256], XCompile>::get(Context), nullptr); } };