Add an out-of-line virtual method to provide a home for the cl::option class.

llvm-svn: 29191
This commit is contained in:
Chris Lattner
2006-07-18 23:59:33 +00:00
parent aeccc6e676
commit a0ddced752
2 changed files with 7 additions and 0 deletions

View File

@@ -607,6 +607,10 @@ void cl::ParseCommandLineOptions(int &argc, char **argv,
// Option Base class implementation
//
// Out of line virtual function to provide home for the class.
void Option::anchor() {
}
bool Option::error(std::string Message, const char *ArgName) {
if (ArgName == 0) ArgName = ArgStr;
if (ArgName[0] == 0)