From a0ddced752ecc84bc9413a9d03c4fc92824ee623 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 18 Jul 2006 23:59:33 +0000 Subject: Add an out-of-line virtual method to provide a home for the cl::option class. llvm-svn: 29191 --- llvm/lib/Support/CommandLine.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Support/CommandLine.cpp') diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 164cb5286f3..08b6fcbd590 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -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) -- cgit v1.2.3