diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index 847a1c9ba6d..968773f9e42 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -1164,9 +1164,9 @@ public: void AddVariable(DbgVariable *V) { Variables.push_back(V); } virtual bool isInlinedSubroutine() { return false; } - virtual unsigned getLine() { assert ( 0 && "Unexpected scope!"); } - virtual unsigned getColumn() { assert ( 0 && "Unexpected scope!"); } - virtual unsigned getFile() { assert ( 0 && "Unexpected scope!"); } + virtual unsigned getLine() { assert ( 0 && "Unexpected scope!"); return 0; } + virtual unsigned getColumn() { assert ( 0 && "Unexpected scope!"); return 0; } + virtual unsigned getFile() { assert ( 0 && "Unexpected scope!"); return 0; } }; |

