clang-tools 10.0.0

Namespaces
SymbolCollectorTests.cpp File Reference
`#include "Annotations.h"`
`#include "TestFS.h"`
`#include "TestTU.h"`
`#include "index/SymbolCollector.h"`
`#include "clang/Basic/FileManager.h"`
`#include "clang/Basic/FileSystemOptions.h"`
`#include "clang/Frontend/CompilerInstance.h"`
`#include "clang/Index/IndexingAction.h"`
`#include "clang/Index/IndexingOptions.h"`
`#include "clang/Tooling/Tooling.h"`
`#include "llvm/ADT/IntrusiveRefCntPtr.h"`
`#include "llvm/ADT/STLExtras.h"`
`#include "llvm/ADT/StringRef.h"`
`#include "llvm/Support/MemoryBuffer.h"`
`#include "llvm/Support/VirtualFileSystem.h"`
`#include "gmock/gmock-matchers.h"`
`#include "gmock/gmock-more-matchers.h"`
`#include "gmock/gmock.h"`
`#include "gtest/gtest.h"`
`#include <memory>`
`#include <string>`
Include dependency graph for SymbolCollectorTests.cpp:

Go to the source code of this file.

## Namespaces
| clang
| ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
| clang::clangd

## Variable Documentation

## ◆ AST

llvm::Optional<ParsedAST> AST
| protected

Definition at line 138 of file SymbolCollectorTests.cpp.

## ◆ Collector

std::shared_ptr<SymbolCollector> Collector

Definition at line 242 of file SymbolCollectorTests.cpp.

## ◆ CollectorOpts

SymbolCollector::Options CollectorOpts
| protected

Definition at line 298 of file SymbolCollectorTests.cpp.

## ◆ COpts

SymbolCollector::Options COpts

Definition at line 243 of file SymbolCollectorTests.cpp.

## ◆ File

TestTU File
| protected

Definition at line 137 of file SymbolCollectorTests.cpp.

## ◆ FileName

std::string FileName = "f.cpp"
| protected

Definition at line 136 of file SymbolCollectorTests.cpp.

## ◆ HeaderName

std::string HeaderName = "f.h"
| protected

Definition at line 135 of file SymbolCollectorTests.cpp.

## ◆ InMemoryFileSystem

llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem
| protected

Definition at line 290 of file SymbolCollectorTests.cpp.

## ◆ PragmaHandler

std::unique_ptr<CommentHandler> PragmaHandler

Definition at line 244 of file SymbolCollectorTests.cpp.

## ◆ Refs

RefSlab Refs
| protected

Definition at line 296 of file SymbolCollectorTests.cpp.

Referenced by clang::clangd::RefSlab::begin(), clang::clangd::BackgroundIndex::boostRelated(), clang::clangd::FileSymbols::buildIndex(), clang::clangd::RefSlab::bytes(), clang::clangd::RefSlab::empty(), clang::clangd::RefSlab::end(), clang::clangd::explicitReferenceTargets(), clang::clangd::loadIndex(), clang::clangd::readYAML(), clang::clangd::RefSlab::size(), and clang::clangd::toYAML().

## ◆ Relations

RelationSlab Relations
| protected

Definition at line 297 of file SymbolCollectorTests.cpp.

## ◆ Symbols

SymbolSlab Symbols
| protected

Definition at line 295 of file SymbolCollectorTests.cpp.

Referenced by clang::clangd::CanonicalIncludes::addSystemHeadersMapping(), clang::clangd::SymbolSlab::begin(), clang::clangd::BackgroundIndex::boostRelated(), clang::clangd::SymbolSlab::bytes(), clang::clangd::SymbolSlab::empty(), clang::clangd::SymbolSlab::end(), clang::clangd::SymbolSlab::Builder::erase(), clang::clangd::SymbolSlab::Builder::find(), clang::clangd::loadIndex(), clang::clangd::MemIndex::MemIndex(), clang::find_all_symbols::Merge(), clang::find_all_symbols::ReadSymbolInfosFromYAML(), clang::clangd::readYAML(), clang::find_all_symbols::YamlReporter::reportSymbols(), clang::include_fixer::SymbolIndexManager::search(), and clang::clangd::SymbolSlab::size().

## ◆ TestFileName

std::string TestFileName
| protected

Definition at line 293 of file SymbolCollectorTests.cpp.

## ◆ TestFileURI

std::string TestFileURI
| protected

Definition at line 294 of file SymbolCollectorTests.cpp.

## ◆ TestHeaderName

std::string TestHeaderName
| protected

Definition at line 291 of file SymbolCollectorTests.cpp.

## ◆ TestHeaderURI

std::string TestHeaderURI
| protected

Definition at line 292 of file SymbolCollectorTests.cpp.