/external/clang/lib/Sema/ |
H A D | SemaLookup.cpp | 1185 } else if (VarDecl *VD = dyn_cast<VarDecl>(Entity)) { 1187 if (MemberSpecializationInfo *MSInfo = VD->getMemberSpecializationInfo()) 1188 Entity = getInstantiatedFrom(VD, MSInfo); 4519 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) 4520 return VD->getDefinition();
|
H A D | SemaAccess.cpp | 1106 if (VarDecl *VD = dyn_cast<VarDecl>(D)) 1107 PrevDecl = VD->getPreviousDecl();
|
H A D | SemaChecking.cpp | 2650 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { 2666 if (const Expr *Init = VD->getAnyInitializer()) { 2694 if (const ParmVarDecl *PV = dyn_cast<ParmVarDecl>(VD)) { 5176 VarDecl *VD = cast<VarDecl>(refVars[i]->getDecl()); local 5182 S.Diag(VD->getLocation(), diag::note_ref_var_local_bind) 5183 << VD->getDeclName() << range; 9092 /// \param VD Declaration of an identifier that appears in a type tag. 9096 const ValueDecl **VD, uint64_t *MagicValue) { 9115 *VD = DRE->getDecl(); 9181 const ValueDecl *VD local 9095 FindTypeTagExpr(const Expr *TypeExpr, const ASTContext &Ctx, const ValueDecl **VD, uint64_t *MagicValue) argument [all...] |
H A D | SemaInit.cpp | 6560 VarDecl *VD = cast<VarDecl>(Entity.getDecl()); 6561 if (VD->getInit() || VD->getLocEnd().isMacroID()) 6564 QualType VariableTy = VD->getType().getCanonicalType(); 6565 SourceLocation Loc = S.getLocForEndOfToken(VD->getLocEnd()); 6569 << VD << FixItHint::CreateInsertion(Loc, Init);
|
H A D | SemaCodeComplete.cpp | 1076 if (const ValueDecl *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) 1077 if (VD->getType()->isIntegralOrEnumerationType()) 4071 ValueDecl *VD = dyn_cast_or_null<ValueDecl>(D); local 4072 if (!VD) { 4077 CodeCompleteExpression(S, VD->getType());
|
H A D | SemaType.cpp | 5512 if (const ValueDecl *VD = dyn_cast<ValueDecl>(DRE->getDecl())) 5513 return VD->getType();
|
H A D | TreeTransform.h | 1733 ValueDecl *VD, 1741 return getSema().BuildDeclarationNameExpr(SS, NameInfo, VD); 1732 RebuildDeclRefExpr(NestedNameSpecifierLoc QualifierLoc, ValueDecl *VD, const DeclarationNameInfo &NameInfo, TemplateArgumentListInfo *TemplateArgs) argument
|
/external/clang/lib/AST/ |
H A D | RecordLayoutBuilder.cpp | 2998 uint64_t ASTContext::getFieldOffset(const ValueDecl *VD) const { 3000 if (const FieldDecl *FD = dyn_cast<FieldDecl>(VD)) { 3003 const IndirectFieldDecl *IFD = cast<IndirectFieldDecl>(VD);
|
H A D | Expr.cpp | 226 // (VD) C++ [temp.dep.constexpr]p2: 230 // (VD) - a name declared with a dependent type, 255 // (VD) - the name of a non-type template parameter, 262 // (VD) - a constant with integral or enumeration type and is 264 // (VD) - a constant with literal type and is initialized with an 266 // (VD) - FIXME: Missing from the standard: 282 // (VD) - FIXME: Missing from the standard: 297 // (VD) - FIXME: Missing from the standard: 2358 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { 2359 if (VD [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 2006 CodeGenFunction::getByRefValueLLVMField(const ValueDecl *VD) const { 2007 assert(ByRefValueInfo.count(VD) && "Did not find value!"); 2009 return ByRefValueInfo.find(VD)->second;
|
H A D | CGExprScalar.cpp | 98 const ValueDecl *VD = DRE->getDecl(); local 100 if (VD->getType()->isReferenceType()) { 102 dyn_cast<TypedefType>(VD->getType().getNonReferenceType())) 107 if (isa<ParmVarDecl>(VD)) 110 AVAttr = VD->getAttr<AlignValueAttr>();
|
H A D | MicrosoftCXXABI.cpp | 280 LValue EmitThreadLocalVarDeclLValue(CodeGenFunction &CGF, const VarDecl *VD, 1938 static void emitGlobalDtorWithTLRegDtor(CodeGenFunction &CGF, const VarDecl &VD, argument 1942 llvm::Constant *DtorStub = CGF.createAtExitStub(VD, Dtor, Addr); 2012 const VarDecl *VD, 2014 CGF.CGM.ErrorUnsupported(VD, "thread wrappers"); 2011 EmitThreadLocalVarDeclLValue(CodeGenFunction &CGF, const VarDecl *VD, QualType LValType) argument
|
H A D | TargetInfo.cpp | 6951 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { 6952 if (VD->getLanguageLinkage() != CLanguageLinkage) 6954 QualType QT = VD->getType().getCanonicalType();
|
/external/clang/tools/libclang/ |
H A D | CIndex.cpp | 4653 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { 4655 Loc = VD->getLocation(); 4786 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { 4788 R.setBegin(VD->getLocation()); 4825 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { 4827 R.setBegin(VD->getLocation()); 6503 } else if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { 6504 sc = VD->getStorageClass();
|
/external/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersTest.cpp | 686 auto VD = internal::Matcher<VarDecl>(Name).dynCastTo<Decl>(); local 688 // Matching VD first should not make a cache hit for RD. 690 decl(hasDescendant(VD), hasDescendant(RD)))); 692 decl(hasDescendant(RD), hasDescendant(VD)))); 693 // Not matching RD first should not make a cache hit for VD either. 695 decl(anyOf(hasDescendant(RD), hasDescendant(VD)))));
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyTIL.h | 387 void setClangDecl(const clang::ValueDecl *VD) { Cvdecl = VD; } argument
|
/external/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 1578 auto VD = ReadDeclAs<ValueDecl>(Record, Idx); local 1580 E->setExtendingDecl(VD, ManglingNumber);
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 3164 bool isCopyElisionCandidate(QualType ReturnType, const VarDecl *VD, 3971 void FinalizeVarWithDestructor(VarDecl *VD, const RecordType *DeclInitType); 7406 bool IsOpenMPCapturedVar(VarDecl *VD);
|
/external/clang/include/clang/AST/ |
H A D | Decl.h | 1247 /// static data member VD. 1248 void setInstantiationOfStaticDataMember(VarDecl *VD,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeDAG.cpp | 3109 const Value *VD = cast<SrcValueSDNode>(Node->getOperand(3))->getValue(); 3115 MachinePointerInfo(VD), false, false, 0);
|