diff options
author | Yang Fan <nullptr.cpp@gmail.com> | 2021-01-29 10:44:44 +0800 |
---|---|---|
committer | Yang Fan <nullptr.cpp@gmail.com> | 2021-01-29 11:42:23 +0800 |
commit | e5f258cb03f249601222496e6bb350fe2cc3431e (patch) | |
tree | 2d1c13d4ffd49bf1d0d90077eb480c633bceed39 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | d6d0c09e84d632f3a9954aebabb4933cd7bf64d3 (diff) | |
download | llvm-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