HomeSort by relevance Sort by last modified time
    Searched defs:VD (Results 1 - 25 of 148) sorted by null

1 2 3 4 5 6

  /external/clang/lib/AST/
StmtIterator.cpp 44 if (VarDecl* VD = dyn_cast<VarDecl>(*DGI))
45 if (VD->hasInit())
71 if (VarDecl* VD = dyn_cast<VarDecl>(D)) {
72 if (const VariableArrayType* VAPtr = FindVA(VD->getType().getTypePtr())) {
77 if (VD->getInit())
112 VarDecl* VD = cast<VarDecl>(*DGI);
113 return *VD->getInitAddress();
OpenMPClause.cpp 574 const ValueDecl *VD = D ? cast<ValueDecl>(D->getCanonicalDecl()) : nullptr;
575 if (Cache.count(VD))
578 Cache.insert(VD);
  /external/clang/lib/StaticAnalyzer/Checkers/
UndefinedAssignmentChecker.cpp 79 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
80 ex = VD->getInit();
UndefCapturedBlockVarChecker.cpp 38 const VarDecl *VD) {
40 if (BR->getDecl() == VD)
45 if (const DeclRefExpr *BR = FindBlockDeclRefExpr(Child, VD))
69 const VarDecl *VD = VR->getDecl();
71 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage())
74 // Get the VarRegion associated with VD in the local stack frame.
86 os << "Variable '" << VD->getName()
90 if (const Expr *Ex = FindBlockDeclRefExpr(BE->getBody(), VD))
DereferenceChecker.cpp 65 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
67 << " variable '" << VD->getName() << "')";
100 const VarDecl *VD;
102 std::tie(VD, Init) = parseAssignment(S);
103 if (VD && Init)
VLASizeChecker.cpp 85 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
86 if (!VD)
90 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(VD->getType());
169 state->getRegion(VD, LC)->getExtent(svalBuilder);
  /external/clang/lib/StaticAnalyzer/Core/
CheckerHelpers.cpp 52 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
53 if (VD->isStaticLocal())
78 const VarDecl *VD = nullptr;
86 VD = dyn_cast_or_null<VarDecl>(DE->getDecl());
91 VD = dyn_cast_or_null<VarDecl>(PD->getSingleDecl());
92 RHS = VD->getAnyInitializer();
95 return std::make_pair(VD, RHS);
  /external/clang/test/CodeGenCXX/
mangle-alias-template.cpp 20 Vec<double> VD;
21 g(VD);
  /external/clang/test/Layout/
ms-x86-member-pointers.cpp 10 struct VD { char a; int V::*mp; };
32 // CHECK-NEXT: 0 | struct VD
75 sizeof(VD) +
  /frameworks/compile/slang/
slang_rs_ast_replace.cpp 93 clang::VarDecl* VD;
94 if ((VD = llvm::dyn_cast<clang::VarDecl>(D))) {
95 if (matchesExpr(VD->getInit())) {
96 VD->setInit(mNewExpr);
slang_rs_context.cpp 80 bool RSContext::processExportVar(const clang::VarDecl *VD) {
81 slangAssert(!VD->getName().empty() && "Variable name should not be empty");
83 RSExportType *ET = RSExportType::CreateFromDecl(this, VD);
87 RSExportVar *EV = new RSExportVar(this, VD, ET);
238 clang::VarDecl* VD = llvm::dyn_cast<clang::VarDecl>(D);
240 if (VD->getFormalLinkage() == clang::ExternalLinkage) {
241 clang::QualType QT = VD->getTypeSourceInfo()->getType();
242 if (QT.isConstQualified() && !VD->hasInit()) {
243 if (Slang::IsLocInRSHeaderFile(VD->getLocation(),
250 DiagEngine->Report(VD->getLocation(), DiagEngine->getCustomDiagID
    [all...]
  /external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp 39 bool PseudoConstantAnalysis::isPseudoConstant(const VarDecl *VD) {
41 if (!VD->hasLocalStorage() && !VD->isStaticLocal())
51 return !NonConstants->count(VD);
55 bool PseudoConstantAnalysis::wasReferenced(const VarDecl *VD) {
63 return UsedVars->count(VD);
122 const VarDecl *VD = dyn_cast<VarDecl>(LHSDecl);
124 if (VD)
125 NonConstants->insert(VD);
156 const VarDecl *VD = dyn_cast<VarDecl>(D)
    [all...]
  /external/clang/test/CodeGenCUDA/Inputs/
cuda-initializers.h 70 struct VD {
71 __device__ virtual ~VD() {}
  /external/clang/test/SemaCUDA/Inputs/
cuda-initializers.h 70 struct VD {
71 __device__ virtual ~VD() {}
  /external/clang/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 175 const VarDecl *VD = R->getDecl();
176 std::string Name = VD->getQualifiedNameAsString();
177 if (isa<ParmVarDecl>(VD))
179 else if (VD->hasLocalStorage())
181 else if (VD->isStaticLocal())
183 else if (VD->hasGlobalStorage())
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 183 const VarDecl *VD = R->getDecl();
184 std::string Name = VD->getQualifiedNameAsString();
185 if (isa<ParmVarDecl>(VD))
187 else if (VD->hasAttr<BlocksAttr>())
189 else if (VD->hasLocalStorage())
191 else if (VD->isStaticLocal())
193 else if (VD->hasGlobalStorage())
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 183 const VarDecl *VD = R->getDecl();
184 std::string Name = VD->getQualifiedNameAsString();
185 if (isa<ParmVarDecl>(VD))
187 else if (VD->hasAttr<BlocksAttr>())
189 else if (VD->hasLocalStorage())
191 else if (VD->isStaticLocal())
193 else if (VD->hasGlobalStorage())
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 183 const VarDecl *VD = R->getDecl();
184 std::string Name = VD->getQualifiedNameAsString();
185 if (isa<ParmVarDecl>(VD))
187 else if (VD->hasAttr<BlocksAttr>())
189 else if (VD->hasLocalStorage())
191 else if (VD->isStaticLocal())
193 else if (VD->hasGlobalStorage())
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 183 const VarDecl *VD = R->getDecl();
184 std::string Name = VD->getQualifiedNameAsString();
185 if (isa<ParmVarDecl>(VD))
187 else if (VD->hasAttr<BlocksAttr>())
189 else if (VD->hasLocalStorage())
191 else if (VD->isStaticLocal())
193 else if (VD->hasGlobalStorage())
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 183 const VarDecl *VD = R->getDecl();
184 std::string Name = VD->getQualifiedNameAsString();
185 if (isa<ParmVarDecl>(VD))
187 else if (VD->hasAttr<BlocksAttr>())
189 else if (VD->hasLocalStorage())
191 else if (VD->isStaticLocal())
193 else if (VD->hasGlobalStorage())
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 183 const VarDecl *VD = R->getDecl();
184 std::string Name = VD->getQualifiedNameAsString();
185 if (isa<ParmVarDecl>(VD))
187 else if (VD->hasAttr<BlocksAttr>())
189 else if (VD->hasLocalStorage())
191 else if (VD->isStaticLocal())
193 else if (VD->hasGlobalStorage())
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 183 const VarDecl *VD = R->getDecl();
184 std::string Name = VD->getQualifiedNameAsString();
185 if (isa<ParmVarDecl>(VD))
187 else if (VD->hasAttr<BlocksAttr>())
189 else if (VD->hasLocalStorage())
191 else if (VD->isStaticLocal())
193 else if (VD->hasGlobalStorage())
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 183 const VarDecl *VD = R->getDecl();
184 std::string Name = VD->getQualifiedNameAsString();
185 if (isa<ParmVarDecl>(VD))
187 else if (VD->hasAttr<BlocksAttr>())
189 else if (VD->hasLocalStorage())
191 else if (VD->isStaticLocal())
193 else if (VD->hasGlobalStorage())
  /prebuilts/clang/host/linux-x86/clang-4393122/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 183 const VarDecl *VD = R->getDecl();
184 std::string Name = VD->getQualifiedNameAsString();
185 if (isa<ParmVarDecl>(VD))
187 else if (VD->hasAttr<BlocksAttr>())
189 else if (VD->hasLocalStorage())
191 else if (VD->isStaticLocal())
193 else if (VD->hasGlobalStorage())
  /prebuilts/clang/host/linux-x86/clang-4479392/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 183 const VarDecl *VD = R->getDecl();
184 std::string Name = VD->getQualifiedNameAsString();
185 if (isa<ParmVarDecl>(VD))
187 else if (VD->hasAttr<BlocksAttr>())
189 else if (VD->hasLocalStorage())
191 else if (VD->isStaticLocal())
193 else if (VD->hasGlobalStorage())

Completed in 496 milliseconds

1 2 3 4 5 6