[llvm-commits] [llvm] r46625 - /llvm/trunk/include/llvm/ADT/StringMap.h

Anton Korobeynikov asl at math.spbu.ru
Thu Jan 31 15:32:53 PST 2008


Hello, Chris

> This sort of thing won't work when the string is empty and checking is  
> enabled.  Maybe something like this is enough:
>    if (Key.empty()) return find(0,0);
Will find() operate sane in such case (supplying NULL pointer as input)?

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-commits mailing list