[cfe-dev] Possible bug in find_first_component() (lib/Support/Path.cpp)
Siraj, Tareq A
tareq.a.siraj at intel.com
Fri Aug 2 13:15:42 PDT 2013
Patch coming soon.
--
Tareq A. Siraj
Software Developer
Intel of Canada, Inc.
-----Original Message-----
From: Rafael Espíndola [mailto:rafael.espindola at gmail.com]
Sent: Friday, August 02, 2013 3:01 PM
To: Siraj, Tareq A
Cc: llvm-commits
Subject: Re: [cfe-dev] Possible bug in find_first_component() (lib/Support/Path.cpp)
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/Su
> pport/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