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 | a5e855d8594ccc7e7fffd2c1886088175ba84950 (patch) | |
tree | bbfc6ac5832e623411a4a4ca8f6046355c6c2fd1 /include/llvm/Support/CommandLine.h | |
parent | e48e8c7a6069374daee4c9be1e17b8ed31527f5e (diff) | |
download | external_llvm-a5e855d8594ccc7e7fffd2c1886088175ba84950.zip external_llvm-a5e855d8594ccc7e7fffd2c1886088175ba84950.tar.gz external_llvm-a5e855d8594ccc7e7fffd2c1886088175ba84950.tar.bz2 |
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.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CommandLine.h')
-rw-r--r-- | include/llvm/Support/CommandLine.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 30c5325..531760b 100644 --- a/include/llvm/Support/CommandLine.h +++ b/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; |