Home
last modified time | relevance | path

Searched refs:CastExpr (Results 1 – 25 of 73) 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.h29 class CastExpr; variable
150 const CastExpr *E,
155 virtual llvm::Constant *EmitMemberPointerConversion(const CastExpr *E,
204 llvm::Constant *getMemberPointerAdjustment(const CastExpr *E);
DCGCXXABI.cpp99 const CastExpr *E, in EmitMemberPointerConversion()
105 llvm::Constant *CGCXXABI::EmitMemberPointerConversion(const CastExpr *E, in EmitMemberPointerConversion()
252 llvm::Constant *CGCXXABI::getMemberPointerAdjustment(const CastExpr *E) { in getMemberPointerAdjustment()
DCGExprAgg.cpp149 void VisitCastExpr(CastExpr *E);
558 if (CastExpr *castE = dyn_cast<CastExpr>(op)) { in findPeephole()
568 void AggExprEmitter::VisitCastExpr(CastExpr *E) { in VisitCastExpr()
825 } else if (const CastExpr *cast = dyn_cast<CastExpr>(E)) { in isBlockVarRef()
1032 if (const CastExpr *ICE = dyn_cast<CastExpr>(E)) in isSimpleZero()
DCGClass.cpp35 CastExpr::path_const_iterator Start, in ComputeNonVirtualBaseClassOffset()
36 CastExpr::path_const_iterator End) { in ComputeNonVirtualBaseClassOffset()
41 for (CastExpr::path_const_iterator I = Start; I != End; ++I) { in ComputeNonVirtualBaseClassOffset()
62 CastExpr::path_const_iterator PathBegin, in GetNonVirtualBaseClassOffset()
63 CastExpr::path_const_iterator PathEnd) { in GetNonVirtualBaseClassOffset()
140 CastExpr::path_const_iterator PathBegin, in GetAddressOfBaseClass()
141 CastExpr::path_const_iterator PathEnd, bool NullCheckValue, in GetAddressOfBaseClass()
145 CastExpr::path_const_iterator Start = PathBegin; in GetAddressOfBaseClass()
245 CastExpr::path_const_iterator PathBegin, in GetAddressOfDerivedClass()
246 CastExpr::path_const_iterator PathEnd, in GetAddressOfDerivedClass()
[all …]
/external/clang/lib/AST/
DExpr.cpp61 if (const CastExpr *CE = dyn_cast<CastExpr>(E)) { in skipRValueSubobjectAdjustments()
1462 bool CastExpr::CastConsistency() const { in CastConsistency()
1573 const char *CastExpr::getCastKindName() const { in getCastKindName()
1690 Expr *CastExpr::getSubExprAsWritten() { in getSubExprAsWritten()
1692 CastExpr *E = this; in getSubExprAsWritten()
1719 CXXBaseSpecifier **CastExpr::path_buffer() { in path_buffer()
1732 void CastExpr::setCastPath(const CXXCastPath &Path) { in setCastPath()
2274 const CastExpr *CE = cast<CastExpr>(this); in isUnusedResultAWarning()
2307 const CastExpr *ICE = cast<ImplicitCastExpr>(this); in isUnusedResultAWarning()
2443 if (CastExpr *P = dyn_cast<CastExpr>(E)) { in IgnoreParenCasts()
[all …]
DParentMap.cpp135 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts()
162 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) || in isConsumedExpr()
DExprConstant.cpp1838 static bool HandleLValueBasePath(EvalInfo &Info, const CastExpr *E, in HandleLValueBasePath()
1840 for (CastExpr::path_const_iterator PathI = E->path_begin(), in HandleLValueBasePath()
3162 static bool HandleBaseToDerivedCast(EvalInfo &Info, const CastExpr *E, in HandleBaseToDerivedCast()
4220 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4393 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4475 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4764 bool VisitCastExpr(const CastExpr* E);
4833 bool PointerExprEvaluator::VisitCastExpr(const CastExpr* E) { in VisitCastExpr()
5065 bool VisitCastExpr(const CastExpr *E);
5076 bool MemberPointerExprEvaluator::VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
[all …]
/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/Analysis/
DUninitializedValues.cpp280 if (const CastExpr *CE = dyn_cast<CastExpr>(Ex)) { in stripCasts()
331 void VisitCastExpr(CastExpr *CE);
472 void ClassifyRefs::VisitCastExpr(CastExpr *CE) { in VisitCastExpr()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp235 SVal StoreManager::evalDerivedToBase(SVal Derived, const CastExpr *Cast) { in evalDerivedToBase()
243 for (CastExpr::path_const_iterator I = Cast->path_begin(), in evalDerivedToBase()
DSValBuilder.cpp272 const CastExpr *CE = cast<CastExpr>(E); in getConstantVal()
DExprEngine.cpp207 SmallVector<const CastExpr *, 4> Casts; in createTemporaryRegionIfNeeded()
210 while (const CastExpr *CE = dyn_cast<CastExpr>(Inner)) { in createTemporaryRegionIfNeeded()
243 for (SmallVectorImpl<const CastExpr *>::reverse_iterator I = Casts.rbegin(), in createTemporaryRegionIfNeeded()
1172 const CastExpr *C = cast<CastExpr>(S); in Visit()
1430 while (const CastExpr *CE = dyn_cast<CastExpr>(Ex)) { in RecoverCastedSymbol()
/external/clang/include/clang/AST/
DExpr.h40 class CastExpr; variable
66 const CastExpr *BasePath;
81 SubobjectAdjustment(const CastExpr *BasePath, in SubobjectAdjustment()
2659 class CastExpr : public Expr {
2666 return const_cast<CastExpr*>(this)->path_buffer(); in path_buffer()
2677 CastExpr(StmtClass SC, QualType ty, ExprValueKind VK, const CastKind kind, in CastExpr() function
2701 CastExpr(StmtClass SC, EmptyShell Empty, unsigned BasePathSize) in CastExpr() function
2720 return const_cast<CastExpr *>(this)->getSubExprAsWritten(); in getSubExprAsWritten()
2763 class ImplicitCastExpr : public CastExpr {
2767 : CastExpr(ImplicitCastExprClass, ty, VK, kind, op, BasePathLength) { in ImplicitCastExpr()
[all …]
/external/clang/lib/Sema/
DSemaCast.cpp87 ExprResult complete(CastExpr *castExpr) { in complete()
2440 Expr *CastExpr) { in BuildCStyleCastExpr() argument
2441 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCStyleCastExpr()
2443 Op.OpRange = SourceRange(LPLoc, CastExpr->getLocEnd()); in BuildCStyleCastExpr()
2447 isa<InitListExpr>(CastExpr)); in BuildCStyleCastExpr()
2462 Expr *CastExpr, in BuildCXXFunctionalCastExpr() argument
2465 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCXXFunctionalCastExpr()
2467 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