s/NULL/nullptr/ in OrcTestCommon.h to silence -Wsentinel in clang-cl
authorReid Kleckner <reid@kleckner.net>
Tue, 21 Apr 2015 15:56:21 +0000 (15:56 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 21 Apr 2015 15:56:21 +0000 (15:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235386 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ExecutionEngine/Orc/OrcTestCommon.h

index 3ae2ed8..1b2859b 100644 (file)
@@ -55,7 +55,8 @@ namespace llvm {
   class TypeBuilder<DummyStruct, XCompile> {
   public:
     static StructType *get(LLVMContext &Context) {
-      return StructType::get(TypeBuilder<types::i<32>[256], XCompile>::get(Context), NULL);
+      return StructType::get(
+          TypeBuilder<types::i<32>[256], XCompile>::get(Context), nullptr);
     }
   };