Home
last modified time | relevance | path

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

1234

/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/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> > {
29 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const;
91 void CastSizeChecker::checkPreStmt(const CastExpr *CE,CheckerContext &C) const { in checkPreStmt()
DDynamicTypePropagation.cpp54 check::PostStmt<CastExpr>,
65 ExplodedNode *dynamicTypePropagationOnCasts(const CastExpr *CE,
103 void checkPostStmt(const CastExpr *CastE, CheckerContext &C) const;
278 const CastExpr *CE, ProgramStateRef &State, CheckerContext &C) const { in dynamicTypePropagationOnCasts()
497 void DynamicTypePropagation::checkPostStmt(const CastExpr *CE, in checkPostStmt()
/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
161 const CastExpr *E,
166 virtual llvm::Constant *EmitMemberPointerConversion(const CastExpr *E,
211 llvm::Constant *getMemberPointerAdjustment(const CastExpr *E);
DCGCXXABI.cpp103 const CastExpr *E, in EmitMemberPointerConversion()
109 llvm::Constant *CGCXXABI::EmitMemberPointerConversion(const CastExpr *E, in EmitMemberPointerConversion()
265 llvm::Constant *CGCXXABI::getMemberPointerAdjustment(const CastExpr *E) { in getMemberPointerAdjustment()
DCGExprAgg.cpp150 void VisitCastExpr(CastExpr *E);
564 if (CastExpr *castE = dyn_cast<CastExpr>(op)) { in findPeephole()
574 void AggExprEmitter::VisitCastExpr(CastExpr *E) { in VisitCastExpr()
837 } else if (const CastExpr *cast = dyn_cast<CastExpr>(E)) { in isBlockVarRef()
1044 if (const CastExpr *ICE = dyn_cast<CastExpr>(E)) in isSimpleZero()
DCGClass.cpp147 const CXXRecordDecl *DerivedClass, CastExpr::path_const_iterator Start, in computeNonVirtualBaseClassOffset()
148 CastExpr::path_const_iterator End) { in computeNonVirtualBaseClassOffset()
154 for (CastExpr::path_const_iterator I = Start; I != End; ++I) { in computeNonVirtualBaseClassOffset()
175 CastExpr::path_const_iterator PathBegin, in GetNonVirtualBaseClassOffset()
176 CastExpr::path_const_iterator PathEnd) { in GetNonVirtualBaseClassOffset()
266 CastExpr::path_const_iterator PathBegin, in GetAddressOfBaseClass()
267 CastExpr::path_const_iterator PathEnd, bool NullCheckValue, in GetAddressOfBaseClass()
271 CastExpr::path_const_iterator Start = PathBegin; in GetAddressOfBaseClass()
369 CastExpr::path_const_iterator PathBegin, in GetAddressOfDerivedClass()
370 CastExpr::path_const_iterator PathEnd, in GetAddressOfDerivedClass()
[all …]
DCodeGenModule.h741 CastExpr::path_const_iterator Start,
742 CastExpr::path_const_iterator End);
748 CastExpr::path_const_iterator PathBegin,
749 CastExpr::path_const_iterator PathEnd);
/external/clang/lib/AST/
DExpr.cpp61 if (const CastExpr *CE = dyn_cast<CastExpr>(E)) { in skipRValueSubobjectAdjustments()
1499 bool CastExpr::CastConsistency() const { in CastConsistency()
1610 const char *CastExpr::getCastKindName() const { in getCastKindName()
1727 Expr *CastExpr::getSubExprAsWritten() { in getSubExprAsWritten()
1729 CastExpr *E = this; in getSubExprAsWritten()
1756 CXXBaseSpecifier **CastExpr::path_buffer() { in path_buffer()
1769 void CastExpr::setCastPath(const CXXCastPath &Path) { in setCastPath()
2314 const CastExpr *CE = cast<CastExpr>(this); in isUnusedResultAWarning()
2347 const CastExpr *ICE = cast<ImplicitCastExpr>(this); in isUnusedResultAWarning()
2483 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.cpp1922 static bool HandleLValueBasePath(EvalInfo &Info, const CastExpr *E, in HandleLValueBasePath()
1924 for (CastExpr::path_const_iterator PathI = E->path_begin(), in HandleLValueBasePath()
3247 static bool HandleBaseToDerivedCast(EvalInfo &Info, const CastExpr *E, in HandleBaseToDerivedCast()
4331 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4514 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4596 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4886 bool VisitCastExpr(const CastExpr* E);
4955 bool PointerExprEvaluator::VisitCastExpr(const CastExpr* E) { in VisitCastExpr()
5188 bool VisitCastExpr(const CastExpr *E);
5199 bool MemberPointerExprEvaluator::VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
[all …]
/external/clang/include/clang/Basic/
DStmtNodes.td72 def CastExpr : DStmt<Expr, 1>;
78 def ImplicitCastExpr : DStmt<CastExpr>;
79 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.cpp294 const CastExpr *CE = cast<CastExpr>(E); in getConstantVal()
/external/clang/include/clang/AST/
DExpr.h41 class CastExpr; variable
66 const CastExpr *BasePath;
81 SubobjectAdjustment(const CastExpr *BasePath, in SubobjectAdjustment()
2706 class CastExpr : public Expr {
2713 return const_cast<CastExpr*>(this)->path_buffer(); in path_buffer()
2724 CastExpr(StmtClass SC, QualType ty, ExprValueKind VK, const CastKind kind, in CastExpr() function
2748 CastExpr(StmtClass SC, EmptyShell Empty, unsigned BasePathSize) in CastExpr() function
2767 return const_cast<CastExpr *>(this)->getSubExprAsWritten(); in getSubExprAsWritten()
2810 class ImplicitCastExpr : public CastExpr {
2814 : CastExpr(ImplicitCastExprClass, ty, VK, kind, op, BasePathLength) { in ImplicitCastExpr()
[all …]
/external/clang/lib/Sema/
DSemaCast.cpp87 ExprResult complete(CastExpr *castExpr) { in complete()
2464 Expr *CastExpr) { in BuildCStyleCastExpr() argument
2465 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCStyleCastExpr()
2467 Op.OpRange = SourceRange(LPLoc, CastExpr->getLocEnd()); in BuildCStyleCastExpr()
2471 isa<InitListExpr>(CastExpr)); in BuildCStyleCastExpr()
2486 Expr *CastExpr, in BuildCXXFunctionalCastExpr() argument
2489 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCXXFunctionalCastExpr()
2491 Op.OpRange = SourceRange(Op.DestRange.getBegin(), CastExpr->getLocEnd()); in BuildCXXFunctionalCastExpr()
DSemaFixItUtils.cpp72 isa<CastExpr>(Expr) || in tryToFixConversion()

1234