clang-tools 22.0.0git
TestFS.cpp File Reference
#include "TestFS.h"
#include "GlobalCompilationDatabase.h"
#include "URI.h"
#include "support/Logger.h"
#include "support/Path.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Path.h"
#include <optional>

Go to the source code of this file.

Classes

class  clang::clangd::TestScheme
 unittest: is a scheme that refers to files relative to testRoot(). More...

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.

Functions

llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem > clang::clangd::buildTestFS (llvm::StringMap< std::string > const &Files, llvm::StringMap< time_t > const &Timestamps)
const char * clang::clangd::testRoot ()
std::string clang::clangd::testPath (PathRef File, llvm::sys::path::Style Style)
static URISchemeRegistry::Add< TestScheme > clang::clangd::X (TestScheme::Scheme, "Test schema")

Variables

volatile int clang::clangd::UnittestSchemeAnchorSource = 0