clang-tools 20.0.0git
Namespaces | Macros
FindTargetTests.cpp File Reference
#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.

Namespaces

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

Macros

#define EXPECT_DECLS(NodeType, ...)
 

Macro Definition Documentation

◆ EXPECT_DECLS

#define EXPECT_DECLS (   NodeType,
  ... 
)
Value:
EXPECT_THAT(assertNodeAndPrintDecls(NodeType), \
::testing::UnorderedElementsAreArray( \
std::vector<PrintedDecl>({__VA_ARGS__}))) \
<< Code
std::string Code

Definition at line 98 of file FindTargetTests.cpp.

Variable Documentation

◆ AnnotatedCode

std::string AnnotatedCode

Definition at line 1295 of file FindTargetTests.cpp.

◆ Code

std::string Code
protected

Definition at line 67 of file FindTargetTests.cpp.

◆ DumpedReferences

std::string DumpedReferences

Definition at line 1296 of file FindTargetTests.cpp.

◆ Flags

std::vector<std::string> Flags
protected

Definition at line 68 of file FindTargetTests.cpp.

◆ Name

std::string Name

Definition at line 48 of file FindTargetTests.cpp.

◆ Relations

DeclRelationSet Relations

Definition at line 49 of file FindTargetTests.cpp.