| 429 | //----------------------------------------------------------------------------- |
| 430 | |
| 431 | DeclRefExpr* mkDeclRefExpr(const ValueDecl* vd) |
| 432 | { |
| 433 | return DeclRefExpr::Create(GetGlobalAST(), |
| 434 | NestedNameSpecifierLoc{}, |
| 435 | SourceLocation{}, |
| 436 | const_cast<ValueDecl*>(vd), |
| 437 | false, |
| 438 | SourceLocation{}, |
| 439 | vd->getType(), |
| 440 | VK_LValue, |
| 441 | nullptr, |
| 442 | nullptr, |
| 443 | NOUR_None); |
| 444 | } |
| 445 | //----------------------------------------------------------------------------- |
| 446 | |
| 447 | ImplicitCastExpr* CastLToRValue(const VarDecl* vd) |
no outgoing calls
no test coverage detected