diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2019-11-19 14:44:22 -0800 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2019-11-19 16:10:44 -0800 |
commit | 69242e986823e3fdd11a8e51f47f36bec714363c (patch) | |
tree | 1df1a71d7fa1aaa7f5eead71b645354389264392 /llvm/lib | |
parent | 85589f8077a229a6fbc7c245ae28bec06b88c5fb (diff) | |
download | bcm5719-llvm-69242e986823e3fdd11a8e51f47f36bec714363c.tar.gz bcm5719-llvm-69242e986823e3fdd11a8e51f47f36bec714363c.zip |
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`.
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions