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: unassignedclangb...@nondot.org
          Reporter: tiagomacar...@gmail.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to