Searched refs:BuiltinCall (Results 1 – 2 of 2) sorted by relevance
179 static bool SemaBuiltinCallWithStaticChain(Sema &S, CallExpr *BuiltinCall) { in SemaBuiltinCallWithStaticChain() argument180 if (checkArgCount(S, BuiltinCall, 2)) in SemaBuiltinCallWithStaticChain()183 SourceLocation BuiltinLoc = BuiltinCall->getLocStart(); in SemaBuiltinCallWithStaticChain()184 Expr *Builtin = BuiltinCall->getCallee()->IgnoreImpCasts(); in SemaBuiltinCallWithStaticChain()185 Expr *Call = BuiltinCall->getArg(0); in SemaBuiltinCallWithStaticChain()186 Expr *Chain = BuiltinCall->getArg(1); in SemaBuiltinCallWithStaticChain()233 BuiltinCall->setType(CE->getType()); in SemaBuiltinCallWithStaticChain()234 BuiltinCall->setValueKind(CE->getValueKind()); in SemaBuiltinCallWithStaticChain()235 BuiltinCall->setObjectKind(CE->getObjectKind()); in SemaBuiltinCallWithStaticChain()236 BuiltinCall->setCallee(Builtin); in SemaBuiltinCallWithStaticChain()[all …]
344 static bool SemaBuiltinCallWithStaticChain(Sema &S, CallExpr *BuiltinCall) { in SemaBuiltinCallWithStaticChain() argument345 if (checkArgCount(S, BuiltinCall, 2)) in SemaBuiltinCallWithStaticChain()348 SourceLocation BuiltinLoc = BuiltinCall->getBeginLoc(); in SemaBuiltinCallWithStaticChain()349 Expr *Builtin = BuiltinCall->getCallee()->IgnoreImpCasts(); in SemaBuiltinCallWithStaticChain()350 Expr *Call = BuiltinCall->getArg(0); in SemaBuiltinCallWithStaticChain()351 Expr *Chain = BuiltinCall->getArg(1); in SemaBuiltinCallWithStaticChain()398 BuiltinCall->setType(CE->getType()); in SemaBuiltinCallWithStaticChain()399 BuiltinCall->setValueKind(CE->getValueKind()); in SemaBuiltinCallWithStaticChain()400 BuiltinCall->setObjectKind(CE->getObjectKind()); in SemaBuiltinCallWithStaticChain()401 BuiltinCall->setCallee(Builtin); in SemaBuiltinCallWithStaticChain()[all …]