[llvm-commits] [llvm] r107199 - /llvm/trunk/include/llvm/ADT/SmallPtrSet.h

Duncan Sands baldrick at free.fr
Wed Jun 30 10:00:54 PDT 2010


> Wait, wait, we have two nearly equivalent functions with the same name
> and different semantics?

Yes, but one of them is only used in SmallPtrSet.h to get compile time
evaluation via template madness, so it's not as bad as it sounds.
Renaming it to RoundUpToPowerOfTwo wouldn't hurt I guess.

Ciao,

Duncan.



More information about the llvm-commits mailing list