]> granicus.if.org Git - clang/commit
make the token lexer allocate its temporary token buffers for
authorChris Lattner <sabre@nondot.org>
Wed, 4 Mar 2009 06:50:57 +0000 (06:50 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Mar 2009 06:50:57 +0000 (06:50 +0000)
commit32fca722dd974b8202d0fb9c71b6c185c0767da6
tree4dcab62d65cc30aec108b053b4b000433ba896ba
parent0b2b6e1cb1573bb295c0a65813dc4df8d57f305b
make the token lexer allocate its temporary token buffers for
preexpanded macro arguments from the preprocessor's bump pointer.
This reduces # mallocs from 12444 to 11792.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66025 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Preprocessor.h
include/clang/Lex/TokenLexer.h
lib/Lex/TokenLexer.cpp