]> granicus.if.org Git - clang/commit
Avoid malloc thrashing on the std::vector for ConditionalStack. Because
authorChris Lattner <sabre@nondot.org>
Sun, 18 Jan 2009 02:52:26 +0000 (02:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Jan 2009 02:52:26 +0000 (02:52 +0000)
commit3a874a405d1913b132e4ecfa52e22c4e2264b05d
tree9f5a44f62c9a8cf865b2ea3586422dbe948f4fe7
parent898a0bb1972efb6e03cb1151412ec7392cef07de
Avoid malloc thrashing on the std::vector for ConditionalStack.  Because
there is one of these per header, this almost always gets alloc/free'd for
each #ifdef.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62451 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/PreprocessorLexer.h