Home
last modified time | relevance | path

Searched refs:CastExpr (Results 1 – 25 of 65) sorted by relevance

123

/external/javassist/src/main/javassist/compiler/ast/
DCastExpr.java24 public class CastExpr extends ASTList implements TokenId { class
28 public CastExpr(ASTList className, int dim, ASTree expr) { in CastExpr() method in CastExpr
34 public CastExpr(int type, int dim, ASTree expr) { in CastExpr() method in CastExpr
DInstanceOfExpr.java23 public class InstanceOfExpr extends CastExpr {
DVisitor.java39 public void atCastExpr(CastExpr n) throws CompileError {} in atCastExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DCastToStructChecker.cpp26 class CastToStructChecker : public Checker< check::PreStmt<CastExpr> > {
30 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const;
34 void CastToStructChecker::checkPreStmt(const CastExpr *CE, in checkPreStmt()
DCastSizeChecker.cpp25 class CastSizeChecker : public Checker< check::PreStmt<CastExpr> > {
28 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const;
32 void CastSizeChecker::checkPreStmt(const CastExpr *CE,CheckerContext &C) const { in checkPreStmt()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp68 bool VisitCastExpr(CastExpr *E) { in VisitCastExpr()
105 void transformNonObjCToObjCCast(CastExpr *E) { in transformNonObjCToObjCCast()
179 void castToObjCObject(CastExpr *E, bool retained) { in castToObjCObject()
183 void rewriteToBridgedCast(CastExpr *E, ObjCBridgeCastKind Kind) { in rewriteToBridgedCast()
188 void rewriteToBridgedCast(CastExpr *E, ObjCBridgeCastKind Kind, in rewriteToBridgedCast()
259 void rewriteCastForCFRetain(CastExpr *castE, CallExpr *callE) { in rewriteCastForCFRetain()
265 void transformObjCToNonObjCCast(CastExpr *E) { in transformObjCToNonObjCCast()
/external/clang/lib/CodeGen/
DCGCXXABI.h29 class CastExpr; variable
109 const CastExpr *E,
114 virtual llvm::Constant *EmitMemberPointerConversion(const CastExpr *E,
154 llvm::Constant *getMemberPointerAdjustment(const CastExpr *E);
DCGCXXABI.cpp67 const CastExpr *E, in EmitMemberPointerConversion()
73 llvm::Constant *CGCXXABI::EmitMemberPointerConversion(const CastExpr *E, in EmitMemberPointerConversion()
234 llvm::Constant *CGCXXABI::getMemberPointerAdjustment(const CastExpr *E) { in getMemberPointerAdjustment()
DCGClass.cpp29 CastExpr::path_const_iterator Start, in ComputeNonVirtualBaseClassOffset()
30 CastExpr::path_const_iterator End) { in ComputeNonVirtualBaseClassOffset()
35 for (CastExpr::path_const_iterator I = Start; I != End; ++I) { in ComputeNonVirtualBaseClassOffset()
56 CastExpr::path_const_iterator PathBegin, in GetNonVirtualBaseClassOffset()
57 CastExpr::path_const_iterator PathEnd) { in GetNonVirtualBaseClassOffset()
135 CastExpr::path_const_iterator PathBegin, in GetAddressOfBaseClass()
136 CastExpr::path_const_iterator PathEnd, in GetAddressOfBaseClass()
140 CastExpr::path_const_iterator Start = PathBegin; in GetAddressOfBaseClass()
227 CastExpr::path_const_iterator PathBegin, in GetAddressOfDerivedClass()
228 CastExpr::path_const_iterator PathEnd, in GetAddressOfDerivedClass()
[all …]
DCGExprAgg.cpp145 void VisitCastExpr(CastExpr *E);
549 void AggExprEmitter::VisitCastExpr(CastExpr *E) { in VisitCastExpr()
737 } else if (const CastExpr *cast = dyn_cast<CastExpr>(E)) { in isBlockVarRef()
916 if (const CastExpr *ICE = dyn_cast<CastExpr>(E)) in isSimpleZero()
DItaniumCXXABI.cpp71 const CastExpr *E,
73 llvm::Constant *EmitMemberPointerConversion(const CastExpr *E,
342 const CastExpr *E, in EmitMemberPointerConversion()
397 ItaniumCXXABI::EmitMemberPointerConversion(const CastExpr *E, in EmitMemberPointerConversion()
/external/javassist/src/main/javassist/compiler/
DJvstTypeChecker.java86 public void atCastExpr(CastExpr expr) throws CompileError { in atCastExpr()
110 protected void atCastToRtype(CastExpr expr) throws CompileError { in atCastToRtype()
124 protected void atCastToWrapper(CastExpr expr) throws CompileError { in atCastToWrapper()
DJvstCodeGen.java160 public void atCastExpr(CastExpr expr) throws CompileError { in atCastExpr()
184 protected void atCastToRtype(CastExpr expr) throws CompileError { in atCastToRtype()
200 protected void atCastToWrapper(CastExpr expr) throws CompileError { in atCastToWrapper()
DTypeChecker.java291 expr.setThen(new CastExpr(exprType, 0, expr.thenExpr())); in atCondExpr()
293 expr.setElse(new CastExpr(type1, 0, expr.elseExpr())); in atCondExpr()
539 expr.setLeft(new CastExpr(type2, 0, expr.oprand1())); in insertCast()
544 public void atCastExpr(CastExpr expr) throws CompileError { in atCastExpr()
/external/clang/lib/AST/
DParentMap.cpp75 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts()
102 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P))) { in isConsumedExpr()
DExpr.cpp1266 void CastExpr::CheckCastConsistency() const { in CheckCastConsistency()
1370 const char *CastExpr::getCastKindName() const { in getCastKindName()
1483 Expr *CastExpr::getSubExprAsWritten() { in getSubExprAsWritten()
1485 CastExpr *E = this; in getSubExprAsWritten()
1512 CXXBaseSpecifier **CastExpr::path_buffer() { in path_buffer()
1525 void CastExpr::setCastPath(const CXXCastPath &Path) { in setCastPath()
2025 const CastExpr *CE = cast<CastExpr>(this); in isUnusedResultAWarning()
2058 const CastExpr *ICE = cast<ImplicitCastExpr>(this); in isUnusedResultAWarning()
2188 if (CastExpr *P = dyn_cast<CastExpr>(E)) { in IgnoreParenCasts()
2228 } else if (CastExpr *P = dyn_cast<CastExpr>(E)) { in IgnoreParenLValueCasts()
[all …]
DStmtDumper.cpp138 void VisitCastExpr(CastExpr *Node);
342 static void DumpBasePath(raw_ostream &OS, CastExpr *Node) { in DumpBasePath()
348 for (CastExpr::path_iterator in DumpBasePath()
366 void StmtDumper::VisitCastExpr(CastExpr *Node) { in VisitCastExpr()
DExprConstant.cpp1991 static bool HandleBaseToDerivedCast(EvalInfo &Info, const CastExpr *E, in HandleBaseToDerivedCast()
2607 RetTy VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
2722 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
2736 for (CastExpr::path_const_iterator PathI = E->path_begin(), in VisitCastExpr()
2801 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
2994 bool VisitCastExpr(const CastExpr* E);
3056 bool PointerExprEvaluator::VisitCastExpr(const CastExpr* E) { in VisitCastExpr()
3094 for (CastExpr::path_const_iterator PathI = E->path_begin(), in VisitCastExpr()
3195 bool VisitCastExpr(const CastExpr *E);
3206 bool MemberPointerExprEvaluator::VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
[all …]
/external/clang/include/clang/Basic/
DStmtNodes.td66 def CastExpr : DStmt<Expr, 1>;
72 def ImplicitCastExpr : DStmt<CastExpr>;
73 def ExplicitCastExpr : DStmt<CastExpr, 1>;
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp225 SVal StoreManager::evalDerivedToBase(SVal Derived, const CastExpr *Cast) { in evalDerivedToBase()
228 for (CastExpr::path_const_iterator I = Cast->path_begin(), in evalDerivedToBase()
/external/clang/lib/Analysis/
DUninitializedValues.cpp266 if (const CastExpr *CE = dyn_cast<CastExpr>(Ex)) { in stripCasts()
317 void VisitCastExpr(CastExpr *CE);
391 void ClassifyRefs::VisitCastExpr(CastExpr *CE) { in VisitCastExpr()
/external/clang/lib/Sema/
DSemaCast.cpp85 ExprResult complete(CastExpr *castExpr) { in complete()
2127 Expr *CastExpr) { in BuildCStyleCastExpr() argument
2128 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCStyleCastExpr()
2130 Op.OpRange = SourceRange(LPLoc, CastExpr->getLocEnd()); in BuildCStyleCastExpr()
2134 isa<InitListExpr>(CastExpr)); in BuildCStyleCastExpr()
2149 Expr *CastExpr, in BuildCXXFunctionalCastExpr() argument
2152 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCXXFunctionalCastExpr()
2154 Op.OpRange = SourceRange(Op.DestRange.getBegin(), CastExpr->getLocEnd()); in BuildCXXFunctionalCastExpr()
DSemaFixItUtils.cpp72 isa<CastExpr>(Expr) || in tryToFixConversion()
/external/clang/include/clang/AST/
DExpr.h2517 class CastExpr : public Expr {
2527 return const_cast<CastExpr*>(this)->path_buffer(); in path_buffer()
2538 CastExpr(StmtClass SC, QualType ty, ExprValueKind VK, in CastExpr() function
2561 CastExpr(StmtClass SC, EmptyShell Empty, unsigned BasePathSize) in CastExpr() function
2580 return const_cast<CastExpr *>(this)->getSubExprAsWritten(); in getSubExprAsWritten()
2598 static bool classof(const CastExpr *) { return true; } in classof() argument
2624 class ImplicitCastExpr : public CastExpr {
2628 : CastExpr(ImplicitCastExprClass, ty, VK, kind, op, BasePathLength) { in ImplicitCastExpr()
2633 : CastExpr(ImplicitCastExprClass, Shell, PathSize) { } in ImplicitCastExpr()
2639 : CastExpr(ImplicitCastExprClass, ty, VK, kind, op, 0) { in ImplicitCastExpr()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DStore.h129 SVal evalDerivedToBase(SVal derived, const CastExpr *Cast);

123