http://llvm.org/bugs/show_bug.cgi?id=19665
Bug ID: 19665
Summary: cl::opt<uint64_6> results in argument parsing error
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Support Libraries
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Using 'cl::opt<uint64_6>' instead of 'cl::opt<unsigned long long>' in the
following causes clang to not recognize (and ignore) the command line argument.
static cl::opt<unsigned long long>
Seed("rng-seed", cl::value_desc("seed"),
cl::desc("Seed for the random number generator"), cl::init(0));
Error:
$ ./clang ../testbed/example.c -o example -frandom-seed=17
$ clang: for the -rng-seed option: Cannot find option named '17'!
http://reviews.llvm.org/D3390?vs=8793&id=9120#3dbe3a44
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs