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 | a3d8ced7f022cdbd09891f190342a08f22d80772 (patch) | |
tree | 698f48313dfa333660bfc2e149d9754f9f54701b /lib/Analysis/ReturnStackAddressChecker.cpp | |
parent | 3e82f8ac70887905caf5e95efab53fd73f9364e1 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ReturnStackAddressChecker.cpp')
0 files changed, 0 insertions, 0 deletions