Home
last modified time | relevance | path

Searched refs:CastFix (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp7475 llvm::raw_svector_ostream CastFix(CastBuf); in checkFormatExpr() local
7476 CastFix << (S.LangOpts.CPlusPlus ? "static_cast<" : "("); in checkFormatExpr()
7477 IntendedTy.print(CastFix, S.Context.getPrintingPolicy()); in checkFormatExpr()
7478 CastFix << (S.LangOpts.CPlusPlus ? ">" : ")"); in checkFormatExpr()
7490 Hints.push_back(FixItHint::CreateReplacement(CastRange, CastFix.str())); in checkFormatExpr()
7496 FixItHint::CreateInsertion(E->getBeginLoc(), CastFix.str())); in checkFormatExpr()
7499 CastFix << "("; in checkFormatExpr()
7501 FixItHint::CreateInsertion(E->getBeginLoc(), CastFix.str())); in checkFormatExpr()