#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) { … }
}
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) { … }
}
}