[llvm-commits] CVS: llvm/lib/Support/CommandLine.cpp

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



Changes in directory llvm/lib/Support:

CommandLine.cpp updated: 1.69 -> 1.70
---
Log message:

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


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

 CommandLine.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/lib/Support/CommandLine.cpp
diff -u llvm/lib/Support/CommandLine.cpp:1.69 llvm/lib/Support/CommandLine.cpp:1.70
--- llvm/lib/Support/CommandLine.cpp:1.69	Thu Jul  6 13:33:03 2006
+++ llvm/lib/Support/CommandLine.cpp	Tue Jul 18 18:59:33 2006
@@ -607,6 +607,10 @@
 // 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)






More information about the llvm-commits mailing list