Lines Matching refs:BR

63   BugReporter &BR;  member in __anon7858904f0111::WalkAST
74 : BR(br), AC(ac), II_setid(), in WalkAST()
75 CheckRand(isArc4RandomAvailable(BR.getContext())), in WalkAST()
293 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
294 BR.EmitBasicReport(AC->getDecl(), filter.checkName_FloatLoopCounter, in checkLoopConditionForFloat()
323 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets()
328 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets()
329 BR.EmitBasicReport(AC->getDecl(), filter.checkName_gets, in checkCall_gets()
363 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw()
368 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw()
369 BR.EmitBasicReport(AC->getDecl(), filter.checkName_getpw, in checkCall_getpw()
404 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_mktemp()
409 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mktemp()
410 BR.EmitBasicReport(AC->getDecl(), filter.checkName_mktemp, in checkCall_mktemp()
464 if (!suffixEx->EvaluateAsInt(Result, BR.getContext())) in checkCall_mkstemp()
481 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mkstemp()
496 BR.EmitBasicReport(AC->getDecl(), filter.checkName_mkstemp, in checkCall_mkstemp()
516 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcpy()
517 BR.EmitBasicReport(AC->getDecl(), filter.checkName_strcpy, in checkCall_strcpy()
543 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_strcat()
544 BR.EmitBasicReport(AC->getDecl(), filter.checkName_strcpy, in checkCall_strcat()
576 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_strCommon()
621 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_rand()
622 BR.EmitBasicReport(AC->getDecl(), filter.checkName_rand, os1.str(), in checkCall_rand()
646 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_random()
647 BR.EmitBasicReport(AC->getDecl(), filter.checkName_rand, in checkCall_random()
666 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_vfork()
667 BR.EmitBasicReport(AC->getDecl(), filter.checkName_vfork, in checkCall_vfork()
698 II_setid[i] = &BR.getContext().Idents.get(identifiers[i]); in checkUncheckedReturnValue()
737 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkUncheckedReturnValue()
738 BR.EmitBasicReport(AC->getDecl(), filter.checkName_UncheckedReturn, os1.str(), in checkUncheckedReturnValue()
753 BugReporter &BR) const { in checkASTCodeBody()
754 WalkAST walker(BR, mgr.getAnalysisDeclContext(D), filter); in checkASTCodeBody()