[llvm-bugs] [Bug 48129] New: TypeError in clang-format.py

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 10 01:40:50 PST 2020


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

            Bug ID: 48129
           Summary: TypeError in clang-format.py
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++14
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rjnishchauhan37 at gmail.com
                CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

I don't know whether it is from my side or yours. I use llvm-v10.0.0rh65 for
clang-format with vim.  I followed the instructions from link
(http://clang.llvm.org/docs/ClangFormat.html). But when I press ctrl+L then it
shows error in  llvm-v10.0.0rh65/share/clang/clang-format.py at line number 
140 (vim.current.buffer[op[1]:op[2]] = lines[op[3]:op[4]]). Error is-:
TypeError: bad argument type for built-in operation. Please help in resolving
this. Feel free to contact me if you have any questions. My vim version is 8.1

-- 
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/20201110/11c3754d/attachment.html>


More information about the llvm-bugs mailing list