aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorYang Fan <nullptr.cpp@gmail.com>2021-01-29 10:44:44 +0800
committerYang Fan <nullptr.cpp@gmail.com>2021-01-29 11:42:23 +0800
commite5f258cb03f249601222496e6bb350fe2cc3431e (patch)
tree2d1c13d4ffd49bf1d0d90077eb480c633bceed39 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentd6d0c09e84d632f3a9954aebabb4933cd7bf64d3 (diff)
downloadllvm-e5f258cb03f249601222496e6bb350fe2cc3431e.zip
llvm-e5f258cb03f249601222496e6bb350fe2cc3431e.tar.gz
llvm-e5f258cb03f249601222496e6bb350fe2cc3431e.tar.bz2
[NFC][DebugInfo] Fix Wreturn-type gcc warning
GCC warning: ``` /llvm-project/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp: In member function ‘llvm::Expected<long unsigned int> llvm::dwarf::CFIProgram::Instruction::getOperandAsUnsigned(const llvm::dwarf::CFIProgram&, uint32_t) const’: /llvm-project/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:425:1: warning: control reaches end of non-void function [-Wreturn-type] 425 | } | ^ /llvm-project/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp: In member function ‘llvm::Expected<long int> llvm::dwarf::CFIProgram::Instruction::getOperandAsSigned(const llvm::dwarf::CFIProgram&, uint32_t) const’: /llvm-project/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:477:1: warning: control reaches end of non-void function [-Wreturn-type] 477 | } | ^ ```
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions