[llvm-bugs] [Bug 46296] New: Clang format lacks -D parameters to give defines

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 11 23:52:34 PDT 2020


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

            Bug ID: 46296
           Summary: Clang format lacks -D parameters to give defines
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: heikki.kultala at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

I have a code which always needs some defines gives with -D parameter to
compile.

clang-format fails to analyze this code because that _D parameter cannto be
given to clang-format.

-D parameter should be added to clang-format. to give it preprocessor defines.

-- 
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/20200612/a1152f04/attachment-0001.html>


More information about the llvm-bugs mailing list