clang-tools 19.0.0git
Namespaces
HeadersTests.cpp File Reference
#include "Headers.h"
#include "Compiler.h"
#include "Matchers.h"
#include "TestFS.h"
#include "TestTU.h"
#include "clang/Basic/TokenKinds.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/CompilerInvocation.h"
#include "clang/Frontend/FrontendActions.h"
#include "clang/Tooling/Inclusions/HeaderIncludes.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/Path.h"
#include "llvm/Testing/Support/Error.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::clangd
 

Variable Documentation

◆ CDB

MockCompilationDatabase CDB
protected

Definition at line 137 of file HeadersTests.cpp.

◆ Clang

std::unique_ptr<CompilerInstance> Clang
protected

◆ FS

MockFS FS
protected

Definition at line 136 of file HeadersTests.cpp.

◆ IgnoreDiags

IgnoringDiagConsumer IgnoreDiags
protected

Definition at line 141 of file HeadersTests.cpp.

Referenced by clang::clangd::indexStandardLibrary().

◆ MainFile

std::string MainFile = testPath("main.cpp")
protected

◆ SearchDirArg

std::string SearchDirArg = (llvm::Twine("-I") + Subdir).str()
protected

Definition at line 140 of file HeadersTests.cpp.

◆ Subdir

std::string Subdir = testPath("sub")
protected

Definition at line 139 of file HeadersTests.cpp.