#include "ASTPrint.h"
#include "clang/AST/ASTContext.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 PrintType(raw_ostream &Out, const ASTContext *Context,
const QualType *T,
PrintingPolicyAdjuster PolicyAdjuster) { … }
::testing::AssertionResult
PrintedTypeMatches(StringRef Code, const std::vector<std::string> &Args,
const DeclarationMatcher &NodeMatch,
StringRef ExpectedPrinted,
PrintingPolicyAdjuster PolicyAdjuster) { … }
}
TEST(TypePrinter, TemplateId) { … }
TEST(TypePrinter, TemplateId2) { … }
TEST(TypePrinter, ParamsUglified) { … }
TEST(TypePrinter, SuppressElaboration) { … }
TEST(TypePrinter, TemplateIdWithNTTP) { … }
TEST(TypePrinter, TemplateArgumentsSubstitution) { … }
TEST(TypePrinter, TemplateArgumentsSubstitution_Expressions) { … }