diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-11 22:10:52 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-11 22:10:52 +0000 |
commit | c7dc0621a7cafc2f1391863cf0d2daa9d925f55e (patch) | |
tree | 9de47737904d81ed5337b9b6e3fef49874ceeeb0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a90ee35a8e245feea5d60639a1d4aba84fa040d7 (diff) | |
download | bcm5719-llvm-c7dc0621a7cafc2f1391863cf0d2daa9d925f55e.tar.gz bcm5719-llvm-c7dc0621a7cafc2f1391863cf0d2daa9d925f55e.zip |
Make DiagnosticsEngine non-copyable
Also provide an out-of-line dtor for CompilerInvocation.
Cleanup work that may help reduce header inclusion for IntrusiveRefCntPtr.
llvm-svn: 208512
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 076572e7505..6aeb9c6502e 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -57,6 +57,8 @@ CompilerInvocationBase::CompilerInvocationBase(const CompilerInvocationBase &X) HeaderSearchOpts(new HeaderSearchOptions(X.getHeaderSearchOpts())), PreprocessorOpts(new PreprocessorOptions(X.getPreprocessorOpts())) {} +CompilerInvocationBase::~CompilerInvocationBase() {} + //===----------------------------------------------------------------------===// // Deserialization (from args) //===----------------------------------------------------------------------===// |