HomeSort by relevance Sort by last modified time
    Searched defs:VD (Results 26 - 50 of 73) sorted by null

12 3

  /external/clang/lib/StaticAnalyzer/Core/
ExprEngineCXX.cpp 541 const VarDecl *VD = CS->getExceptionDecl();
542 if (!VD) {
548 SVal V = svalBuilder.conjureSymbolVal(CS, LCtx, VD->getType(),
551 state = state->bindLoc(state->getLValue(VD, LCtx), V);
ExprEngineC.cpp 468 const VarDecl *VD = dyn_cast_or_null<VarDecl>(*DS->decl_begin());
470 if (!VD) {
489 if (const Expr *InitEx = VD->getInit()) {
505 if (AMgr.getLangOpts().CPlusPlus && VD->getType()->isRecordType() &&
506 !VD->getType()->isReferenceType()) {
529 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true);
    [all...]
BugReporterVisitors.cpp 601 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl());
602 if (VD->getInit()) {
840 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
841 if (!VD->getType()->isReferenceType())
845 return MRMgr.getVarRegion(VD, N->getLocationContext());
    [all...]
ExprEngine.cpp     [all...]
RegionStore.cpp     [all...]
  /external/clang/include/clang/Analysis/Analyses/
ThreadSafetyCommon.h 105 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD) {}
197 VarDecl *VD = const_cast<VarDecl*>(AD.getVarDecl());
198 V.handleDestructorCall(VD, DD);
449 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD);
460 til::SExpr *getCurrentLVarDefinition(const ValueDecl *VD);
463 const ValueDecl *VD = nullptr);
464 til::SExpr *lookupVarDecl(const ValueDecl *VD);
465 til::SExpr *addVarDecl(const ValueDecl *VD, til::SExpr *E);
466 til::SExpr *updateVarDecl(const ValueDecl *VD, til::SExpr *E);
  /external/clang/lib/Analysis/
ThreadSafetyCommon.cpp 268 const ValueDecl *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl());
271 if (const ParmVarDecl *PV = dyn_cast_or_null<ParmVarDecl>(VD)) {
283 VD = FD->getParamDecl(I);
287 return new (Arena) til::LiteralPtr(VD);
312 auto *VD = getValueDeclFromSExpr(E);
313 if (VD && VD->getType()->isPointerType())
341 if (auto *VD = dyn_cast<CXXMethodDecl>(D))
342 D = getFirstVirtualDecl(VD);
474 const ValueDecl *VD = nullptr
    [all...]
UninitializedValues.cpp 36 static bool isTrackedVar(const VarDecl *vd, const DeclContext *dc) {
37 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() &&
38 !vd->isExceptionVariable() && !vd->isInitCapture() &&
39 !vd->isImplicit() && vd->getDeclContext() == dc) {
40 QualType ty = vd->getType();
72 const VarDecl *vd = *I; local
73 if (isTrackedVar(vd, &dc)
268 const VarDecl *vd; member in class:__anon6332::FindVarResult
695 const VarDecl *vd = I.getVariable(); local
    [all...]
CFG.cpp 36 if (VarDecl *VD = dyn_cast<VarDecl>(D))
37 if (Expr *Ex = VD->getInit())
257 void addVar(VarDecl *VD) {
258 Vars.push_back(VD, ctx);
590 LocalScope* addLocalScopeForVarDecl(VarDecl *VD, LocalScope* Scope = nullptr);
618 void appendAutomaticObjDtor(CFGBlock *B, VarDecl *VD, Stmt *S) {
619 B->appendAutomaticObjDtor(VD, S, cfg->getBumpVectorContext());
    [all...]
  /external/clang/test/SemaCXX/
destructor.cpp 211 struct VD: VB {};
245 VD vd; use(vd); local
274 VD* vd = new VD[4]; local
275 delete[] vd;
301 VB* vb = new VD();
305 VD* vd = new VD() local
    [all...]
  /frameworks/compile/slang/
slang_rs_export_type.cpp 184 const clang::VarDecl *VD,
212 const clang::VarDecl *VD,
218 ReportTypeError(Context, VD, TopLevelRecord,
228 ReportTypeError(Context, VD, TopLevelRecord,
234 ReportTypeError(Context, VD, TopLevelRecord,
240 if (TypeExportableHelper(ElementType, SPS, Context, VD,
261 clang::VarDecl const *VD,
285 ReportTypeError(Context, VD, T->getAsUnionType()->getDecl(),
328 if (!TypeExportableHelper(FT, SPS, Context, VD, TopLevelRecord,
348 ReportTypeError(Context, VD, TopLevelRecord
    [all...]
slang_rs_object_ref_count.cpp 459 // Body -> "rsClearObject(&VD[rsIntIter]);"
    [all...]
  /external/clang/lib/Sema/
Sema.cpp 447 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
453 if (VD->isReferenced() &&
454 VD->isUsableInConstantExpressions(SemaRef->Context))
459 const VarDecl *DeclToCheck = VD->getDefinition();
465 DeclToCheck = VD->getMostRecentDecl();
466 if (DeclToCheck != VD)
797 VarDecl *VD = (*T)->getActingDefinition();
802 if (!VD || VD->isInvalidDecl() || !Seen.insert(VD).second
    [all...]
SemaTemplateInstantiate.cpp 419 } else if (VarDecl *VD = dyn_cast<VarDecl>(D)) {
421 VD->isStaticDataMember()?
424 << VD
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
NullabilityChecker.cpp     [all...]
MallocChecker.cpp     [all...]
  /external/clang/unittests/ASTMatchers/
ASTMatchersTest.cpp 699 auto VD = internal::Matcher<VarDecl>(Name).dynCastTo<Decl>();
701 // Matching VD first should not make a cache hit for RD.
703 decl(hasDescendant(VD), hasDescendant(RD))));
705 decl(hasDescendant(RD), hasDescendant(VD))));
706 // Not matching RD first should not make a cache hit for VD either.
708 decl(anyOf(hasDescendant(RD), hasDescendant(VD)))));
    [all...]
  /external/clang/lib/AST/
ItaniumMangle.cpp 72 if (const auto *VD = dyn_cast<VarDecl>(D))
73 if (VD->isExternC())
74 return VD->getASTContext().getTranslationUnitDecl();
437 const VarDecl *VD = dyn_cast<VarDecl>(D);
438 if (VD) {
440 if (VD->isExternC())
464 else if (const VarDecl *VD = dyn_cast<VarDecl>(D))
465 mangleName(VD);
    [all...]
Decl.cpp 629 const VarDecl *VD = IFD->getVarDecl();
630 assert(VD && "Expected a VarDecl in this IndirectFieldDecl!");
631 return getLVForNamespaceScopeDecl(VD, computation);
    [all...]
  /external/clang/lib/CodeGen/
CGDecl.cpp 112 const VarDecl &VD = cast<VarDecl>(D);
113 assert(VD.isLocalVarDecl() &&
115 return EmitVarDecl(VD);
    [all...]
CodeGenFunction.cpp 836 const VarDecl *VD = *i;
842 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(VD))
845 Ty = VD->getType();
    [all...]
CGStmtOpenMP.cpp 367 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl());
382 auto Emission = EmitAutoVarAlloca(*VD);
383 auto *Init = VD->getInit();
413 EmitDecl(*VD);
415 return GetAddrOfLocalVar(VD);
440 auto VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl());
444 EmitDecl(*VD);
445 return GetAddrOfLocalVar(VD);
470 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl());
471 QualType Type = VD->getType()
    [all...]
  /external/llvm/tools/llvm-readobj/
ELFDumper.cpp 276 const Elf_Verdef *vd = reinterpret_cast<const Elf_Verdef *>(p); local
277 if (vd->vd_version != ELF::VER_DEF_CURRENT)
279 size_t index = vd->vd_ndx & ELF::VERSYM_VERSION;
282 VersionMap[index] = VersionMapEntry(vd);
283 p += vd->vd_next;
374 auto *VD = reinterpret_cast<const typename ELFO::Elf_Verdef *>(P);
377 W.printNumber("Rev", VD->vd_version);
379 W.printNumber("Flags", VD->vd_flags);
380 W.printNumber("Index", VD->vd_ndx);
381 W.printNumber("Cnt", VD->vd_cnt)
    [all...]
  /external/pcre/dist/sljit/
sljitNativeARM_64.c 56 #define VD(vd) (vd)
    [all...]
  /external/opencv3/modules/videoio/src/
cap_dshow.cpp 576 int start(int deviceID, videoDevice * VD);
1630 videoDevice * vd = *( (videoDevice **)(objPtr) ); local
    [all...]

Completed in 661 milliseconds

12 3