Home
last modified time | relevance | path

Searched refs:EWC (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUndelegatedConstructorCheck.cpp25 if (const auto *EWC = dyn_cast<ExprWithCleanups>(E)) in AST_MATCHER_P() local
26 E = EWC->getSubExpr(); in AST_MATCHER_P()
/external/llvm-project/clang/lib/Sema/
DJumpDiagnostics.cpp542 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation() local
543 for (unsigned i = 0, e = EWC->getNumObjects(); i != e; ++i) { in BuildScopeInformation()
544 if (auto *BDecl = EWC->getObject(i).dyn_cast<BlockDecl *>()) in BuildScopeInformation()
549 else if (auto *CLE = EWC->getObject(i).dyn_cast<CompoundLiteralExpr *>()) in BuildScopeInformation()
DSemaOverload.cpp272 if (auto *EWC = dyn_cast<ExprWithCleanups>(Converted)) { in IgnoreNarrowingConversion() local
274 const_cast<Expr *>(IgnoreNarrowingConversion(Ctx, EWC->getSubExpr())); in IgnoreNarrowingConversion()
275 return ExprWithCleanups::Create(Ctx, Inner, EWC->cleanupsHaveSideEffects(), in IgnoreNarrowingConversion()
276 EWC->getObjects()); in IgnoreNarrowingConversion()
DSemaOpenMP.cpp9901 if (auto *EWC = dyn_cast<ExprWithCleanups>(Body)) in ActOnOpenMPAtomicDirective() local
9902 Body = EWC->getSubExpr(); in ActOnOpenMPAtomicDirective()
10152 if (auto *EWC = dyn_cast<ExprWithCleanups>(First)) in ActOnOpenMPAtomicDirective() local
10153 First = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective()
10154 if (auto *EWC = dyn_cast<ExprWithCleanups>(Second)) in ActOnOpenMPAtomicDirective() local
10155 Second = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective()
DSemaDecl.cpp11704 if (auto *EWC = dyn_cast<ExprWithCleanups>(Init)) in checkNonTrivialCUnionInInitializer() local
11705 Init = EWC->getSubExpr(); in checkNonTrivialCUnionInInitializer()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp375 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Rec)) in checkForGCDOrXPC() local
376 Rec = EWC->getSubExpr()->IgnoreParenImpCasts(); in checkForGCDOrXPC()
DTransAutoreleasePool.cpp406 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) in getEssential() local
407 S = EWC->getSubExpr(); in getEssential()
DTransforms.cpp82 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(E)) in isPlusOne() local
83 E = EWC->getSubExpr(); in isPlusOne()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp502 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation() local
503 for (unsigned i = 0, e = EWC->getNumObjects(); i != e; ++i) { in BuildScopeInformation()
504 const BlockDecl *BDecl = EWC->getObject(i); in BuildScopeInformation()
DSemaOpenMP.cpp6298 if (auto *EWC = dyn_cast<ExprWithCleanups>(Body)) in ActOnOpenMPAtomicDirective() local
6299 Body = EWC->getSubExpr(); in ActOnOpenMPAtomicDirective()
6547 if (auto *EWC = dyn_cast<ExprWithCleanups>(First)) in ActOnOpenMPAtomicDirective() local
6548 First = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective()
6549 if (auto *EWC = dyn_cast<ExprWithCleanups>(Second)) in ActOnOpenMPAtomicDirective() local
6550 Second = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective()
/external/clang/lib/Analysis/
DLiveVariables.cpp234 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) { in LookThroughStmt() local
235 S = EWC->getSubExpr(); in LookThroughStmt()
DThreadSafety.cpp1343 else if (const ExprWithCleanups* EWC = dyn_cast<ExprWithCleanups>(Cond)) { in getTrylockCallExpr() local
1344 return getTrylockCallExpr(EWC->getSubExpr(), C, Negate); in getTrylockCallExpr()
1989 if (ExprWithCleanups *EWC = dyn_cast_or_null<ExprWithCleanups>(E)) in VisitDeclStmt() local
1990 E = EWC->getSubExpr(); in VisitDeclStmt()
DCFG.cpp1173 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType() local
1174 Init = EWC->getSubExpr(); in getReferenceInitTemporaryType()
1373 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) in addLocalScopeForVarDecl() local
1374 Init = EWC->getSubExpr(); in addLocalScopeForVarDecl()
/external/llvm-project/clang/lib/AST/
DJSONNodeDumper.cpp1334 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups() argument
1336 EWC->cleanupsHaveSideEffects()); in VisitExprWithCleanups()
1337 if (EWC->getNumObjects()) { in VisitExprWithCleanups()
1338 JOS.attributeArray("cleanups", [this, EWC] { in VisitExprWithCleanups()
1339 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
/external/llvm-project/clang/include/clang/AST/
DJSONNodeDumper.h287 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp910 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Ex)) in peelOffOuterExpr() local
911 return peelOffOuterExpr(EWC->getSubExpr(), N); in peelOffOuterExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGBlocks.cpp1079 auto *EWC = llvm::dyn_cast_or_null<ExprWithCleanups>(RetExpr); in EmitBlockLiteral() local
1080 if (EWC) in EmitBlockLiteral()
1081 for (auto &C : EWC->getObjects()) in EmitBlockLiteral()
DCGStmt.cpp1184 if (const auto *EWC = dyn_cast_or_null<ExprWithCleanups>(RV)) in EmitReturnStmt() local
1185 RV = EWC->getSubExpr(); in EmitReturnStmt()
DCGDecl.cpp773 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(init)) in EmitScalarInit() local
774 init = EWC->getSubExpr(); in EmitScalarInit()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp3220 if (const auto *EWC = dyn_cast<ExprWithCleanups>(CS)) { in EmitOMPAtomicDirective() local
3221 enterFullExpression(EWC); in EmitOMPAtomicDirective()
3226 if (const auto *EWC = dyn_cast<ExprWithCleanups>(C)) { in EmitOMPAtomicDirective() local
3227 enterFullExpression(EWC); in EmitOMPAtomicDirective()
/external/llvm-project/clang/lib/Analysis/
DThreadSafety.cpp2157 if (auto *EWC = dyn_cast<ExprWithCleanups>(E)) in VisitDeclStmt() local
2158 E = EWC->getSubExpr()->IgnoreParens(); in VisitDeclStmt()
DCFG.cpp1688 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType() local
1689 Init = EWC->getSubExpr(); in getReferenceInitTemporaryType()
/external/cldr/tools/java/org/unicode/cldr/util/data/external/
D2013-1_UNLOCODE_CodeListPart3.csv24096 ,"US","EWC","Sewickley","Sewickley","PA","-23-----","RL","0401",,"4032N 08011W",