diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-07-18 23:59:33 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-07-18 23:59:33 +0000 |
| commit | a0ddced752ecc84bc9413a9d03c4fc92824ee623 (patch) | |
| tree | 9c758fd43288efe5cac08dafac7fe7ce6baefd2b /llvm/lib/Support/CommandLine.cpp | |
| parent | aeccc6e67681ef778e65338a050c12772a77f865 (diff) | |
| download | bcm5719-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.cpp | 4 |
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) |

