1
0
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:
Chris Lattner 2003-08-19 21:57:00 +00:00
parent a94cbbcf88
commit 5a88c2d371

View File

@ -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) {}