[PATCH] D43112: [WebAssembly] Use Symbol class heirarchy. NFC.

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 09:43:23 PST 2018


sbc100 added a comment.

Also, doesn't the existing assert do exactly what you want already:

  assert(static_cast<Symbol *>(static_cast<T *>(nullptr)) == nullptr &&          
           "Not a Symbol");   

?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43112





More information about the llvm-commits mailing list