summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
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
commita0ddced752ecc84bc9413a9d03c4fc92824ee623 (patch)
tree9c758fd43288efe5cac08dafac7fe7ce6baefd2b /llvm/lib/Support/CommandLine.cpp
parentaeccc6e67681ef778e65338a050c12772a77f865 (diff)
downloadbcm5719-llvm-a0ddced752ecc84bc9413a9d03c4fc92824ee623.tar.gz
bcm5719-llvm-a0ddced752ecc84bc9413a9d03c4fc92824ee623.zip
Add an out-of-line virtual method to provide a home for the cl::option class.
llvm-svn: 29191
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp4
1 files changed, 4 insertions, 0 deletions
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)
OpenPOWER on IntegriCloud