[cfe-dev] Assert in SourceManager::getFileIDSlow()

Eli Friedman eli.friedman at gmail.com
Wed Aug 26 11:47:21 PDT 2009


On Wed, Aug 26, 2009 at 10:17 AM, Alexei
Svitkine<alexei.svitkine at gmail.com> wrote:
> When I parse input that consists of simply "#include <stdio.h>" on Mac
> OS X 10.5.7, I get an invalid FD->getTypeSpecStartLoc() for "long
> ftell(FILE *)".

Does the same issue occur for a file containing just "typedef struct
FILE FILE; long ftell(FILE*);"?  If no, does the same issue occur if
you send the pre-processed input through clang?  If yes, can you
reduce it with delta (http://delta.tigris.org/)?

-Eli



More information about the cfe-dev mailing list