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

References

tools/clang/lib/Sema/SemaChecking.cpp
12225   if (!E)
12229   if (E->getExprLoc().isMacroID()) {
12231     if (IsInAnyMacroBody(SM, E->getExprLoc()) ||
12235   E = E->IgnoreImpCasts();
12235   E = E->IgnoreImpCasts();
12239   if (isa<CXXThisExpr>(E)) {
12242     Diag(E->getExprLoc(), DiagID) << E->getSourceRange() << Range << IsEqual;
12242     Diag(E->getExprLoc(), DiagID) << E->getSourceRange() << Range << IsEqual;
12248   if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) {
12252     E = UO->getSubExpr();
12259     PartialDiagnostic PD = PDiag(DiagID) << E->getSourceRange() << Range
12261     if (CheckForReference(*this, E, PD)) {
12270     E->printPretty(S, nullptr, getPrintingPolicy());
12273     Diag(E->getExprLoc(), DiagID) << IsParam << S.str()
12274       << E->getSourceRange() << Range << IsEqual;
12279   if (auto *Call = dyn_cast<CallExpr>(E->IgnoreParenImpCasts())) {
12290   if (DeclRefExpr *R = dyn_cast<DeclRefExpr>(E)) {
12292   } else if (MemberExpr *M = dyn_cast<MemberExpr>(E)) {
12350   E->printPretty(S, nullptr, getPrintingPolicy());
12367   Diag(E->getExprLoc(), DiagID) << DiagType << S.str() << E->getSourceRange()
12367   Diag(E->getExprLoc(), DiagID) << DiagType << S.str() << E->getSourceRange()
12374   Diag(E->getExprLoc(), diag::note_function_warning_silence)
12375       << FixItHint::CreateInsertion(E->getBeginLoc(), "&");
12380   tryExprAsCall(*E, ReturnType, NonTemplateOverloads);
12403   Diag(E->getExprLoc(), diag::note_function_to_function_call)
12404       << FixItHint::CreateInsertion(getLocForEndOfToken(E->getEndLoc()), "()");