summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ExpressionParser/Go/GoAST.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-01-13 21:22:00 +0000
committerZachary Turner <zturner@google.com>2016-01-13 21:22:00 +0000
commita505be4e5d3ba2e8bab6e54047e8d14b840953c9 (patch)
tree13a92ecf99ba4ae6ee5c3cd6f91da22a4f6b8037 /lldb/source/Plugins/ExpressionParser/Go/GoAST.h
parent673cf7e80b8b0de457811ee069da903b1e5685ca (diff)
downloadbcm5719-llvm-a505be4e5d3ba2e8bab6e54047e8d14b840953c9.tar.gz
bcm5719-llvm-a505be4e5d3ba2e8bab6e54047e8d14b840953c9.zip
Fix some compiler warnings with MSVC 2015.
llvm-svn: 257671
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Go/GoAST.h')
-rw-r--r--lldb/source/Plugins/ExpressionParser/Go/GoAST.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Go/GoAST.h b/lldb/source/Plugins/ExpressionParser/Go/GoAST.h
index 6d51240eab5..89836a38acb 100644
--- a/lldb/source/Plugins/ExpressionParser/Go/GoAST.h
+++ b/lldb/source/Plugins/ExpressionParser/Go/GoAST.h
@@ -2764,6 +2764,7 @@ R GoASTExpr::Visit(V* v) const
return v->VisitUnaryExpr(llvm::cast<const GoASTUnaryExpr>(this));
default:
assert(false && "Invalid kind");
+ return R();
}
}
OpenPOWER on IntegriCloud