]> granicus.if.org Git - clang/commit
Remove the last virtual member function from the Decl hierarchy,
authorDouglas Gregor <dgregor@apple.com>
Thu, 17 Feb 2011 18:14:32 +0000 (18:14 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 17 Feb 2011 18:14:32 +0000 (18:14 +0000)
commitf91d08712514fca6b1e66abf51a13f2d7041bb05
tree4ed800bbfca7a5f43d60d8c095fc90971bf8cdc8
parent2ae442a8a0974aee1da389a69857a4b6f2823c1a
Remove the last virtual member function from the Decl hierarchy,
reducing the size of all declarations by one pointer. For a 64-bit
Clang parsing Cocoa.h, this saves ~630k of memory (about 3.5% of
ASTContext's memory usage for this header).

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