]> granicus.if.org Git - clang/commit
Make ASTUnit structure stable with NDEBUG
authorAlp Toker <alp@nuanti.com>
Fri, 22 Nov 2013 07:49:39 +0000 (07:49 +0000)
committerAlp Toker <alp@nuanti.com>
Fri, 22 Nov 2013 07:49:39 +0000 (07:49 +0000)
commitfb1d9c620a77347d52b88b536767517ed93bfae1
tree18d5b0f02c91e148a0bf4c8327b317863e76a42d
parentb58630fa0846c1bf186db36ac5e12ad0ea6b353d
Make ASTUnit structure stable with NDEBUG

ASTUnit instances are allocated infrequently so it's fine to keep this field
around in all build configurations.

Assigns null to silence -Wunused-private-field in Release.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195419 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/ASTUnit.h
lib/Frontend/ASTUnit.cpp