[cfe-dev] Possible bug in find_first_component() (lib/Support/Path.cpp)

Rafael Espíndola rafael.espindola at gmail.com
Fri Aug 2 12:00:54 PDT 2013


I am pretty sure this is a bug.  Can you send a patch or open a bug report?

On 2 August 2013 14:17, Siraj, Tareq A <tareq.a.siraj at intel.com> wrote:
> 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.
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>




More information about the llvm-commits mailing list