#include "ASTPrint.h"
#include "clang/AST/ASTConcept.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/ExprConcepts.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/ADT/SmallString.h"
#include "gtest/gtest.h"
usingnamespaceclang;
usingnamespaceast_matchers;
usingnamespacetooling;
namespace {
static void PrintConceptReference(raw_ostream &Out, const ASTContext *Context,
const ConceptSpecializationExpr *T,
PrintingPolicyAdjuster PolicyAdjuster) { … }
::testing::AssertionResult
PrintedConceptMatches(StringRef Code, const std::vector<std::string> &Args,
const StatementMatcher &NodeMatch,
StringRef ExpectedPrinted) { … }
const internal::VariadicDynCastAllOfMatcher<Stmt, ConceptSpecializationExpr>
conceptSpecializationExpr;
}
TEST(ConceptPrinter, ConceptReference) { … }