summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2019-01-11 18:03:20 +0000
committerZachary Turner <zturner@google.com>2019-01-11 18:03:20 +0000
commit863f8c18b9272021d9fa37b3f5ff83debb0002a3 (patch)
treeb3a7f25c3f8fd3f35bf1418638f53e91cc99fc02 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent3a50a9fe74468ea376e59f81131a873fb1b4d7d7 (diff)
downloadbcm5719-llvm-863f8c18b9272021d9fa37b3f5ff83debb0002a3.tar.gz
bcm5719-llvm-863f8c18b9272021d9fa37b3f5ff83debb0002a3.zip
[SymbolFile] Make ParseCompileUnitXXX accept a CompileUnit&.
Previously all of these functions accepted a SymbolContext&. While a CompileUnit is one member of a SymbolContext, there are also many others, and by passing such a monolithic parameter in this way it makes the requirements and assumptions of the API unclear for both callers as well as implementors. All these methods need is a CompileUnit. By limiting the parameter type in this way, we simplify the code as well as make it self-documenting for both implementers and users. Differential Revision: https://reviews.llvm.org/D56564 llvm-svn: 350943
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud