reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/Expr.h
 1227     return DeclarationNameInfo(getDecl()->getDeclName(), getLocation(), DNLoc);
tools/clang/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
   65     return visit(Expr->getFoundDecl(), Expr->getLocation());
tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp
  263       return checkRef(E->getLocation(), E->getDecl()->getLocation());
tools/clang/lib/ARCMigrate/TransGCCalls.cpp
   61                          "receives in ARC", DRE->getLocation(),
tools/clang/lib/ARCMigrate/TransProtectedScope.cpp
  184           !isInRange(DRE->getLocation(), info.Range))
tools/clang/lib/AST/ASTImporter.cpp
 6253       E->getLocation(), E->getType());
tools/clang/lib/AST/ExprConstant.cpp
13972         return ICEDiag(IK_NotICE, cast<DeclRefExpr>(E)->getLocation());
13979           return ICEDiag(IK_NotICE, cast<DeclRefExpr>(E)->getLocation());
13987           return ICEDiag(IK_NotICE, cast<DeclRefExpr>(E)->getLocation());
tools/clang/lib/CodeGen/CGExpr.cpp
 1475   auto C = ConstantEmitter(*this).emitAbstract(refExpr->getLocation(),
 2536           E->getLocation(), *VD->evaluateValue(), VD->getType());
 2595           !E->getLocation().isValid()) &&
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 4705                                           DRE->getLocation(), false);
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 3874                                           DRE->getLocation(), false);
tools/clang/lib/Index/IndexBody.cpp
  139     return IndexCtx.handleReference(E->getDecl(), E->getLocation(),
tools/clang/lib/Sema/SemaChecking.cpp
 5367       /*enclosing*/ false, DRE->getLocation(), Context.BuiltinFnTy,
tools/clang/lib/Sema/SemaExpr.cpp
12657       LHSDeclRef->getLocation().isMacroID() ||
12658       RHSDeclRef->getLocation().isMacroID())
15034         return SemaRef.Diag(E->getLocation(),
16669                          DRE->getLocation(), *this);
16908   MarkExprReferenced(*this, E->getLocation(), E->getDecl(), E, OdrUse);
17828     loc = ref->getLocation();
tools/clang/lib/Sema/SemaExprMember.cpp
 1444           S.Diag(DE->getLocation(), diag::err_arc_weak_ivar_access);
tools/clang/lib/Sema/SemaStmt.cpp
 1736     S.Diag(LastDRE->getLocation(), diag::warn_redundant_loop_iteration)
 1738     S.Diag(LoopDRE->getLocation(), diag::note_loop_iteration_here)
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
 1285                                               E->getLocation(),
 1293           E->getLocation(), Arg);
 1299   return transformNonTypeTemplateParmRef(NTTP, E->getLocation(), Arg);
tools/clang/lib/Sema/SemaTemplateVariadic.cpp
   95         addUnexpanded(E->getDecl(), E->getLocation());
tools/clang/lib/Sema/SemaType.cpp
 8355           QualType T = S.getCapturedDeclRefType(Var, DRE->getLocation());
tools/clang/lib/Sema/TreeTransform.h
 9268     = cast_or_null<ValueDecl>(getDerived().TransformDecl(E->getLocation(),
 9276         getDerived().TransformDecl(E->getLocation(), E->getFoundDecl()));
tools/clang/lib/Serialization/ASTWriterStmt.cpp
  514   Record.AddSourceLocation(E->getLocation());
tools/clang/lib/Tooling/Transformer/RangeSelector.cpp
  209       SourceLocation L = E->getLocation();
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
  219     if (SM.isBeforeInTranslationUnit(Ref->getLocation(),
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
  200   auto EndLoc = Lexer::getLocForEndOfToken(CopyArgument.getLocation(), 0, SM,
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  201       addToken(Ref->getLocation(), Ref->getDecl());
tools/clang/tools/libclang/CIndex.cpp
 4390     return DRE->getLocation();
tools/clang/unittests/Tooling/LookupTest.cpp
   47         Callee->getQualifier(), Callee->getLocation(),
tools/clang/unittests/Tooling/RecursiveASTVisitorTests/CXXMethodDecl.cpp
   25     Match("declref", D->getLocation());
tools/clang/unittests/Tooling/RecursiveASTVisitorTests/DeclRefExpr.cpp
   26     Match(Reference->getNameInfo().getAsString(), Reference->getLocation());