/external/clang/lib/AST/ |
H A D | ExprClassification.cpp | 10 // This file implements Expr::classify. 15 #include "clang/AST/Expr.h" 24 typedef Expr::Classification Cl; 26 static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E); 32 const Expr *trueExpr, 33 const Expr *falseExpr); 34 static Cl::ModifiableType IsModifiable(ASTContext &Ctx, const Expr *E, 38 const Expr *E, 52 Cl Expr::ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const { 90 static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr * [all...] |
/external/llvm/utils/TableGen/ |
H A D | SetTheory.cpp | 30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { argument 31 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts); 37 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { argument 38 if (Expr->arg_size() < 2) 40 Expr->getAsString(); 42 ST.evaluate(*Expr->arg_begin(), Add); 43 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub); 52 void apply(SetTheory &ST, DagInit *Expr, RecSe argument 70 apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) argument 84 apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, RecSet &Elts) argument 96 apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, RecSet &Elts) argument 113 apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, RecSet &Elts) argument 132 apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N, RecSet &Elts) argument 144 apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) argument 162 apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) argument 248 evaluate(Init *Expr, RecSet &Elts) argument [all...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCExpr.h | 27 const MCExpr *Expr; member in class:llvm::ARMMCExpr 30 : Kind(_Kind), Expr(_Expr) {} 36 static const ARMMCExpr *Create(VariantKind Kind, const MCExpr *Expr, 39 static const ARMMCExpr *CreateUpper16(const MCExpr *Expr, MCContext &Ctx) { argument 40 return Create(VK_ARM_HI16, Expr, Ctx); 43 static const ARMMCExpr *CreateLower16(const MCExpr *Expr, MCContext &Ctx) { argument 44 return Create(VK_ARM_LO16, Expr, Ctx); 55 const MCExpr *getSubExpr() const { return Expr; }
|
H A D | ARMMCExpr.cpp | 17 ARMMCExpr::Create(VariantKind Kind, const MCExpr *Expr, argument 19 return new (Ctx) ARMMCExpr(Kind, Expr); 29 const MCExpr *Expr = getSubExpr(); local 30 if (Expr->getKind() != MCExpr::SymbolRef) 32 Expr->print(OS); 33 if (Expr->getKind() != MCExpr::SymbolRef)
|
/external/clang/lib/Sema/ |
H A D | SemaFixItUtils.cpp | 50 bool ConversionFixItGenerator::tryToFixConversion(const Expr *FullExpr, 65 const Expr* Expr = FullExpr->IgnoreImpCasts(); local 68 if (isa<ArraySubscriptExpr>(Expr) || 69 isa<CallExpr>(Expr) || 70 isa<DeclRefExpr>(Expr) || 71 isa<CastExpr>(Expr) || 72 isa<CXXNewExpr>(Expr) || 73 isa<CXXConstructExpr>(Expr) || 74 isa<CXXDeleteExpr>(Expr) || [all...] |
H A D | SemaExceptionSpec.cpp | 16 #include "clang/AST/Expr.h" 717 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) 766 static CanThrowResult canSubExprsThrow(Sema &S, const Expr *CE) { 767 Expr *E = const_cast<Expr*>(CE); 769 for (Expr::child_range I = E->children(); I && R != CT_Can; ++I) 770 R = mergeCanThrow(R, S.canThrow(cast<Expr>(*I))); 774 static CanThrowResult canCalleeThrow(Sema &S, const Expr *E, 838 Expr *Op = DC->getExprOperand(); 855 CanThrowResult Sema::canThrow(const Expr * [all...] |
H A D | SemaPseudoObject.cpp | 49 Expr *rebuild(Expr *e) { 80 SmallVector<Expr*, 8> assocs(numAssocs); 84 Expr *assoc = gse->getAssocExpr(i); 107 Expr *NewBase; 108 ObjCPropertyRefRebuilder(Sema &S, Expr *newBase) 112 Expr *rebuildSpecific(ObjCPropertyRefExpr *refExpr) { 134 Expr *NewBase; 135 Expr *NewKeyExpr; 136 ObjCSubscriptRefRebuilder(Sema &S, Expr *newBas [all...] |
/external/javassist/src/main/javassist/compiler/ast/ |
H A D | Expr.java | 24 public class Expr extends ASTList implements TokenId { class in inherits:ASTList,TokenId 33 Expr(int op, ASTree _head, ASTList _tail) { method in class:Expr 38 Expr(int op, ASTree _head) { method in class:Expr 43 public static Expr make(int op, ASTree oprand1, ASTree oprand2) { 44 return new Expr(op, oprand1, new ASTList(oprand2)); 47 public static Expr make(int op, ASTree oprand1) { 48 return new Expr(op, oprand1);
|
H A D | AssignExpr.java | 23 public class AssignExpr extends Expr {
|
H A D | BinExpr.java | 26 public class BinExpr extends Expr {
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMMCInstLower.cpp | 28 const MCExpr *Expr; local 31 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_None, 38 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_None, 40 Expr = ARMMCExpr::CreateLower16(Expr, OutContext); 43 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_None, 45 Expr = ARMMCExpr::CreateUpper16(Expr, OutContext); 52 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_ARM_PLT, 58 Expr [all...] |
/external/clang/include/clang/AST/ |
H A D | ParentMap.h | 19 class Expr; 54 bool isConsumedExpr(Expr *E) const; 56 bool isConsumedExpr(const Expr *E) const { 57 return isConsumedExpr(const_cast<Expr*>(E));
|
H A D | Expr.h | 1 //===--- Expr.h - Classes for representing expressions ----------*- C++ -*-===// 10 // This file defines the Expr interface and subclasses. 51 /// Expr - This represents one expression. Note that Expr's are subclasses of 55 class Expr : public Stmt { class in namespace:clang 59 Expr(StmtClass SC, QualType T, ExprValueKind VK, ExprObjectKind OK, function in class:clang::Expr 73 explicit Expr(StmtClass SC, EmptyShell) : Stmt(SC) { } function in class:clang::Expr 82 // type. Additionally, inspect Expr::isLvalue to determine whether 281 friend class Expr; 383 return const_cast<Expr*>(thi [all...] |
H A D | ExprObjC.h | 18 #include "clang/AST/Expr.h" 29 class ObjCStringLiteral : public Expr { 34 : Expr(ObjCStringLiteralClass, T, VK_RValue, OK_Ordinary, false, false, 38 : Expr(ObjCStringLiteralClass, Empty) {} 62 class ObjCBoolLiteralExpr : public Expr { 67 Expr(ObjCBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, 71 : Expr(ObjCBoolLiteralExprClass, Empty) { } 94 class ObjCBoxedExpr : public Expr { 99 ObjCBoxedExpr(Expr *E, QualType T, ObjCMethodDecl *method, 101 : Expr(ObjCBoxedExprClas [all...] |
H A D | ExprCXX.h | 10 // This file defines the Expr interface and subclasses for C++ expressions. 17 #include "clang/AST/Expr.h" 55 CXXOperatorCallExpr(ASTContext& C, OverloadedOperatorKind Op, Expr *fn, 56 Expr **args, unsigned numargs, QualType t, 95 CXXMemberCallExpr(ASTContext &C, Expr *fn, Expr **args, unsigned numargs, 105 Expr *getImplicitObjectArgument() const; 129 CUDAKernelCallExpr(ASTContext &C, Expr *fn, CallExpr *Config, 130 Expr **args, unsigned numargs, QualType t, 166 CastKind kind, Expr *o [all...] |
H A D | SelectorLocationsKind.h | 23 class Expr; 48 ArrayRef<Expr *> Args, 60 ArrayRef<Expr *> Args,
|
H A D | StmtCXX.h | 139 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, Stmt *Body, 145 Expr *getRangeInit(); 148 const Expr *getRangeInit() const; 155 Expr *getCond() { return cast_or_null<Expr>(SubExprs[COND]); } 156 Expr *getInc() { return cast_or_null<Expr>(SubExprs[INC]); } 166 const Expr *getCond() const { 167 return cast_or_null<Expr>(SubExpr [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | TaintTesterChecker.cpp | 23 class TaintTesterChecker : public Checker< check::PostStmt<Expr> > { 31 const Expr* Arg, 35 void checkPostStmt(const Expr *E, CheckerContext &C) const; 44 void TaintTesterChecker::checkPostStmt(const Expr *E,
|
H A D | UndefBranchChecker.cpp | 36 const Expr *FindExpr(const Expr *Ex) { 42 if (const Expr *ExI = dyn_cast_or_null<Expr>(*I)) { 43 const Expr *E2 = FindExpr(ExI); 50 bool MatchesCriteria(const Expr *Ex) { 88 const Expr *Ex = cast<Expr>(Condition);
|
H A D | CStringSyntaxChecker.cpp | 17 #include "clang/AST/Expr.h" 39 inline bool sameDecl(const Expr *A1, const Expr *A2) { 47 inline bool isSizeof(const Expr *E, const Expr *WithArg) { 56 inline bool isStrlen(const Expr *E, const Expr *WithArg) { 68 inline bool isOne(const Expr *E) { 74 inline StringRef getPrintableName(const Expr *E) { 105 const Expr *DstAr [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
H A D | UninitializedValues.h | 23 class Expr; 32 virtual void handleUseOfUninitVariable(const Expr *ex,
|
H A D | PseudoConstantAnalysis.h | 33 inline static const Decl *getDecl(const Expr *E);
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 27 #include "clang/AST/Expr.h" 93 class Expr; 241 llvm::SmallPtrSet<Expr*, 8> MaybeODRUseExprs; 614 llvm::SmallPtrSet<Expr*, 8> SavedMaybeODRUseExprs; 759 bool isSelfExpr(Expr *RExpr); 845 ExprResult Owned(Expr* E) { return E; } 894 Expr *ArraySize, unsigned Quals, 896 QualType BuildExtVectorType(QualType T, Expr *ArraySize, 922 CanThrowResult canThrow(const Expr *E); 960 bool RequireCompleteExprType(Expr * 1026 ExprResult Expr; member in class:clang::Sema::NameClassification 1034 NameClassification(ExprResult Expr) argument [all...] |
H A D | Designator.h | 23 class Expr; 51 Expr *Index; 56 Expr *Start, *End; 89 Expr *getArrayIndex() const { 94 Expr *getArrayRangeStart() const { 98 Expr *getArrayRangeEnd() const { 136 static Designator getArray(Expr *Index, 146 static Designator getArrayRange(Expr *Start, 147 Expr *End,
|
/external/clang/lib/ARCMigrate/ |
H A D | TransARCAssign.cpp | 45 Expr *E = Exp->getLHS(); 51 Expr::isModifiableLvalueResult IsLV = E->isModifiableLvalue(Ctx, &Loc); 52 if (IsLV != Expr::MLV_ConstQualified)
|