mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-26 18:20:39 +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:
@@ -642,7 +642,8 @@ class opt_storage {
|
|||||||
|
|
||||||
void check() {
|
void check() {
|
||||||
assert(Location != 0 && "cl::location(...) not specified for a command "
|
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:
|
public:
|
||||||
opt_storage() : Location(0) {}
|
opt_storage() : Location(0) {}
|
||||||
|
|||||||
@@ -642,7 +642,8 @@ class opt_storage {
|
|||||||
|
|
||||||
void check() {
|
void check() {
|
||||||
assert(Location != 0 && "cl::location(...) not specified for a command "
|
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:
|
public:
|
||||||
opt_storage() : Location(0) {}
|
opt_storage() : Location(0) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user