aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFModuleDefinition.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2021-10-11 14:23:27 +0200
committerRaphael Isemann <teemperor@gmail.com>2021-10-11 14:41:20 +0200
commitf110999bf6b5fe1b5e2b945ea462003655f034d0 (patch)
tree274bfd71d3fac78a950204ee763a4d0715c3532e /llvm/lib/Object/COFFModuleDefinition.cpp
parentaaeba6483fdafa442b950427bfa3e6443034f78d (diff)
downloadllvm-f110999bf6b5fe1b5e2b945ea462003655f034d0.zip
llvm-f110999bf6b5fe1b5e2b945ea462003655f034d0.tar.gz
llvm-f110999bf6b5fe1b5e2b945ea462003655f034d0.tar.bz2
[lldb][NFCI] Refactor out attribute parsing from DWARFASTParserClang::ParseSingleMember
D68422 introduced `ParsedDWARFTypeAttributes` which encapsulated attribute parsing and storage into its own small struct. This patch is doing the same for the member type attribute parsing. One utility class is parsing normal member attributes and the other is parsing the dedicated Objective-C property attributes. Right now the patch just makes the `ParseSingleMember` function a bit shorter, but the bigger benefit is that we can now split up the function into Objective-C property parsing and parsing of normal members (struct/class members and Objective-C ivars). The only shared code between those two parsing logic is the normal member attribute parsing. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D111494
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions