summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-11 22:10:52 +0000
committerAlp Toker <alp@nuanti.com>2014-05-11 22:10:52 +0000
commit7ef92c4ee73840460bdd8e6ff9268738210183d6 (patch)
treedc3c05b23deb5daa4b117cd246303fb01a2f014c /lib/Frontend/CompilerInvocation.cpp
parente94a8bb2a1172bac240c8d0576b5042efdcf4140 (diff)
downloadclang-7ef92c4ee73840460bdd8e6ff9268738210183d6.tar.gz
clang-7ef92c4ee73840460bdd8e6ff9268738210183d6.tar.bz2
clang-7ef92c4ee73840460bdd8e6ff9268738210183d6.tar.xz
Make DiagnosticsEngine non-copyable
Also provide an out-of-line dtor for CompilerInvocation. Cleanup work that may help reduce header inclusion for IntrusiveRefCntPtr. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--lib/Frontend/CompilerInvocation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp
index 076572e750..6aeb9c6502 100644
--- a/lib/Frontend/CompilerInvocation.cpp
+++ b/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)
//===----------------------------------------------------------------------===//