[llvm-bugs] [Bug 25211] New: -dumpversion commandline option useless

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 16 10:44:10 PDT 2015


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

            Bug ID: 25211
           Summary: -dumpversion commandline option useless
           Product: clang
           Version: trunk
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tibirna at kde.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

No matter what version of CLang I use (I tried 3.4.2, 3.5, 3.8 (trunk)), `clang
-dumpversion` always answers "4.2.1" (all hail Douglas Adams).

It would nevertheless be useful, e.g. for building macros in Makefiles in order
to differentiate available warning switches, if this option gave a real/useful
information (e.g. "3.4.2", "3.5.0", "3.8 r=12368" etc.

-- 
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/20151016/768e43de/attachment.html>


More information about the llvm-bugs mailing list