diff options
author | Raphael Isemann <teemperor@gmail.com> | 2021-10-09 14:15:56 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2021-10-09 14:40:39 +0200 |
commit | b5ff51104810d09071a5e6ac4c33a0c070f996ca (patch) | |
tree | 0fa8777fe9bfeb696e3dd9fbe1438f5148096a75 /clang/lib/Basic/Module.cpp | |
parent | af971365a2a8b0d982814c0652bb86844fd19cda (diff) | |
download | llvm-b5ff51104810d09071a5e6ac4c33a0c070f996ca.zip llvm-b5ff51104810d09071a5e6ac4c33a0c070f996ca.tar.gz llvm-b5ff51104810d09071a5e6ac4c33a0c070f996ca.tar.bz2 |
[lldb][NFC] Early-exit in DWARFASTParserClang::ParseSingleMember
ParseSingleMember has two large ifs around the back of it's body:
`if (!is_artificial)` and `if (member_type)`. This patch just converts those
to early-exits. The patch is NFC. It even retains the curious fact that
Objective-C properties that fail to parse are silently ignored, but now there
is at least a FIXME that points this out.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions