diff options
Diffstat (limited to 'include/Support/CommandLine.h')
-rw-r--r-- | include/Support/CommandLine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Support/CommandLine.h b/include/Support/CommandLine.h index 410361797a..dcd3b5ba51 100644 --- a/include/Support/CommandLine.h +++ b/include/Support/CommandLine.h @@ -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) {} |