[cfe-dev] Possible bug in find_first_component() (lib/Support/Path.cpp)
Siraj, Tareq A
tareq.a.siraj at intel.com
Fri Aug 2 11:17:40 PDT 2013
Does anyone know why the search for file/directory start from index 2? For shorter relative paths e.g. "e/f/foo.c" this will return "e/f" as the path component when iterating through the path.
Seems like it's been there since it was added by mspencer (not sure what his email address is, please cc if you know) in PathV2.cpp.
http://llvm-reviews.chandlerc.com/diffusion/L/browse/llvm/trunk/lib/Support/Path.cpp;187660$80
Thanks.
--
Tareq A. Siraj
Software Developer
Intel of Canada, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130802/1d0b570e/attachment.html>
More information about the cfe-dev
mailing list