[PATCH] D22758: [compiler-rt] Fix warnings in interception code

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 17:21:04 PDT 2016


rnk added a comment.

In https://reviews.llvm.org/D22758#495682, @kcc wrote:

> please remember to *NOT* use #ifdef if if() is an alternative. 
>  If you can only use #ifdef, think again.


We either have to use ifdef in this case or some other contortion to avoid a warning about the address of a function never being null.


https://reviews.llvm.org/D22758





More information about the llvm-commits mailing list