[llvm-bugs] [Bug 35172] New: InMemoryFileSystem: Expose status (type and mode), allow specifying in addFile()

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 2 09:36:10 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=35172

            Bug ID: 35172
           Summary: InMemoryFileSystem: Expose status (type and mode),
                    allow specifying in addFile()
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: bgertzfield at gmail.com
                CC: llvm-bugs at lists.llvm.org

There's a FIXME in InMemoryFileSystem::addFile():

        // FIXME: expose the status details in the interface.

This means we cannot write tests which depend on the type or mode of the file,
which is stored in the Status object.

We should update the addFile() API to take an optional Status object
(defaulting to regular file, all_all mode).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171102/62e9e4da/attachment.html>


More information about the llvm-bugs mailing list