diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2019-09-05 09:48:39 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2019-09-05 09:48:39 +0000 |
commit | 84dd9f4d5bbde123d422c1a39676aaee9602843a (patch) | |
tree | f9127142a5fb8dcef1a6647615800e2e50aaadc2 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | c6fda60d71ad4958a2ae0e6c11a89e39cddb6d70 (diff) | |
download | bcm5719-llvm-84dd9f4d5bbde123d422c1a39676aaee9602843a.tar.gz bcm5719-llvm-84dd9f4d5bbde123d422c1a39676aaee9602843a.zip |
[libclang] Refactored SharedParsedRegionsStorage
Summary:
Removed the `PPRegionSetTy` typedef because it is only used 3 times, and
obscures code more than it helps.
Renamed SharedParsedRegionsStorage to ThreadSafeParsedRegions, because
that better reflects the reason for this type to exist.
Replaced the `copyTo()` method that had an out parameter with a getter.
Renamed the `merge()` method to `addParsedRegions()`.
Renamed `ParsedSrcLocationsTracker::ParsedRegions` to
`ParsedRegionsSnapshot`, which better reflects its role.
Subscribers: arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67077
llvm-svn: 371041
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions