chromium/v8/src/torque/cpp-builder.cc

// Copyright 2021 the V8 project 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/torque/cpp-builder.h"

namespace v8 {
namespace internal {
namespace torque {
namespace cpp {

void Function::PrintDeclarationHeader(std::ostream& stream,
                                      int indentation) const {}

void Function::PrintDeclaration(std::ostream& stream, int indentation) const {}

void Function::PrintDefinition(
    std::ostream& stream, const std::function<void(std::ostream&)>& builder,
    int indentation) const {}

void Function::PrintInlineDefinition(
    std::ostream& stream, const std::function<void(std::ostream&)>& builder,
    int indentation) const {}

void Function::PrintBeginDefinition(std::ostream& stream,
                                    int indentation) const {}

void Function::PrintEndDefinition(std::ostream& stream, int indentation) const {}

void File::BeginIncludeGuard(const std::string& name) {}

void File::EndIncludeGuard(const std::string& name) {}

void File::BeginNamespace(std::string name) {}

void File::BeginNamespace(std::string name0, std::string name1) {}

void File::EndNamespace(const std::string& name) {}

void File::EndNamespace(const std::string& name0, const std::string& name1) {}

}  // namespace cpp
}  // namespace torque
}  // namespace internal
}  // namespace v8