Skip to content
  • Reid Spencer's avatar
    For PR495: · c9c0473f
    Reid Spencer authored
    Get rid of the difference between file paths and directory paths. The Path
    class now simply stores a path that can refer to either a file or a
    directory. This required various changes in the implementation and interface
    of the class with the corresponding impact to its users. Doxygen comments were
    also updated to reflect these changes. Interface changes are:
    
    appendDirectory -> appendComponent
    appendFile -> appendComponent
    elideDirectory -> eraseComponent
    elideFile -> eraseComponent
    elideSuffix -> eraseSuffix
    renameFile -> rename
    setDirectory -> set
    setFile -> set
    
    Changes pass Dejagnu and llvm-test/SingleSource tests.
    
    llvm-svn: 22349
    c9c0473f
Loading