[llvm-bugs] [Bug 29106] New: [clang-cl] Driver has no good way to refer to original spelling of an aliased option

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 23 11:22:20 PDT 2016


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

            Bug ID: 29106
           Summary: [clang-cl] Driver has no good way to refer to original
                    spelling of an aliased option
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

$ bin/clang-cl /source-charset:asdf -c test.cc
clang-3.9: error: invalid value 'asdf' in '-finput-charset=asdf'


It'd be nice if clang said "/source-charset:" instead of "-finput-charset=",
but there's no great way to get to the original spelling of the flag.



(An alternative would've been to not implement /source-charset as an alias, but
Hans recommended I do that and then file this bug.)

-- 
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/20160823/bcbd1575/attachment.html>


More information about the llvm-bugs mailing list