diff options
Diffstat (limited to 'clang/lib/AST/TranslationUnit.cpp')
| -rw-r--r-- | clang/lib/AST/TranslationUnit.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/AST/TranslationUnit.cpp b/clang/lib/AST/TranslationUnit.cpp index 95cad39f681..ed84241df42 100644 --- a/clang/lib/AST/TranslationUnit.cpp +++ b/clang/lib/AST/TranslationUnit.cpp @@ -35,10 +35,9 @@ TranslationUnit::~TranslationUnit() { // The ASTContext object has the sole references to the IdentifierTable // Selectors, and the Target information. Go and delete them, since // the TranslationUnit effectively owns them. - - delete &(Context->Idents); - delete &(Context->Selectors); - delete &(Context->Target); + delete &Context->Idents; + delete &Context->Selectors; + delete &Context->Target; delete Context; } } |

