Searched refs:CXXConstructExpr (Results 1 - 25 of 64) sorted by relevance

123

/external/v8/tools/clang/empty_string/
H A DEmptyStringConverter.cpp116 const clang::CXXConstructExpr* call =
117 result.Nodes.getNodeAs<clang::CXXConstructExpr>("call");
130 const clang::CXXConstructExpr* call =
131 result.Nodes.getNodeAs<clang::CXXConstructExpr>("call");
142 const clang::CXXConstructExpr* call =
143 result.Nodes.getNodeAs<clang::CXXConstructExpr>("call");
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp107 ExprEngine::getRegionForConstructedObject(const CXXConstructExpr *CE,
183 assert(isa<CXXConstructExpr>(((*B)[currStmtIdx]).castAs<CFGStmt>().getStmt()));
203 const CXXConstructExpr *
206 // destructors) was a CXXConstructExpr. If so, that constructor
225 if (auto *CtorExpr = dyn_cast<CXXConstructExpr>(PrevStmtElem->getStmt())) {
233 void ExprEngine::VisitCXXConstructExpr(const CXXConstructExpr *CE,
246 case CXXConstructExpr::CK_Complete: {
250 case CXXConstructExpr::CK_VirtualBase:
254 const CXXConstructExpr *OuterCtor = dyn_cast<CXXConstructExpr>(Oute
[all...]
H A DExprEngineCallAndReturn.cpp196 /// Returns true if the CXXConstructExpr \p E was intended to construct a
202 static bool isTemporaryPRValue(const CXXConstructExpr *E, SVal V) {
267 // Bind the constructed object value to CXXConstructExpr.
268 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(CE)) {
546 if (isTemporaryPRValue(cast<CXXConstructExpr>(E), ThisV))
609 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr();
630 if (CtorExpr->getConstructionKind() == CXXConstructExpr::CK_Complete)
H A DCallEvent.cpp267 || isa<CXXConstructExpr>(S)
1078 return getCXXConstructorCall(cast<CXXConstructExpr>(CallSite),
/external/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp164 CXXConstructExpr *Ex2 = dyn_cast<CXXConstructExpr>(Ex1->getSubExpr());
170 CXXConstructExpr *Ex4 = dyn_cast<CXXConstructExpr>(Ex3->getSubExpr());
H A DDynamicTypePropagation.cpp169 case CXXConstructExpr::CK_Complete:
170 case CXXConstructExpr::CK_Delegating:
173 case CXXConstructExpr::CK_NonVirtualBase:
174 case CXXConstructExpr::CK_VirtualBase:
252 case CXXConstructExpr::CK_Complete:
253 case CXXConstructExpr::CK_Delegating:
260 case CXXConstructExpr::CK_NonVirtualBase:
261 case CXXConstructExpr::CK_VirtualBase:
H A DDeadStoresChecker.cpp341 if (isa<CXXConstructExpr>(E))
/external/clang/unittests/AST/
H A DSourceLocationTest.cpp258 TEST(CXXConstructExpr, SourceRange) {
259 RangeVerifier<CXXConstructExpr> Verifier;
534 RangeVerifier<CXXConstructExpr> Verifier;
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h33 class CXXConstructExpr;
446 void VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred,
624 const CXXConstructExpr *findDirectConstructorForCurrentCFGElement();
626 /// For a CXXConstructExpr, walk forward in the current CFG block to find the
638 const MemRegion *getRegionForConstructedObject(const CXXConstructExpr *CE,
H A DCallEvent.h787 CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target,
800 virtual const CXXConstructExpr *getOriginExpr() const {
801 return cast<CXXConstructExpr>(AnyFunctionCall::getOriginExpr());
1062 getCXXConstructorCall(const CXXConstructExpr *E, const MemRegion *Target,
/external/clang/unittests/Tooling/
H A DRecursiveASTVisitorTestExprVisitor.cpp104 /// CXXConstructExpr.
107 /// is invoked by the CXXConstructExpr, not the name of the class whose
108 /// constructor the CXXConstructExpr is contained in.
120 bool VisitCXXConstructExpr(CXXConstructExpr* Expr) {
/external/clang/lib/CodeGen/
H A DCGExprCXX.cpp440 CodeGenFunction::EmitCXXConstructExpr(const CXXConstructExpr *E,
451 case CXXConstructExpr::CK_Delegating:
452 case CXXConstructExpr::CK_Complete:
455 case CXXConstructExpr::CK_VirtualBase:
456 case CXXConstructExpr::CK_NonVirtualBase:
488 case CXXConstructExpr::CK_Delegating:
494 case CXXConstructExpr::CK_Complete:
498 case CXXConstructExpr::CK_VirtualBase:
502 case CXXConstructExpr::CK_NonVirtualBase:
516 assert(isa<CXXConstructExpr>(Ex
[all...]
H A DCGClass.cpp725 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit());
1147 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit());
1919 Address arrayBegin, const CXXConstructExpr *E, bool zeroInitialize) {
1939 const CXXConstructExpr *E,
2050 const CXXConstructExpr *E) {
2292 const CXXConstructExpr *E) {
2883 if (isa<CXXConstructExpr>(Base))
H A DCGExprAgg.cpp177 void VisitCXXConstructExpr(const CXXConstructExpr *E);
393 if (auto *Cons = dyn_cast_or_null<CXXConstructExpr>(E))
997 AggExprEmitter::VisitCXXConstructExpr(const CXXConstructExpr *E) {
H A DCGExprConstant.cpp930 llvm::Constant *VisitCXXConstructExpr(CXXConstructExpr *E) {
1206 if (const CXXConstructExpr *E =
1207 dyn_cast_or_null<CXXConstructExpr>(D.getInit())) {
/external/clang/lib/AST/
H A DExprCXX.cpp407 SourceLocation CXXConstructExpr::getLocStart() const {
413 SourceLocation CXXConstructExpr::getLocEnd() const {
728 : CXXConstructExpr(C, CXXTemporaryObjectExprClass,
736 CXXConstructExpr::CK_Complete, ParenOrBraceRange),
751 CXXConstructExpr *CXXConstructExpr::Create(const ASTContext &C, QualType T,
762 return new (C) CXXConstructExpr(C, CXXConstructExprClass, T, Loc,
770 CXXConstructExpr::CXXConstructExpr(const ASTContext &C, StmtClass SC, function in class:CXXConstructExpr
797 assert(Args[i] && "NULL argument in CXXConstructExpr");
[all...]
H A DDeclPrinter.cpp593 } else if (CXXConstructExpr *Construct
594 = dyn_cast<CXXConstructExpr>(Init)) {
755 if (CXXConstructExpr *Construct =
756 dyn_cast<CXXConstructExpr>(Init->IgnoreImplicit())) {
H A DExpr.cpp1623 SubExpr = cast<CXXConstructExpr>(SubExpr)->getArg(0);
2641 const CXXConstructExpr *CE = cast<CXXConstructExpr>(this);
3003 const CXXConstructExpr *CE = cast<CXXConstructExpr>(this);
3098 void VisitCXXConstructExpr(const CXXConstructExpr *E) {
3732 e = cast<CXXConstructExpr>(e)->getArg(0);
/external/clang/lib/Sema/
H A DSemaCUDA.cpp379 if (const CXXConstructExpr *CE =
380 dyn_cast<CXXConstructExpr>(CI->getInit()))
H A DSemaFixItUtils.cpp74 isa<CXXConstructExpr>(Expr) ||
H A DJumpDiagnostics.cpp186 // will be the CXXConstructExpr with no intervening nodes.
187 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(Init)) {
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1238 CXXConstructExpr> cxxConstructExpr;
2406 /// - for CXXConstructExpr, the declaration of the constructor
2411 /// Usable as: Matcher<CallExpr>, Matcher<CXXConstructExpr>,
2916 CXXConstructExpr,
2932 CXXConstructExpr,
3130 CXXConstructExpr),
3143 AST_MATCHER(CXXConstructExpr, isListInitialization) {
3159 AST_MATCHER(CXXConstructExpr, requiresZeroInitialization) {
3201 CXXConstructExpr),
/external/clang/include/clang/AST/
H A DExprCXX.h1162 class CXXConstructExpr : public Expr { class in namespace:clang
1188 CXXConstructExpr(const ASTContext &C, StmtClass SC, QualType T,
1201 CXXConstructExpr(StmtClass SC, EmptyShell Empty) function in class:clang::CXXConstructExpr
1209 explicit CXXConstructExpr(EmptyShell Empty) function in class:clang::CXXConstructExpr
1210 : CXXConstructExpr(CXXConstructExprClass, Empty) {}
1212 static CXXConstructExpr *Create(const ASTContext &C, QualType T,
1283 return const_cast<CXXConstructExpr *>(this)->getArgs();
1363 CXXConstructExpr::ConstructionKind getConstructionKind() const {
1364 return ConstructsVirtualBase ? CXXConstructExpr::CK_VirtualBase
1365 : CXXConstructExpr
[all...]
/external/clang/lib/Index/
H A DIndexBody.cpp246 bool VisitCXXConstructExpr(CXXConstructExpr *E) {
/external/clang/lib/Analysis/
H A DThreadSafety.cpp1494 void VisitCXXConstructExpr(CXXConstructExpr *Exp);
1972 void BuildLockset::VisitCXXConstructExpr(CXXConstructExpr *Exp) {
1992 if (CXXConstructExpr *CE = dyn_cast_or_null<CXXConstructExpr>(E)) {

Completed in 433 milliseconds

123