#include "FindTarget.h"
#include "Selection.h"
#include "TestTU.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Testing/Annotations/Annotations.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <initializer_list>
Go to the source code of this file.
|
namespace | clang |
| ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
|
|
namespace | clang::clangd |
| FIXME: Skip testing on windows temporarily due to the different escaping code mode.
|
|
◆ EXPECT_DECLS
#define EXPECT_DECLS |
( |
|
NodeType, |
|
|
|
... |
|
) |
| |
Value: EXPECT_THAT(assertNodeAndPrintDecls(NodeType), \
::testing::UnorderedElementsAreArray( \
std::vector<PrintedDecl>({__VA_ARGS__}))) \
Definition at line 98 of file FindTargetTests.cpp.
◆ AnnotatedCode
std::string AnnotatedCode |
◆ Code
Definition at line 67 of file FindTargetTests.cpp.
Referenced by clang::clangd::markup::Document::addCodeBlock(), clang::include_fixer::addDiagnosticsForContext(), clang::clangd::markup::Paragraph::appendCode(), clang::clangd::TweakTest::build(), clang::clangd::Edit::canApplyTo(), clang::tidy::modernize::UseStdNumbersCheck::check(), clang::clangd::cleanupAndFormat(), clang::include_fixer::IncludeFixerSemaSource::CorrectTypo(), clang::include_fixer::createIncludeFixerReplacements(), clang::clangd::TweakTest::decorate(), clang::clangd::ClangdServer::foldingRanges(), clang::clangd::ClangdServer::formatFile(), clang::clangd::ClangdServer::formatOnType(), clang::clangd::getEligiblePoints(), clang::clangd::getFoldingRanges(), clang::clangd::IncludeInserter::IncludeInserter(), clang::clangd::insertDecl(), clang::clangd::issueIncludeCleanerDiagnostics(), clang::clangd::lex(), clang::clangd::lspLength(), clang::include_fixer::IncludeFixerSemaSource::MaybeDiagnoseMissingCompleteType(), clang::clangd::normalizeSuppressedCode(), clang::clangd::offsetToClangLineColumn(), clang::clangd::offsetToPosition(), clang::clangd::positionToOffset(), clang::clangd::rangeTillEOL(), clang::clangd::replacementsToEdits(), clang::clangd::replacementToEdit(), clang::clangd::sourceLocationInMainFile(), clang::clangd::sourceLocToPosition(), clang::clangd::toLSPRange(), clang::clangd::toSemanticTokens(), clang::clangd::SpelledWord::touching(), clang::clangd::visibleNamespaces(), and clang::clangd::writeCodeToFixMessage().
◆ DumpedReferences
std::string DumpedReferences |
◆ Flags
std::vector<std::string> Flags |
|
protected |
◆ Name
◆ Relations
DeclRelationSet Relations |