diff options
author | Rui Ueyama <ruiu@google.com> | 2016-08-04 02:03:27 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-08-04 02:03:27 +0000 |
commit | 104165643ee017aa38b620d96ee2bb808293ab45 (patch) | |
tree | f3a65165bbb63601731849d1209a8e4187984ca9 /llvm/lib/IR/AsmWriter.cpp | |
parent | 70ffe6523f1b94c134fcc8d285ee58eeb574dd9f (diff) | |
download | bcm5719-llvm-104165643ee017aa38b620d96ee2bb808293ab45.tar.gz bcm5719-llvm-104165643ee017aa38b620d96ee2bb808293ab45.zip |
Make ScriptParser::read* functions more functional style.
Previously, many read* functions created new command objects and
add them directly to the top-level data structure. This is not
work for some commands because some commands, such as the assignment,
can appear inside and outside of the output section description.
This patch is to not append objects to the top-level data structure.
Callers are now responsible to do that.
llvm-svn: 277686
Diffstat (limited to 'llvm/lib/IR/AsmWriter.cpp')
0 files changed, 0 insertions, 0 deletions