]> granicus.if.org Git - clang/commit
use best-fit instead of first-fit when reusing a MacroArgs object,
authorChris Lattner <sabre@nondot.org>
Mon, 28 Dec 2009 06:36:46 +0000 (06:36 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 28 Dec 2009 06:36:46 +0000 (06:36 +0000)
commit4fe739f293057516e70b15a3e852f36614e07e73
tree8bd5474381df19374a8e16acca6724f2315a7e06
parentf5809a7b76fd5a86ae737d9b525a1eddb9339ee7
use best-fit instead of first-fit when reusing a MacroArgs object,
this speeds up Eonly on the testcase in PR5888 from 30.5s to 0.85s

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92203 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/MacroArgs.cpp