#include "ASTPrint.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Expr.h"
#include "clang/AST/IgnoreExpr.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Tooling/Tooling.h"
#include "gtest/gtest.h"
usingnamespaceclang;
cxxRecordDecl;
hasName;
match;
varDecl;
buildASTFromCode;
static IntegerLiteral *createIntLiteral(ASTContext &Ctx, uint32_t Value) { … }
const CXXRecordDecl *getCXXRecordDeclNode(ASTUnit *AST,
const std::string &Name) { … }
const VarDecl *getVariableNode(ASTUnit *AST, const std::string &Name) { … }
TEST(ASTExpr, IgnoreExprCallbackForwarded) { … }
TEST(ASTExpr, InitListIsConstantInitialized) { … }