[llvm-bugs] [Bug 42014] New: clang-format crashes on windows when emplace formatting read-only file

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 24 17:55:50 PDT 2019


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

            Bug ID: 42014
           Summary: clang-format crashes on windows when emplace
                    formatting read-only file
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tiagomacarios at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

clang-format crashes on windows when emplace formatting read-only file

repro:
echo "int main(){}" > a.cpp
attrib +R a.cpp
clang-format -i a.cpp

-- 
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/20190525/e6f58c51/attachment.html>


More information about the llvm-bugs mailing list