| // Copyright 2018 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include "src/developer/debug/zxdb/symbols/variable.h" | |
| namespace zxdb { | |
| Variable::Variable(DwarfTag tag) : Value(tag) {} | |
| Variable::Variable(DwarfTag tag, const std::string& assigned_name, LazySymbol type, | |
| VariableLocation location) | |
| : Value(tag, assigned_name, std::move(type)), location_(std::move(location)) {} | |
| Variable::~Variable() = default; | |
| const Variable* Variable::AsVariable() const { return this; } | |
| } // namespace zxdb |