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

            Bug ID: 24594
           Summary: The clang-format "SpaceAfterCStyleCast" option is used
                    incorrectly
           Product: new-bugs
           Version: 3.7
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: justbucha...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Created attachment 14782
  --> https://llvm.org/bugs/attachment.cgi?id=14782&action=edit
Example file that can be used to reproduce the bug

I have the SpaceAfterCStyleCast option set to false in my .clang-format file,
but when I run clang-format, it inserts spaces in my file.  I have attached a
sample file below.  I ran clang with: `clang-format -style=file -i file.cpp`.

My .clang-format looks like this:

---
BasedOnStyle: Google
DerivePointerAlignment: false
IndentWidth: 4
TabWidth: 4
UseTab: Never
AccessModifierOffset: -4
SpaceAfterCStyleCast: false
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to