mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-13 09:14:38 +00:00
Make assertion message more helpful in a case that might happen...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
08e247679f
commit
3c7eb1f2ea
@ -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) {}
|
||||
|
@ -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…
x
Reference in New Issue
Block a user