Skip to content
  • Douglas Gregor's avatar
    Canonicalize path names in the file manager before performing a lookup · 3c0d263a
    Douglas Gregor authored
    on that name. Canonicalization eliminates silliness such as "." and
    "foo/.." that breaks the uniquing of files in the presence of virtual
    files or files whose inode numbers have changed during
    parsing/re-parsing. c-index-test isn't able to create this crazy
    situation, so I've resorted to testing outside of the Clang
    tree. Fixes <rdar://problem/8928220>.
    
    Note that this hackery will go away once we have a real virtual file
    system on which we can layer FileManager; the virtual-files hack is
    showing cracks.
    
    llvm-svn: 124754
    3c0d263a
Loading