#include "clang/AST/ASTContext.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/ExprObjC.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Sema.h"
#include "clang/Sema/SemaFixItUtils.h"
usingnamespaceclang;
bool ConversionFixItGenerator::compareTypesSimple(CanQualType From,
CanQualType To,
Sema &S,
SourceLocation Loc,
ExprValueKind FromVK) { … }
bool ConversionFixItGenerator::tryToFixConversion(const Expr *FullExpr,
const QualType FromTy,
const QualType ToTy,
Sema &S) { … }
static bool isMacroDefined(const Sema &S, SourceLocation Loc, StringRef Name) { … }
static std::string getScalarZeroExpressionForType(
const Type &T, SourceLocation Loc, const Sema &S) { … }
std::string
Sema::getFixItZeroInitializerForType(QualType T, SourceLocation Loc) const { … }
std::string
Sema::getFixItZeroLiteralForType(QualType T, SourceLocation Loc) const { … }