aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/AST/TranslationUnit.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/clang/AST/TranslationUnit.h b/include/clang/AST/TranslationUnit.h
index 9c356a20fd..33cb47b9e5 100644
--- a/include/clang/AST/TranslationUnit.h
+++ b/include/clang/AST/TranslationUnit.h
@@ -33,17 +33,13 @@ class FileEntry;
class TranslationUnit {
ASTContext* Context;
bool OwnsMetaData;
- bool OwnsDecls;
// The default ctor is only invoked during deserialization.
- explicit TranslationUnit() : Context(NULL), OwnsMetaData(true),
- OwnsDecls(true) {}
+ explicit TranslationUnit() : Context(NULL), OwnsMetaData(true){}
public:
explicit TranslationUnit(ASTContext& Ctx)
- : Context(&Ctx), OwnsMetaData(false), OwnsDecls(true) {}
-
- void SetOwnsDecls(bool val) { OwnsDecls = val; }
+ : Context(&Ctx), OwnsMetaData(false) {}
~TranslationUnit();