diff options
author | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2013-06-12 14:15:21 +0000 |
---|---|---|
committer | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2013-06-12 14:15:21 +0000 |
commit | 7e79636e1925a24b34f5e5c83822fa1b1e5a961f (patch) | |
tree | 72d3ab8b4541dfe3eb2f7c5597939c5c2fe2c440 /llvm/include/llvm/Support/CommandLine.h | |
parent | d45c68cb9c5b3835c35b23963a913a41744c7104 (diff) | |
download | bcm5719-llvm-7e79636e1925a24b34f5e5c83822fa1b1e5a961f.tar.gz bcm5719-llvm-7e79636e1925a24b34f5e5c83822fa1b1e5a961f.zip |
Fix 'gcc -flto' builds for unittest binaries (undefined reference to
`typeinfo for llvm::cl::GenericOptionValue').
Remove an "anchor" method for an abstract class. (This does not
increase the number of vtables.)
llvm-svn: 183830
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
-rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 30c53253b3e..531760b01d0 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -350,8 +350,6 @@ struct cat { struct GenericOptionValue { virtual ~GenericOptionValue() {} virtual bool compare(const GenericOptionValue &V) const = 0; -private: - virtual void anchor(); }; template<class DataType> struct OptionValue; |