Home | History | Annotate | Download | only in Checkers

Lines Matching defs:BR

117   BugReporter &BR;
120 StringRefCheckerVisitor(const Decl *declWithIssue, BugReporter &br)
121 : BR(br), DeclWithIssue(declWithIssue) {}
135 static void CheckStringRefAssignedTemporary(const Decl *D, BugReporter &BR) {
136 StringRefCheckerVisitor walker(D, BR);
180 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager());
181 BR.EmitBasicReport(DeclWithIssue, desc, "LLVM Conventions", desc,
217 BugReporter &BR;
219 ASTFieldVisitor(const CXXRecordDecl *root, BugReporter &br)
220 : Root(root), BR(br) {}
227 static void CheckASTMemory(const CXXRecordDecl *R, BugReporter &BR) {
233 ASTFieldVisitor walker(R, BR);
285 FieldChain.front(), BR.getSourceManager());
286 BR.EmitBasicReport(Root, "AST node allocates heap memory", "LLVM Conventions",
300 BugReporter &BR) const {
302 CheckASTMemory(R, BR);
306 BugReporter &BR) const {
307 CheckStringRefAssignedTemporary(D, BR);