HomePhabricator

clang/Modules: Sink ASTReadResult in ReadControlBlock, NFC

Authored by dexonsmith on Nov 19 2019, 2:44 PM.

Description

clang/Modules: Sink ASTReadResult in ReadControlBlock, NFC

Simplify the code by avoiding some state that wasn't being used. The
function-level Result was only assigned a value other than Success
in the handler for OPTIONS_BLOCK_ID, but in that case it also hits an
early return. Remove it at the function-level to make it obvious that
the normal case always returns Success.

Details

Committed
dexonsmithNov 19 2019, 4:10 PM
Parents
rG85589f8077a2: [X86] Add custom type legalization and lowering for scalar…
Branches
Unknown
Tags
Unknown