clang-tools  14.0.0git
Namespaces
TraceTests.cpp File Reference
#include "TestTracer.h"
#include "support/Context.h"
#include "support/Trace.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/Threading.h"
#include "llvm/Support/YAMLParser.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
Include dependency graph for TraceTests.cpp:

Go to the source code of this file.

Namespaces

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

Variable Documentation

◆ Counter

trace::Metric Counter = {"cnt", trace::Metric::Counter}
protected

Definition at line 152 of file TraceTests.cpp.

◆ Dist

trace::Metric Dist = {"dist", trace::Metric::Distribution, "lbl"}
protected

Definition at line 151 of file TraceTests.cpp.

Referenced by clang::tidy::readability::applyLevenshteinHeuristic().

◆ OS

llvm::raw_string_ostream OS
protected

Definition at line 163 of file TraceTests.cpp.

Referenced by clang::clangd::markup::Block::asMarkdown(), clang::clangd::markup::Block::asPlainText(), clang::clangd::trace::createCSVMetricTracer(), clang::clangd::SubsequenceMatcher< T >::DescribeTo(), dumpXPCObject(), clang::clangd::escapeBackslashAndQuotes(), clang::tidy::exportReplacements(), clang::doc::YAMLGenerator::generateDocForInfo(), clang::doc::MDGenerator::generateDocForInfo(), clang::doc::genIndex(), clang::doc::genMarkdown(), clang::tidy::bugprone::getName(), clang::tidy::bugprone::getNameAsString(), clang::clangd::SelectionTree::Node::kind(), clang::clangd::LSPError::log(), clang::clangd::CancelledError::log(), main(), llvm::yaml::NormalizedSymbolID::NormalizedSymbolID(), clang::clangd::riff::operator<<(), clang::clangd::operator<<(), llvm::yaml::ScalarTraits< SmallString< U > >::output(), llvm::yaml::ScalarTraits< std::array< unsigned char, 20 > >::output(), clang::clangd::printArgv(), clang::clangd::printObjCContainer(), clang::clangd::printObjCMethod(), clang::clangd::printQualifiedName(), clang::clangd::printTemplateSpecializationArgs(), clang::clangd::config::PrintTo(), printVersion(), clang::clangd::markup::Paragraph::renderMarkdown(), clang::clangd::markup::BulletList::renderMarkdown(), clang::clangd::markup::Paragraph::renderPlainText(), clang::clangd::markup::BulletList::renderPlainText(), clang::find_all_symbols::YamlReporter::reportSymbols(), clang::query::InvalidQuery::run(), clang::query::HelpQuery::run(), clang::doc::serializeIndex(), clang::doc::SerializeIndex(), clang::clangd::sortText(), clang::tidy::ClangTidyProfiling::StorageParams::StorageParams(), clang::clangd::toYAML(), CollectEntitiesVisitor::VisitNamedDecl(), clang::clangd::writeCodeToFixMessage(), clang::doc::writeHeader(), clang::doc::writeLine(), clang::doc::writeNameLink(), clang::doc::writeNewLine(), clang::find_all_symbols::WriteSymbolInfosToStream(), and clang::clangd::writeYAML().

◆ Output

std::string Output
protected

◆ Session

trace::Session Session
protected

Definition at line 165 of file TraceTests.cpp.

◆ Tracer

std::unique_ptr<trace::EventTracer> Tracer
protected