#define GTEST_HAS_COMBINE …
#include "ASTImporterFixtures.h"
namespace clang {
namespace ast_matchers {
BindableMatcher;
struct GetFunPattern { … };
struct GetVarPattern { … };
struct GetClassPattern { … };
struct GetEnumPattern { … };
struct GetTypedefNamePattern { … };
struct GetFunTemplPattern { … };
struct GetVarTemplPattern { … };
struct GetClassTemplPattern { … };
const auto *ExternF = …;
const auto *StaticF = …;
const auto *AnonF = …;
const auto *ExternV = …;
const auto *StaticV = …;
const auto *AnonV = …;
const auto *ExternC = …;
const auto *AnonC = …;
const auto *ExternE = …;
const auto *AnonE = …;
const auto *ExternEC = …;
const auto *AnonEC = …;
const auto *ExternTypedef = …;
const auto *AnonTypedef = …;
const auto *ExternUsing = …;
const auto *AnonUsing = …;
const auto *ExternFT = …;
const auto *StaticFT = …;
const auto *AnonFT = …;
const auto *ExternVT = …;
const auto *StaticVT = …;
const auto *AnonVT = …;
const auto *ExternCT = …;
const auto *AnonCT = …;
ImportVisibilityChainParams;
template <typename PatternFactory>
class ImportVisibilityChain
: public ASTImporterTestBase, public ImportVisibilityChainParams { … };
ImportFunctionsVisibilityChain;
ImportVariablesVisibilityChain;
ImportClassesVisibilityChain;
ImportScopedEnumsVisibilityChain;
ImportFunctionTemplatesVisibilityChain;
ImportVariableTemplatesVisibilityChain;
ImportClassTemplatesVisibilityChain;
TEST_P(ImportFunctionsVisibilityChain, ImportChain) { … }
TEST_P(ImportVariablesVisibilityChain, ImportChain) { … }
TEST_P(ImportClassesVisibilityChain, ImportChain) { … }
TEST_P(ImportScopedEnumsVisibilityChain, ImportChain) { … }
TEST_P(ImportFunctionTemplatesVisibilityChain, ImportChain) { … }
TEST_P(ImportVariableTemplatesVisibilityChain, ImportChain) { … }
TEST_P(ImportClassTemplatesVisibilityChain, ImportChain) { … }
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
ImportVisibilityParams;
template <typename PatternFactory>
class ImportVisibility
: public ASTImporterTestBase,
public ImportVisibilityParams { … };
ImportFunctionsVisibility;
ImportVariablesVisibility;
ImportClassesVisibility;
ImportEnumsVisibility;
ImportScopedEnumsVisibility;
ImportTypedefNameVisibility;
ImportFunctionTemplatesVisibility;
ImportVariableTemplatesVisibility;
ImportClassTemplatesVisibility;
TEST_P(ImportFunctionsVisibility, ImportAfter) { … }
TEST_P(ImportFunctionsVisibility, ImportAfterImport) { … }
TEST_P(ImportVariablesVisibility, ImportAfter) { … }
TEST_P(ImportVariablesVisibility, ImportAfterImport) { … }
TEST_P(ImportClassesVisibility, ImportAfter) { … }
TEST_P(ImportClassesVisibility, ImportAfterImport) { … }
TEST_P(ImportEnumsVisibility, ImportAfter) { … }
TEST_P(ImportEnumsVisibility, ImportAfterImport) { … }
TEST_P(ImportScopedEnumsVisibility, ImportAfter) { … }
TEST_P(ImportScopedEnumsVisibility, ImportAfterImport) { … }
TEST_P(ImportTypedefNameVisibility, ImportAfter) { … }
TEST_P(ImportTypedefNameVisibility, ImportAfterImport) { … }
TEST_P(ImportFunctionTemplatesVisibility, ImportAfter) { … }
TEST_P(ImportFunctionTemplatesVisibility, ImportAfterImport) { … }
TEST_P(ImportVariableTemplatesVisibility, ImportAfter) { … }
TEST_P(ImportVariableTemplatesVisibility, ImportAfterImport) { … }
TEST_P(ImportClassTemplatesVisibility, ImportAfter) { … }
TEST_P(ImportClassTemplatesVisibility, ImportAfterImport) { … }
const bool ExpectLinkedDeclChain = …;
const bool ExpectUnlinkedDeclChain = …;
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
}
}