[PATCH] D15272: [Verifier] Verifier that a GlobalValue is only used in this Module
Rafael Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 23 10:12:49 PST 2015
> > How about having a single callback that takes a Value and do the cast
in the callback?
> My concern was that I already have to check for the type here in order to
see whether to call the callback or recurse, so I thought it was cleaner to
have two callbacks, but I don't feel very strongly about that.
Why not always call the callback? We have a set to avoid a loop.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits