File tree Expand file tree Collapse file tree 4 files changed +0
-142
lines changed Expand file tree Collapse file tree 4 files changed +0
-142
lines changed Original file line number Diff line number Diff line change @@ -6480,15 +6480,6 @@ class AtomicExpr : public Expr {
6480
6480
QualType getValueType () const ;
6481
6481
6482
6482
AtomicOp getOp () const { return Op; }
6483
- StringRef getOpAsString () const {
6484
- switch (Op) {
6485
- #define BUILTIN (ID, TYPE, ATTRS )
6486
- #define ATOMIC_BUILTIN (ID, TYPE, ATTRS ) \
6487
- case AO##ID: \
6488
- return #ID;
6489
- #include " clang/Basic/Builtins.def"
6490
- }
6491
- }
6492
6483
unsigned getNumSubExprs () const { return NumSubExprs; }
6493
6484
6494
6485
Expr **getSubExprs () { return reinterpret_cast <Expr **>(SubExprs); }
Original file line number Diff line number Diff line change @@ -285,7 +285,6 @@ class JSONNodeDumper
285
285
void VisitBinaryOperator (const BinaryOperator *BO);
286
286
void VisitCompoundAssignOperator (const CompoundAssignOperator *CAO);
287
287
void VisitMemberExpr (const MemberExpr *ME);
288
- void VisitAtomicExpr (const AtomicExpr *AE);
289
288
void VisitCXXNewExpr (const CXXNewExpr *NE);
290
289
void VisitCXXDeleteExpr (const CXXDeleteExpr *DE);
291
290
void VisitCXXThisExpr (const CXXThisExpr *TE);
Original file line number Diff line number Diff line change @@ -1179,10 +1179,6 @@ void JSONNodeDumper::VisitBlockDecl(const BlockDecl *D) {
1179
1179
attributeOnlyIfTrue (" capturesThis" , D->capturesCXXThis ());
1180
1180
}
1181
1181
1182
- void JSONNodeDumper::VisitAtomicExpr (const AtomicExpr *AE) {
1183
- JOS.attribute (" name" , AE->getOpAsString ());
1184
- }
1185
-
1186
1182
void JSONNodeDumper::VisitObjCEncodeExpr (const ObjCEncodeExpr *OEE) {
1187
1183
JOS.attribute (" encodedType" , createQualType (OEE->getEncodedType ()));
1188
1184
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments