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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs