Lines Matching refs:BRC

262     BugReporterContext &BRC) {
265 BRC.getSourceManager(),
266 BRC.getASTContext().getLangOpts());
329 BugReporterVisitor::getDefaultEndPath(const BugReporterContext &BRC,
825 BugReporterContext &BRC,
834 const SourceManager &SMgr = BRC.getSourceManager();
837 std::string MacroName = std::string(getMacroName(*Loc, BRC));
839 if (!BugLoc.isMacroID() || getMacroName(BugLoc, BRC) != MacroName)
1025 BugReporterContext &BRC,
1132 PathDiagnosticLocation L(Ret, BRC.getSourceManager(), CalleeSFC);
1152 BugReporterContext &BRC,
1169 ProgramStateManager &StateMgr = BRC.getStateManager();
1199 BugReporterContext &BRC,
1203 return visitNodeInitial(N, BRC, BR);
1205 return visitNodeMaybeUnsuppress(N, BRC, BR);
1399 BugReporterContext &BRC,
1459 ProgramStateManager &StateMgr = BRC.getStateManager();
1512 const StoreManager &SM = BRC.getStateManager().getStoreManager();
1558 BRC.getStateManager().iterBindings(NodeWithoutBinding->getState(), FB);
1616 L = PathDiagnosticLocation(InitE, BRC.getSourceManager(),
1620 L = PathDiagnosticLocation::create(P, BRC.getSourceManager());
1652 const ExplodedNode *N, BugReporterContext &BRC, PathSensitiveBugReport &) {
1691 PathDiagnosticLocation::create(P, BRC.getSourceManager());
1729 BugReporterContext &BRC,
1789 getMacroName(BugLoc, BRC) != getMacroName(TerminatorLoc, BRC)) {
1829 BugReporterContext &BRC,
1837 BugReporterContext &BRC) {
1839 if (BRC.getAnalyzerOptions().AnalysisDiagOpt == PD_NONE ||
1840 !BRC.getAnalyzerOptions().ShouldTrackConditionsDebug)
1845 BRC.getSourceManager(), BRC.getASTContext().getLangOpts()));
1849 Cond, BRC.getSourceManager(), N->getLocationContext()),
1887 BugReporterContext &BRC,
1905 if (isAssertlikeBlock(NB, BRC.getASTContext()))
1922 return constructDebugPieceForTrackedCondition(Condition, N, BRC);
2222 NilReceiverBRVisitor::VisitNode(const ExplodedNode *N, BugReporterContext &BRC,
2253 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(),
2267 ConditionBRVisitor::VisitNode(const ExplodedNode *N, BugReporterContext &BRC,
2269 auto piece = VisitNodeImpl(N, BRC, BR);
2280 BugReporterContext &BRC,
2300 return VisitTerminator(Term, N, SrcBlock, BE->getDst(), BR, BRC);
2311 return VisitTrueTest(cast<Expr>(PS->getStmt()), BRC, BR, N, TookTrue);
2320 BugReporterContext &BRC) {
2372 return VisitTrueTest(Cond, BRC, R, N, TookTrue);
2376 ConditionBRVisitor::VisitTrueTest(const Expr *Cond, BugReporterContext &BRC,
2388 !BRC.getStateManager().haveEqualConstraints(CurrentState, PrevState) ||
2403 BRC, R, N, TookTrueTmp, IsAssuming))
2408 BRC, R, N, TookTrueTmp, IsAssuming))
2413 BRC, R, N, TookTrueTmp, IsAssuming))
2436 PathDiagnosticLocation Loc(Cond, BRC.getSourceManager(), LCtx);
2447 BugReporterContext &BRC,
2463 const SourceManager &SM = BRC.getSourceManager();
2464 const LangOptions &LO = BRC.getASTContext().getLangOpts();
2524 BRC.getSourceManager(), BRC.getASTContext().getLangOpts(), 0)
2532 const Expr *Cond, const BinaryOperator *BExpr, BugReporterContext &BRC,
2551 const bool isVarLHS = patternMatch(BExpr->getLHS(), BExpr, OutLHS, BRC, R,
2553 const bool isVarRHS = patternMatch(BExpr->getRHS(), BExpr, OutRHS, BRC, R,
2564 return VisitConditionVariable(LhsString, BExpr->getLHS(), BRC, R, N,
2616 const SourceManager &SM = BRC.getSourceManager();
2652 StringRef LhsString, const Expr *CondVarExpr, BugReporterContext &BRC,
2665 PathDiagnosticLocation Loc(CondVarExpr, BRC.getSourceManager(), LCtx);
2679 const Expr *Cond, const DeclRefExpr *DRE, BugReporterContext &BRC,
2701 PathDiagnosticLocation Loc(DRE, BRC.getSourceManager(), LCtx);
2705 PathDiagnosticLocation Loc(Cond, BRC.getSourceManager(), LCtx);
2715 const Expr *Cond, const MemberExpr *ME, BugReporterContext &BRC,
2732 Loc = PathDiagnosticLocation(ME->getMemberLoc(), BRC.getSourceManager());
2734 Loc = PathDiagnosticLocation(Cond, BRC.getSourceManager(), LCtx);
2803 BugReporterContext &BRC, const ExplodedNode *N,
2807 const AnalyzerOptions &Options = BRC.getAnalyzerOptions();
2874 const SourceManager &SM = BRC.getSourceManager();
2890 UndefOrNullArgVisitor::VisitNode(const ExplodedNode *N, BugReporterContext &BRC,
2901 CallEventManager &CEMgr = BRC.getStateManager().getCallEventManager();
2947 BugReporterContext &BRC, const ExplodedNode *EndPathNode,
2954 ASTContext &Ctx = BRC.getASTContext();
3027 BugReporterContext &BRC,
3034 if (Optional<std::string> Msg = T->generateMessage(BRC, R)) {
3036 PathDiagnosticLocation::create(PP, BRC.getSourceManager());