10#include "gtest/gtest.h"
18TEST_F(SpecialMembersTest, Test) {
24 "S(const S&); S(S&&);"
25 "S &operator=(S&&); S &operator=(const S&);"
28 const char *
Output = R
"cpp(struct S{S(const S&) = default;
30S &operator=(const S&) = default;
31S &operator=(S&&) = default;
33 EXPECT_EQ(apply("struct ^S{};"),
Output);
35 Output = R
"cpp(struct S{S(const S&) = default;
37S &operator=(const S&) = delete;
38S &operator=(S&&) = delete;
40 EXPECT_EQ(apply("struct ^S{int& ref;};"),
Output);
#define TWEAK_TEST(TweakID)
#define EXPECT_AVAILABLE(MarkedCode)
#define EXPECT_UNAVAILABLE(MarkedCode)
TEST_F(BackgroundIndexTest, NoCrashOnErrorFile)
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//