llvm/clang-tools-extra/clangd/support/Token.cpp

//===--- Token.cpp - Tokens and token streams in the pseudoparser ---------===//
//
// 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 "Token.h"
#include "clang/Basic/LangOptions.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/FormatVariadic.h"

namespace clang {
namespace clangd {

llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const Token &T) {}

llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const TokenStream &TS) {}

llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const Token::Range &R) {}

TokenStream::TokenStream(std::shared_ptr<void> Payload)
    :{}

void TokenStream::finalize() {}

bool TokenStream::isFinalized() const {}

void TokenStream::print(llvm::raw_ostream &OS) const {}

clang::LangOptions genericLangOpts(clang::Language Lang,
                                   clang::LangStandard::Kind Standard) {}

TokenStream stripComments(const TokenStream &Input) {}

} // namespace clangd
} // namespace clang