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 | 433fd76e51e9bd9a4933e2c1775a7410928112c8 (patch) | |
tree | ef34478664a368577c47cf22becc761841aba3db /include/llvm/Support/CommandLine.h | |
parent | 6f6602ce4268c60b5d602b7a3565cca4c6330811 (diff) | |
download | external_llvm-433fd76e51e9bd9a4933e2c1775a7410928112c8.zip external_llvm-433fd76e51e9bd9a4933e2c1775a7410928112c8.tar.gz external_llvm-433fd76e51e9bd9a4933e2c1775a7410928112c8.tar.bz2 |
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 'include/llvm/Support/CommandLine.h')
-rw-r--r-- | include/llvm/Support/CommandLine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 8517032..b352686 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -150,6 +150,9 @@ class Option { return NormalFormatting; } + // Out of line virtual function to provide home for the class. + virtual void anchor(); + int NumOccurrences; // The number of times specified int Flags; // Flags for the argument unsigned Position; // Position of last occurrence of the option |