Add an out-of-line virtual method to provide a home for the cl::option class.
llvm-svn: 29191
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user