[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

Chris Lattner lattner at cs.uiuc.edu
Tue Jul 18 16:59:59 PDT 2006



Changes in directory llvm/include/llvm/Support:

CommandLine.h updated: 1.54 -> 1.55
---
Log message:

Add an out-of-line virtual method to provide a home for the cl::option class.


---
Diffs of the changes:  (+3 -0)

 CommandLine.h |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/include/llvm/Support/CommandLine.h
diff -u llvm/include/llvm/Support/CommandLine.h:1.54 llvm/include/llvm/Support/CommandLine.h:1.55
--- llvm/include/llvm/Support/CommandLine.h:1.54	Mon Jun  5 11:22:56 2006
+++ llvm/include/llvm/Support/CommandLine.h	Tue Jul 18 18:59:33 2006
@@ -150,6 +150,9 @@
     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






More information about the llvm-commits mailing list