aboutsummaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-18 23:59:33 +0000
committerChris Lattner <sabre@nondot.org>2006-07-18 23:59:33 +0000
commit433fd76e51e9bd9a4933e2c1775a7410928112c8 (patch)
treeef34478664a368577c47cf22becc761841aba3db /lib/Support
parent6f6602ce4268c60b5d602b7a3565cca4c6330811 (diff)
Add an out-of-line virtual method to provide a home for the cl::option class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/CommandLine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp
index 164cb5286f..08b6fcbd59 100644
--- a/lib/Support/CommandLine.cpp
+++ b/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)