reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaExpr.cpp
17640   if (E->getCastKind() == CK_FunctionToPointerDecay) {
17641     assert(E->getValueKind() == VK_RValue);
17642     assert(E->getObjectKind() == OK_Ordinary);
17644     E->setType(DestType);
17649     ExprResult Result = Visit(E->getSubExpr());
17652     E->setSubExpr(Result.get());
17653     return E;
17654   } else if (E->getCastKind() == CK_LValueToRValue) {
17655     assert(E->getValueKind() == VK_RValue);
17656     assert(E->getObjectKind() == OK_Ordinary);
17658     assert(isa<BlockPointerType>(E->getType()));
17660     E->setType(DestType);
17665     ExprResult Result = Visit(E->getSubExpr());
17668     E->setSubExpr(Result.get());
17669     return E;