summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2019-09-05 09:48:39 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2019-09-05 09:48:39 +0000
commit84dd9f4d5bbde123d422c1a39676aaee9602843a (patch)
treef9127142a5fb8dcef1a6647615800e2e50aaadc2 /llvm/lib/CodeGen/MachineFunction.cpp
parentc6fda60d71ad4958a2ae0e6c11a89e39cddb6d70 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud