diff --git a/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h b/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h index 3ae2ed84b43e..1b2859b51d09 100644 --- a/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h +++ b/llvm/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); } };