[llvm-bugs] [Bug 34997] New: clang-cl: /showIncludes doesn't work with /EP

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 18 22:20:15 PDT 2017


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

            Bug ID: 34997
           Summary: clang-cl: /showIncludes doesn't work with /EP
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org

$
/Users/thakis/src/chrome/src/third_party/llvm-build/Release+Asserts/bin/clang-cl
/P /EP foo.cc /Fiout.ii /showIncludes 
clang: warning: argument unused during compilation: '--show-includes'
[-Wunused-command-line-argument]


Works fine if I use just /P:

$
/Users/thakis/src/chrome/src/third_party/llvm-build/Release+Asserts/bin/clang-cl
/P foo.cc /Fiout.ii /showIncludes 
Note: including file:
/Users/thakis/src/chrome/src/third_party/llvm-build/Release+Asserts/lib/clang/6.0.0/include/stddef.h



But I want preprocessor output without line directives. Is there a reason why
this doesn't work, or is it just an oversight?

-- 
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/20171019/549ef4e2/attachment.html>


More information about the llvm-bugs mailing list