On Jan 9, 2010, at 8:17 AM, Benjamin Kramer wrote: > Author: d0k > Date: Sat Jan 9 10:17:37 2010 > New Revision: 93051 > > URL: http://llvm.org/viewvc/llvm-project?rev=93051&view=rev > Log: > Rework InitPreprocessor to use a MacroBuilder class instead of pushing around > std::vectors. > > - MacroBuilder wraps a raw_ostream so it can easily write to any buffer > supported by raw_ostream. > - MacroBuilder's method take Twines for easy string concatenation (this was > done > with sprintf and temporary buffers before). > - Targets still use std::vector as they don't have access to the builder.
Very nice Benjamin! -Chris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
