Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp12241 llvm::raw_svector_ostream CastFix(CastBuf); in checkFormatExpr() local
12242 CastFix << (S.LangOpts.CPlusPlus ? "static_cast<" : "("); in checkFormatExpr()
12243 IntendedTy.print(CastFix, S.Context.getPrintingPolicy()); in checkFormatExpr()
12244 CastFix << (S.LangOpts.CPlusPlus ? ">" : ")"); in checkFormatExpr()
12254 Hints.push_back(FixItHint::CreateReplacement(CastRange, CastFix.str())); in checkFormatExpr()
12260 FixItHint::CreateInsertion(E->getBeginLoc(), CastFix.str())); in checkFormatExpr()
12263 CastFix << "("; in checkFormatExpr()
12265 FixItHint::CreateInsertion(E->getBeginLoc(), CastFix.str())); in checkFormatExpr()