HomeSort by: relevance | last modified time | path
    Searched defs:DRE (Results 1 - 16 of 16) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransProtectedScope.cpp 183 DeclRefExpr *DRE = LocalRefs[i];
184 if (isInRange(DRE->getDecl()->getLocation(), info.Range) &&
185 !isInRange(DRE->getLocation(), info.Range))
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
UninitializedValues.cpp 252 if (const auto *DRE =
254 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl()))
256 return FindVarResult(VD, DRE);
297 Class get(const DeclRefExpr *DRE) const {
299 = Classification.find(DRE);
303 const auto *VD = dyn_cast<VarDecl>(DRE->getDecl());
317 const auto *DRE =
319 if (DRE && DRE->getDecl() == VD)
320 return DRE;
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaCast.cpp 2067 auto *DRE = dyn_cast<DeclRefExpr>(Src);
2068 if (!DRE)
2070 auto *FD = dyn_cast<FunctionDecl>(DRE->getDecl());
SemaTemplate.cpp 632 if (auto *DRE = dyn_cast<DeclRefExpr>(TemplateName.get())) {
633 NameInfo = DRE->getNameInfo();
634 SS.Adopt(DRE->getQualifierLoc());
636 Found = DRE->getFoundDecl();
4131 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg.getAsExpr());
4132 if (!DRE || !DRE->getDecl())
4135 dyn_cast<NonTypeTemplateParmDecl>(DRE->getDecl());
6497 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg))
6498 Entity = DRE->getDecl()
    [all...]
SemaDecl.cpp 7756 auto *DRE = dyn_cast<DeclRefExpr>(E);
7757 if (!DRE)
7759 const NamedDecl *D = cast<NamedDecl>(DRE->getDecl()->getCanonicalDecl());
11369 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Base);
11370 if (!DRE || DRE->getDecl() != OrigDecl)
11397 HandleDeclRefExpr(DRE);
11406 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(E)) {
11407 HandleDeclRefExpr(DRE);
11452 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Base)
    [all...]
SemaDeclAttr.cpp 632 if (const auto *DRE = dyn_cast<DeclRefExpr>(UOp->getSubExpr()))
633 if (DRE->getDecl()->isCXXInstanceMember())
634 ArgTy = DRE->getDecl()->getType();
984 bool VisitDeclRefExpr(DeclRefExpr *DRE) {
985 if (const auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl()))
3202 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) {
3203 if (DRE->hasQualifier())
3205 FD = dyn_cast<FunctionDecl>(DRE->getDecl());
3206 NI = DRE->getNameInfo();
5492 auto *DRE = dyn_cast<DeclRefExpr>(AL.getArgAsExpr(0))
    [all...]
SemaChecking.cpp 792 auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
794 << DRE->getDecl()->getIdentifier();
1974 auto *DRE = dyn_cast<DeclRefExpr>(TheCall->getArg(0)->IgnoreImpCasts());
1975 if (!DRE)
1977 auto *D = DRE->getDecl();
2339 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
2357 Diag(DRE->getBeginLoc(), diag::err_atomic_builtin_must_be_pointer)
2374 Diag(DRE->getBeginLoc(), diag::ext_typecheck_convert_discards_qualifiers)
2391 Diag(DRE->getBeginLoc(), diag::err_atomic_builtin_must_be_pointer_intfltptr)
2399 Diag(DRE->getBeginLoc(), diag::err_atomic_exclusive_builtin_pointer_size
    [all...]
SemaExpr.cpp 498 if (auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()))
499 if (auto *FD = dyn_cast<FunctionDecl>(DRE->getDecl()))
1961 auto *DRE = dyn_cast<DeclRefExpr>(VD->getInit());
1962 if (!DRE)
1964 auto *Referee = dyn_cast<VarDecl>(DRE->getDecl());
4284 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Inner)) {
4285 D = DRE->getDecl();
6480 if (auto *DRE = dyn_cast<DeclRefExpr>(NakedFn)) {
6481 NDecl = DRE->getDecl();
6494 nullptr, DRE->isNonOdrUse())
    [all...]
TreeTransform.h 715 ParenExpr *PE, DependentScopeDeclRefExpr *DRE, bool IsAddressOfOperand,
10346 if (DependentScopeDeclRefExpr *DRE = dyn_cast<DependentScopeDeclRefExpr>(E))
10347 return getDerived().TransformDependentScopeDeclRefExpr(DRE, true, nullptr);
10520 if (auto *DRE =
10523 PE, DRE, false, &RecoveryTSI);
12400 ParenExpr *PE, DependentScopeDeclRefExpr *DRE, bool AddrTaken,
12403 DRE, AddrTaken, RecoveryTSI);
12410 if (!getDerived().AlwaysRebuild() && NewDRE.get() == DRE)
13253 ExprResult DRE = getSema().BuildDeclRefExpr(
13257 if (DRE.isInvalid()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
Expr.cpp 1433 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE))
1434 return DRE->getDecl();
2695 if (auto *DRE = dyn_cast<DeclRefExpr>(SubE))
2696 if (auto *VD = dyn_cast<VarDecl>(DRE->getDecl()))
3827 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E);
3828 if (!DRE)
3831 const ImplicitParamDecl *Param = dyn_cast<ImplicitParamDecl>(DRE->getDecl());
3907 if (auto *DRE = dyn_cast<DeclRefExpr>(E))
3908 if (auto *BD = dyn_cast<BindingDecl>(DRE->getDecl()))
3918 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)
    [all...]
ItaniumMangle.cpp 4841 const DependentScopeDeclRefExpr *DRE = cast<DependentScopeDeclRefExpr>(E);
4842 mangleUnresolvedName(DRE->getQualifier(), DRE->getDeclName(),
4843 DRE->getTemplateArgs(), DRE->getNumTemplateArgs(),
5357 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) {
5358 const ValueDecl *D = DRE->getDecl();
StmtPrinter.cpp 1036 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) {
1037 if (const auto *PD = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) {
1039 DRE->getBeginLoc().isInvalid())
1832 const auto *DRE = cast<DeclRefExpr>(Node->getCallee()->IgnoreImpCasts());
1834 cast<FunctionDecl>(DRE->getDecl())->getTemplateSpecializationArgs();
1839 if (!DRE->hadMultipleCandidates())
1840 if (const auto *TD = dyn_cast<TemplateDecl>(DRE->getDecl()))
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGObjC.cpp 1693 DeclRefExpr DRE(getContext(), Self,
1696 return EmitLoadOfScalar(EmitDeclRefLValue(&DRE), SourceLocation());
2920 auto *DRE = const_cast<DeclRefExpr *>(decl_expr);
2921 if (CodeGenFunction::ConstantEmission constant = CGF.tryEmitAsConstant(DRE))
2922 return TryEmitResult(CGF.emitScalarConstant(constant, DRE),
CGStmtOpenMP.cpp 88 DeclRefExpr DRE(
93 InlinedShareds.addPrivate(VD, [&CGF, &DRE]() -> Address {
94 return CGF.EmitLValue(&DRE).getAddress(CGF);
262 DeclRefExpr DRE(CGF.getContext(), const_cast<VarDecl *>(VD),
268 InlinedShareds.addPrivate(VD, [&CGF, &DRE]() -> Address {
269 return CGF.EmitLValue(&DRE).getAddress(CGF);
293 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), IsCaptured,
295 return EmitLValue(&DRE);
839 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD),
845 ConstantEmission CE = tryEmitAsConstant(&DRE);
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 391 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
2103 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType,
2110 DRE, nullptr, VK_RValue, FPOptionsOverride());
2590 DeclRefExpr *DRE = new (Context)
2593 const_cast<ASTContext &>(*Context), DRE, UO_AddrOf,
2594 Context->getPointerType(DRE->getType()), VK_RValue, OK_Ordinary,
2679 DeclRefExpr *DRE = new (Context) DeclRefExpr(
2683 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE);
2800 DeclRefExpr *DRE = new (Context) DeclRefExpr(
2804 Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE);
    [all...]
RewriteObjC.cpp 319 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
2020 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType,
2027 DRE, nullptr, VK_RValue, FPOptionsOverride());
2517 DeclRefExpr *DRE = new (Context)
2520 const_cast<ASTContext &>(*Context), DRE, UO_AddrOf,
2521 Context->getPointerType(DRE->getType()), VK_RValue, OK_Ordinary,
2710 DeclRefExpr *DRE = new (Context)
2714 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue,
2806 DeclRefExpr *DRE = new (Context)
2810 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue
    [all...]

Completed in 120 milliseconds