llvm/clang-tools-extra/clangd/ExpectedTypes.cpp

//===--- ExpectedTypes.cpp ---------------------------------------*- C++-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "ExpectedTypes.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/Type.h"
#include "clang/Index/USRGeneration.h"
#include "clang/Sema/CodeCompleteConsumer.h"
#include <optional>

namespace clang {
namespace clangd {
namespace {

static const Type *toEquivClass(ASTContext &Ctx, QualType T) {}

static std::optional<QualType> typeOfCompletion(const CodeCompletionResult &R) {}
} // namespace

std::optional<OpaqueType> OpaqueType::encode(ASTContext &Ctx, QualType T) {}

OpaqueType::OpaqueType(std::string Data) :{}

std::optional<OpaqueType> OpaqueType::fromType(ASTContext &Ctx, QualType Type) {}

std::optional<OpaqueType>
OpaqueType::fromCompletionResult(ASTContext &Ctx,
                                 const CodeCompletionResult &R) {}

} // namespace clangd
} // namespace clang