HomeSort by relevance Sort by last modified time
    Searched refs:DRE (Results 1 - 25 of 37) sorted by null

1 2

  /external/clang/lib/ARCMigrate/
TransGCCalls.cpp 53 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) {
54 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) {
63 DRE->getSourceRange());
64 TA.replace(DRE->getSourceRange(), "CFBridgingRelease");
68 "receives in ARC", DRE->getLocation(),
69 DRE->getSourceRange());
TransUnbridgedCasts.cpp 322 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
323 if (ImplicitParamDecl *IPD = dyn_cast<ImplicitParamDecl>(DRE->getDecl()))
Transforms.cpp 138 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
139 return DRE->getDecl()->getDeclContext()->isFileContext() &&
140 DRE->getDecl()->getLinkage() == ExternalLinkage;
  /external/clang/test/SemaTemplate/
template-id-printing.cpp 17 namespace DRE {
23 // CHECK: DRE::foo<int>;
24 DRE::foo<int>;
25 // CHECK: DRE::template foo<int>;
26 DRE::template foo<int>;
27 // CHECK: DRE::foo<int>();
28 DRE::foo<int>();
29 // CHECK: DRE::template foo<int>();
30 DRE::template foo<int>();
33 } // namespace DRE
    [all...]
  /external/clang/lib/CodeGen/
CGCUDARuntime.cpp 41 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) {
42 TargetDecl = DRE->getDecl();
CGDecl.cpp 405 DeclRefExpr DRE(const_cast<VarDecl*>(&Var), false,
407 llvm::Value *value = CGF.EmitLoadOfScalar(CGF.EmitDeclRefLValue(&DRE));
422 DeclRefExpr DRE(const_cast<VarDecl*>(&Var), false,
426 llvm::Value *Addr = CGF.EmitDeclRefLValue(&DRE).getAddress();
    [all...]
CGExprAgg.cpp 689 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->getLHS()))
690 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()))
    [all...]
CGClass.cpp     [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
IteratorsChecker.cpp 287 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ME->getBase());
288 if (!DRE)
291 if (getTemplateKind(DRE->getType()) != VectorKind)
294 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl());
315 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(rexp)) {
316 if (getTemplateKind(DRE->getType()) != VectorIteratorKind)
319 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl());
381 const DeclRefExpr *DRE = getDeclRefExpr(E);
382 if (!DRE)
384 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())
    [all...]
DeadStoresChecker.cpp 299 if (const DeclRefExpr *DRE =
301 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) {
MacOSKeychainAPIChecker.cpp 174 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) {
175 const ValueDecl *VD = DRE->getDecl();
GenericTaintChecker.cpp 36 void checkPostStmt(const DeclRefExpr *DRE, CheckerContext &C) const;
  /external/clang/lib/Sema/
AnalysisBasedWarnings.cpp 461 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) {
478 if (!alwaysReportSelfInit && DRE == Initializer->IgnoreParenImpCasts())
481 ContainsReference CR(S.Context, DRE);
486 S.Diag(DRE->getLocStart(),
488 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange();
490 S.Diag(DRE->getLocStart(), diag::warn_uninit_var)
491 << VD->getDeclName() << DRE->getSourceRange();
494 S.Diag(DRE->getLocStart(), diag::warn_maybe_uninit_var)
495 << VD->getDeclName() << DRE->getSourceRange();
    [all...]
SemaChecking.cpp 491 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
610 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
620 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic)
631 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr)
636 Diag(DRE->getLocStart(), diag::err_atomic_op_bitwise_needs_atomic_int)
643 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr)
651 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_trivial_copy)
670 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership)
813 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
814 FunctionDecl *FDecl = cast<FunctionDecl>(DRE->getDecl())
    [all...]
SemaTemplate.cpp     [all...]
SemaType.cpp     [all...]
SemaExpr.cpp     [all...]
SemaTemplateDeduction.cpp 143 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
144 return dyn_cast<NonTypeTemplateParmDecl>(DRE->getDecl());
    [all...]
SemaDecl.cpp     [all...]
  /external/clang/lib/Rewrite/
RewriteModernObjC.cpp 342 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
    [all...]
RewriteObjC.cpp 324 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
    [all...]
  /external/clang/lib/Analysis/
ThreadSafety.cpp 98 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Exp)) {
99 NamedDecl *ND = cast<NamedDecl>(DRE->getDecl()->getCanonicalDecl());
637 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(LHSExp)) {
638 ValueDecl *VDec = DRE->getDecl();
    [all...]
  /external/clang/lib/AST/
ItaniumMangle.cpp     [all...]
Expr.cpp 883 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE))
884 return DRE->getDecl();
    [all...]
StmtPrinter.cpp     [all...]

Completed in 237 milliseconds

1 2