mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Make assertion message more helpful in a case that might happen...
llvm-svn: 7975
This commit is contained in:
parent
a94cbbcf88
commit
5a88c2d371
@ -642,7 +642,8 @@ class opt_storage {
|
||||
|
||||
void check() {
|
||||
assert(Location != 0 && "cl::location(...) not specified for a command "
|
||||
"line option with external storage!");
|
||||
"line option with external storage, "
|
||||
"or cl::init specified before cl::location()!!");
|
||||
}
|
||||
public:
|
||||
opt_storage() : Location(0) {}
|
||||
|
Loading…
Reference in New Issue
Block a user