[ADT][NFC] Use declval to suppress warning for nullptr use.
The patch uses declval instead of nullptr to suppress warning for calling member function by nullptr. Also the patch replace is_same<*>::value with is_same_v<*>. Reviewed By: dexonsmith, kuhar Differential Revision: https://reviews.llvm.org/D145388
Loading
Please sign in to comment