diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-01-09 16:17:37 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-01-09 16:17:37 +0000 |
commit | f65e959035bc316faee2c84c65472cfca103aafa (patch) | |
tree | f7e53ce2540239cf53754a1e8e75054ab76ab131 /llvm/utils/vim/vimrc | |
parent | e8ed5be89fedf2f6c88806c4eff624bafaba7d6a (diff) | |
download | bcm5719-llvm-f65e959035bc316faee2c84c65472cfca103aafa.tar.gz bcm5719-llvm-f65e959035bc316faee2c84c65472cfca103aafa.zip |
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.
llvm-svn: 93051
Diffstat (limited to 'llvm/utils/vim/vimrc')
0 files changed, 0 insertions, 0 deletions