[llvm-commits] CVS: llvm/include/Support/CommandLine.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 19 16:58:32 PDT 2003
Changes in directory llvm/include/Support:
CommandLine.h updated: 1.23 -> 1.24
---
Log message:
Make assertion message more helpful in a case that might happen...
---
Diffs of the changes:
Index: llvm/include/Support/CommandLine.h
diff -u llvm/include/Support/CommandLine.h:1.23 llvm/include/Support/CommandLine.h:1.24
--- llvm/include/Support/CommandLine.h:1.23 Fri Aug 15 16:05:55 2003
+++ llvm/include/Support/CommandLine.h Tue Aug 19 16:57:00 2003
@@ -642,7 +642,8 @@
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) {}
More information about the llvm-commits
mailing list