Home
last modified time | relevance | path

Searched refs:NewExpr (Results 1 – 25 of 29) sorted by relevance

12

/external/javassist/src/main/javassist/compiler/ast/
DNewExpr.java25 public class NewExpr extends ASTList implements TokenId { class
31 public NewExpr(ASTList className, ASTList args) { in NewExpr() method in NewExpr
37 public NewExpr(int type, ASTList arraySize, ArrayInit init) { in NewExpr() method in NewExpr
45 public static NewExpr makeObjectArray(ASTList className, in makeObjectArray()
47 NewExpr e = new NewExpr(className, arraySize); in makeObjectArray()
DVisitor.java42 public void atNewExpr(NewExpr n) throws CompileError {} in atNewExpr()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DDefaultOperatorNewAlignmentCheck.cpp28 const auto *NewExpr = Result.Nodes.getNodeAs<CXXNewExpr>("new"); in check() local
30 QualType T = NewExpr->getAllocatedType(); in check()
55 !NewExpr->getOperatorNew() || NewExpr->getOperatorNew()->isImplicit(); in check()
59 diag(NewExpr->getBeginLoc(), in check()
/external/javassist/src/main/javassist/expr/
DExprEditor.java215 expr = new NewExpr(pos, iterator, clazz, minfo, in loopBody()
217 edit((NewExpr)expr); in loopBody()
267 public void edit(NewExpr e) throws CannotCompileException {} in edit()
DNewExpr.java43 public class NewExpr extends Expr { class
50 protected NewExpr(int pos, CodeIterator i, CtClass declaring, in NewExpr() method in NewExpr
/external/javassist/src/test/javassist/
DBench.java70 public void edit(NewExpr m) throws CannotCompileException {
77 public void edit(NewExpr m) throws CannotCompileException {
DJvstTest.java324 public void edit(NewExpr m) throws CannotCompileException { in testProceed2()
343 public void edit(NewExpr m) throws CannotCompileException { in testProceed2()
533 public void edit(NewExpr m) throws CannotCompileException { in testExprEditor3()
558 public void edit(NewExpr m) throws CannotCompileException { in testExprEditor4()
580 public void edit(NewExpr m) throws CannotCompileException { in testExprEditor5()
DJvstTest3.java183 public void edit(NewExpr n) throws CannotCompileException { in testReplaceNew()
190 public void edit(NewExpr n) throws CannotCompileException { in testReplaceNew()
914 public void edit(NewExpr m) throws CannotCompileException { in testNewExprTry()
DJvstTest2.java57 public void edit(NewExpr n) throws CannotCompileException { in testInsertLocal()
693 public void edit(NewExpr expr) throws CannotCompileException { in testNewExprTry()
881 public void edit(NewExpr expr) throws CannotCompileException { in testNewExprInTry()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DMakeSmartPtrCheck.cpp27 std::string GetNewExprName(const CXXNewExpr *NewExpr, in GetNewExprName() argument
32 NewExpr->getAllocatedTypeSourceInfo()->getTypeLoc().getSourceRange()), in GetNewExprName()
34 if (NewExpr->isArray()) { in GetNewExprName()
/external/javassist/src/main/javassist/compiler/
DParser.java36 import javassist.compiler.ast.NewExpr;
1276 private NewExpr parseNew(SymbolTable tbl) throws CompileError { in parseNew()
1285 return new NewExpr(t, size, init); in parseNew()
1292 return new NewExpr(name, args); in parseNew()
1299 return NewExpr.makeObjectArray(name, size, init); in parseNew()
DTypeChecker.java42 import javassist.compiler.ast.NewExpr;
164 public void atNewExpr(NewExpr expr) throws CompileError { in atNewExpr()
178 public void atNewArrayExpr(NewExpr expr) throws CompileError { in atNewArrayExpr()
409 ASTree e = new NewExpr(sbufClass, null); in atPlusExpr()
DMemberCodeGen.java45 import javassist.compiler.ast.NewExpr;
321 public void atNewExpr(NewExpr expr) throws CompileError { in atNewExpr()
340 public void atNewArrayExpr(NewExpr expr) throws CompileError { in atNewArrayExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp232 const DIExpression *NewExpr = in addLocationAttribute() local
234 if (NewExpr != Expr) { in addLocationAttribute()
235 Expr = NewExpr; in addLocationAttribute()
672 const DIExpression *NewExpr = in constructVariableDIEImpl() local
674 if (NewExpr != Expr) { in constructVariableDIEImpl()
675 Expr = NewExpr; in constructVariableDIEImpl()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp223 const DIExpression *NewExpr = in addLocationAttribute() local
225 if (NewExpr != Expr) { in addLocationAttribute()
226 Expr = NewExpr; in addLocationAttribute()
750 const DIExpression *NewExpr = in constructVariableDIEImpl() local
752 if (NewExpr != Expr) { in constructVariableDIEImpl()
753 Expr = NewExpr; in constructVariableDIEImpl()
/external/llvm-project/clang/lib/Sema/
DSemaCoroutine.cpp1390 ExprResult NewExpr = in makeNewAndDeleteExpr() local
1392 NewExpr = S.ActOnFinishFullExpr(NewExpr.get(), /*DiscardedValue*/ false); in makeNewAndDeleteExpr()
1393 if (NewExpr.isInvalid()) in makeNewAndDeleteExpr()
1423 this->Allocate = NewExpr.get(); in makeNewAndDeleteExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp398 HexagonMCExpr *NewExpr = HexagonMCExpr::create( in addSignedImmOperands() local
401 NewExpr->setSignMismatch(); in addSignedImmOperands()
402 NewExpr->setMustExtend(Expr->mustExtend()); in addSignedImmOperands()
403 NewExpr->setMustNotExtend(Expr->mustNotExtend()); in addSignedImmOperands()
404 Inst.addOperand(MCOperand::createExpr(NewExpr)); in addSignedImmOperands()
/external/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp402 HexagonMCExpr *NewExpr = HexagonMCExpr::create( in addSignedImmOperands() local
405 NewExpr->setSignMismatch(); in addSignedImmOperands()
406 NewExpr->setMustExtend(Expr->mustExtend()); in addSignedImmOperands()
407 NewExpr->setMustNotExtend(Expr->mustNotExtend()); in addSignedImmOperands()
408 Inst.addOperand(MCOperand::createExpr(NewExpr)); in addSignedImmOperands()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DRecord.cpp1348 Init *NewExpr = Expr->resolveReferences(SR); in resolveReferences() local
1350 if (Start == NewStart && List == NewList && Expr == NewExpr) in resolveReferences()
1353 return get(NewStart, NewList, A, B, NewExpr, getType()) in resolveReferences()
1414 Init *NewExpr = Expr->resolveReferences(R); in resolveReferences() local
1415 if (Expr != NewExpr) in resolveReferences()
1416 return get(CheckType, NewExpr)->Fold(); in resolveReferences()
/external/llvm-project/llvm/lib/TableGen/
DRecord.cpp1428 Init *NewExpr = Expr->resolveReferences(SR); in resolveReferences() local
1430 if (Start == NewStart && List == NewList && Expr == NewExpr) in resolveReferences()
1433 return get(NewStart, NewList, A, B, NewExpr, getType()) in resolveReferences()
1494 Init *NewExpr = Expr->resolveReferences(R); in resolveReferences() local
1495 if (Expr != NewExpr) in resolveReferences()
1496 return get(CheckType, NewExpr)->Fold(); in resolveReferences()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveDebugValues.cpp1472 DIExpression *NewExpr = in recordEntryValue() local
1474 VarLoc EntryValLocAsBackup = VarLoc::CreateEntryBackupLoc(MI, LS, NewExpr); in recordEntryValue()
/external/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
DVarLocBasedImpl.cpp1777 DIExpression *NewExpr = in recordEntryValue() local
1779 VarLoc EntryValLocAsBackup = VarLoc::CreateEntryBackupLoc(MI, LS, NewExpr); in recordEntryValue()
/external/llvm-project/libcxxabi/src/demangle/
DItaniumDemangle.h90 X(NewExpr) \
1771 class NewExpr : public Node {
1779 NewExpr(NodeArray ExprList_, Node *Type_, NodeArray InitList_, bool IsGlobal_, in NewExpr() function
4188 return make<NewExpr>(ExprList, Ty, Inits, Global, IsArray); in parseNewExpr()
4191 return make<NewExpr>(ExprList, Ty, NodeArray(), Global, IsArray); in parseNewExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DItaniumDemangle.h89 X(NewExpr) \
1735 class NewExpr : public Node {
1743 NewExpr(NodeArray ExprList_, Node *Type_, NodeArray InitList_, bool IsGlobal_, in NewExpr() function
4121 return make<NewExpr>(ExprList, Ty, Inits, Global, IsArray); in parseNewExpr()
4124 return make<NewExpr>(ExprList, Ty, NodeArray(), Global, IsArray); in parseNewExpr()
/external/llvm-project/llvm/include/llvm/Demangle/
DItaniumDemangle.h90 X(NewExpr) \
1771 class NewExpr : public Node {
1779 NewExpr(NodeArray ExprList_, Node *Type_, NodeArray InitList_, bool IsGlobal_, in NewExpr() function
4188 return make<NewExpr>(ExprList, Ty, Inits, Global, IsArray); in parseNewExpr()
4191 return make<NewExpr>(ExprList, Ty, NodeArray(), Global, IsArray); in parseNewExpr()

12