diff options
author | Bob Haarman <llvm@inglorion.net> | 2017-08-30 17:50:21 +0000 |
---|---|---|
committer | Bob Haarman <llvm@inglorion.net> | 2017-08-30 17:50:21 +0000 |
commit | 1a4cbbe49fcaebe63246c784983556528bcb27d8 (patch) | |
tree | 26ebda46b76fefeac1bb84988e1857039237066c /llvm/lib/AsmParser/LLParser.cpp | |
parent | ecd4d828811671a608b115b4de66504bcca4e785 (diff) | |
download | bcm5719-llvm-1a4cbbe49fcaebe63246c784983556528bcb27d8.tar.gz bcm5719-llvm-1a4cbbe49fcaebe63246c784983556528bcb27d8.zip |
[codeview] make DbgVariableLocation::extractFromMachineInstruction use Optional
Summary:
DbgVariableLocation::extractFromMachineInstruction originally
returned a boolean indicating success. This change makes it return
an Optional<DbgVariableLocation> so we cannot try to access the fields
of the struct if they aren't valid.
Reviewers: aprantl, rnk, zturner
Subscribers: llvm-commits, hiraditya
Differential Revision: https://reviews.llvm.org/D37279
llvm-svn: 312143
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
0 files changed, 0 insertions, 0 deletions