[llvm] r235386 - s/NULL/nullptr/ in OrcTestCommon.h to silence -Wsentinel in clang-cl
Lang Hames
lhames at gmail.com
Tue Apr 21 14:49:02 PDT 2015
Oops. Thanks for the fix.
This was a lazy copy-paste from an example in TypeBuilder.h. I've updated
that in r235417.
Cheers,
Lang.
On Tue, Apr 21, 2015 at 8:56 AM, Reid Kleckner <reid at kleckner.net> wrote:
> Author: rnk
> Date: Tue Apr 21 10:56:21 2015
> New Revision: 235386
>
> URL: http://llvm.org/viewvc/llvm-project?rev=235386&view=rev
> Log:
> s/NULL/nullptr/ in OrcTestCommon.h to silence -Wsentinel in clang-cl
>
> Modified:
> llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h
>
> Modified: llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h?rev=235386&r1=235385&r2=235386&view=diff
>
> ==============================================================================
> --- llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h (original)
> +++ llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h Tue Apr 21
> 10:56:21 2015
> @@ -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);
> }
> };
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150421/b197f124/attachment.html>
More information about the llvm-commits
mailing list