Home
last modified time | relevance | path

Searched refs:CastExpr (Results 1 – 25 of 70) 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/ARCMigrate/
DTransUnbridgedCasts.cpp88 bool VisitCastExpr(CastExpr *E) { in VisitCastExpr()
122 void transformNonObjCToObjCCast(CastExpr *E) { in transformNonObjCToObjCCast()
196 void castToObjCObject(CastExpr *E, bool retained) { in castToObjCObject()
200 void rewriteToBridgedCast(CastExpr *E, ObjCBridgeCastKind Kind) { in rewriteToBridgedCast()
205 void rewriteToBridgedCast(CastExpr *E, ObjCBridgeCastKind Kind, in rewriteToBridgedCast()
276 void rewriteCastForCFRetain(CastExpr *castE, CallExpr *callE) { in rewriteCastForCFRetain()
282 void getBlockMacroRanges(CastExpr *E, SourceRange &Outer, SourceRange &Inner) { in getBlockMacroRanges()
296 void rewriteBlockCopyMacro(CastExpr *E) { in rewriteBlockCopyMacro()
309 void removeBlockReleaseMacro(CastExpr *E) { in removeBlockReleaseMacro()
338 void transformObjCToNonObjCCast(CastExpr *E) { in transformObjCToNonObjCCast()
/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> > {
29 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const;
91 void CastSizeChecker::checkPreStmt(const CastExpr *CE,CheckerContext &C) const { in checkPreStmt()
/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/CodeGen/
DCGCXXABI.h28 class CastExpr; variable
147 const CastExpr *E,
152 virtual llvm::Constant *EmitMemberPointerConversion(const CastExpr *E,
192 llvm::Constant *getMemberPointerAdjustment(const CastExpr *E);
DCGCXXABI.cpp99 const CastExpr *E, in EmitMemberPointerConversion()
105 llvm::Constant *CGCXXABI::EmitMemberPointerConversion(const CastExpr *E, in EmitMemberPointerConversion()
263 llvm::Constant *CGCXXABI::getMemberPointerAdjustment(const CastExpr *E) { in getMemberPointerAdjustment()
DCGClass.cpp34 CastExpr::path_const_iterator Start, in ComputeNonVirtualBaseClassOffset()
35 CastExpr::path_const_iterator End) { in ComputeNonVirtualBaseClassOffset()
40 for (CastExpr::path_const_iterator I = Start; I != End; ++I) { in ComputeNonVirtualBaseClassOffset()
61 CastExpr::path_const_iterator PathBegin, in GetNonVirtualBaseClassOffset()
62 CastExpr::path_const_iterator PathEnd) { in GetNonVirtualBaseClassOffset()
140 CastExpr::path_const_iterator PathBegin, in GetAddressOfBaseClass()
141 CastExpr::path_const_iterator PathEnd, in GetAddressOfBaseClass()
145 CastExpr::path_const_iterator Start = PathBegin; in GetAddressOfBaseClass()
233 CastExpr::path_const_iterator PathBegin, in GetAddressOfDerivedClass()
234 CastExpr::path_const_iterator PathEnd, in GetAddressOfDerivedClass()
[all …]
DCGExprAgg.cpp144 void VisitCastExpr(CastExpr *E);
553 if (CastExpr *castE = dyn_cast<CastExpr>(op)) { in findPeephole()
563 void AggExprEmitter::VisitCastExpr(CastExpr *E) { in VisitCastExpr()
820 } else if (const CastExpr *cast = dyn_cast<CastExpr>(E)) { in isBlockVarRef()
1025 if (const CastExpr *ICE = dyn_cast<CastExpr>(E)) in isSimpleZero()
/external/clang/include/clang/Basic/
DStmtNodes.td67 def CastExpr : DStmt<Expr, 1>;
73 def ImplicitCastExpr : DStmt<CastExpr>;
74 def ExplicitCastExpr : DStmt<CastExpr, 1>;
/external/clang/lib/AST/
DParentMap.cpp135 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts()
162 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) || in isConsumedExpr()
DExpr.cpp61 if (const CastExpr *CE = dyn_cast<CastExpr>(E)) { in skipRValueSubobjectAdjustments()
1412 bool CastExpr::CastConsistency() const { in CastConsistency()
1523 const char *CastExpr::getCastKindName() const { in getCastKindName()
1640 Expr *CastExpr::getSubExprAsWritten() { in getSubExprAsWritten()
1642 CastExpr *E = this; in getSubExprAsWritten()
1669 CXXBaseSpecifier **CastExpr::path_buffer() { in path_buffer()
1682 void CastExpr::setCastPath(const CXXCastPath &Path) { in setCastPath()
2219 const CastExpr *CE = cast<CastExpr>(this); in isUnusedResultAWarning()
2252 const CastExpr *ICE = cast<ImplicitCastExpr>(this); in isUnusedResultAWarning()
2388 if (CastExpr *P = dyn_cast<CastExpr>(E)) { in IgnoreParenCasts()
[all …]
DExprConstant.cpp1821 static bool HandleLValueBasePath(EvalInfo &Info, const CastExpr *E, in HandleLValueBasePath()
1823 for (CastExpr::path_const_iterator PathI = E->path_begin(), in HandleLValueBasePath()
3076 static bool HandleBaseToDerivedCast(EvalInfo &Info, const CastExpr *E, in HandleBaseToDerivedCast()
4107 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4280 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4362 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4651 bool VisitCastExpr(const CastExpr* E);
4720 bool PointerExprEvaluator::VisitCastExpr(const CastExpr* E) { in VisitCastExpr()
4855 bool VisitCastExpr(const CastExpr *E);
4866 bool MemberPointerExprEvaluator::VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
[all …]
/external/clang/lib/Analysis/
DUninitializedValues.cpp279 if (const CastExpr *CE = dyn_cast<CastExpr>(Ex)) { in stripCasts()
330 void VisitCastExpr(CastExpr *CE);
413 void ClassifyRefs::VisitCastExpr(CastExpr *CE) { in VisitCastExpr()
/external/clang/include/clang/AST/
DExpr.h40 class CastExpr; variable
65 const CastExpr *BasePath;
80 SubobjectAdjustment(const CastExpr *BasePath, in SubobjectAdjustment()
2655 class CastExpr : public Expr {
2665 return const_cast<CastExpr*>(this)->path_buffer(); in path_buffer()
2676 CastExpr(StmtClass SC, QualType ty, ExprValueKind VK, in CastExpr() function
2697 CastExpr(StmtClass SC, EmptyShell Empty, unsigned BasePathSize) in CastExpr() function
2716 return const_cast<CastExpr *>(this)->getSubExprAsWritten(); in getSubExprAsWritten()
2759 class ImplicitCastExpr : public CastExpr {
2763 : CastExpr(ImplicitCastExprClass, ty, VK, kind, op, BasePathLength) { in ImplicitCastExpr()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp246 SVal StoreManager::evalDerivedToBase(SVal Derived, const CastExpr *Cast) { in evalDerivedToBase()
254 for (CastExpr::path_const_iterator I = Cast->path_begin(), in evalDerivedToBase()
DSValBuilder.cpp272 const CastExpr *CE = cast<CastExpr>(E); in getConstantVal()
DExprEngine.cpp198 SmallVector<const CastExpr *, 4> Casts; in createTemporaryRegionIfNeeded()
201 while (const CastExpr *CE = dyn_cast<CastExpr>(Inner)) { in createTemporaryRegionIfNeeded()
234 for (SmallVectorImpl<const CastExpr *>::reverse_iterator I = Casts.rbegin(), in createTemporaryRegionIfNeeded()
1080 const CastExpr *C = cast<CastExpr>(S); in Visit()
1338 while (const CastExpr *CE = dyn_cast<CastExpr>(Ex)) { in RecoverCastedSymbol()
/external/clang/lib/Sema/
DSemaCast.cpp87 ExprResult complete(CastExpr *castExpr) { in complete()
2379 Expr *CastExpr) { in BuildCStyleCastExpr() argument
2380 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCStyleCastExpr()
2382 Op.OpRange = SourceRange(LPLoc, CastExpr->getLocEnd()); in BuildCStyleCastExpr()
2386 isa<InitListExpr>(CastExpr)); in BuildCStyleCastExpr()
2401 Expr *CastExpr, in BuildCXXFunctionalCastExpr() argument
2404 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCXXFunctionalCastExpr()
2406 Op.OpRange = SourceRange(Op.DestRange.getBegin(), CastExpr->getLocEnd()); in BuildCXXFunctionalCastExpr()
DSemaFixItUtils.cpp72 isa<CastExpr>(Expr) || in tryToFixConversion()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DStore.h118 SVal evalDerivedToBase(SVal Derived, const CastExpr *Cast);

123