chromium/third_party/angle/src/compiler/translator/FunctionLookup.cpp

//
// Copyright 2018 The ANGLE 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.
//
// FunctionLookup.cpp: Used for storing function calls that have not yet been resolved during
// parsing.
//

#include "compiler/translator/FunctionLookup.h"
#include "compiler/translator/ImmutableStringBuilder.h"

namespace sh
{

namespace
{

const char kFunctionMangledNameSeparator =;

constexpr const ImmutableString kEmptyName("");

// Helper function for GetMangledNames
// Gets all ordered combinations of elements in list[currentIndex, end]
std::vector<std::vector<int>> GetImplicitConversionCombinations(const std::vector<int> &list)
{}

}  // anonymous namespace

TFunctionLookup::TFunctionLookup(const ImmutableString &name,
                                 const TType *constructorType,
                                 const TSymbol *symbol)
    :{}

// static
TFunctionLookup *TFunctionLookup::CreateConstructor(const TType *type)
{}

// static
TFunctionLookup *TFunctionLookup::CreateFunctionCall(const ImmutableString &name,
                                                     const TSymbol *symbol)
{}

const ImmutableString &TFunctionLookup::name() const
{}

ImmutableString TFunctionLookup::getMangledName() const
{}

ImmutableString TFunctionLookup::GetMangledName(const char *functionName,
                                                const TIntermSequence &arguments)
{}

std::vector<ImmutableString> GetMangledNames(const char *functionName,
                                             const TIntermSequence &arguments)
{}

std::vector<ImmutableString> TFunctionLookup::getMangledNamesForImplicitConversions() const
{}

bool TFunctionLookup::isConstructor() const
{}

const TType &TFunctionLookup::constructorType() const
{}

void TFunctionLookup::setThisNode(TIntermTyped *thisNode)
{}

TIntermTyped *TFunctionLookup::thisNode() const
{}

void TFunctionLookup::addArgument(TIntermTyped *argument)
{}

TIntermSequence &TFunctionLookup::arguments()
{}

const TSymbol *TFunctionLookup::symbol() const
{}

}  // namespace sh