Skip to content
Commit 6c7ea113 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Preprocessor: Allocate MacroInfo objects using a BumpPtrAllocator instead...

Preprocessor: Allocate MacroInfo objects using a BumpPtrAllocator instead using new/delete.  This speeds up -Eonly on Cocoa.h using the regular lexer by 1.8% and the PTHLexer by 3%.

llvm-svn: 61042
parent 3cdf0a8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment