diff options
Diffstat (limited to 'include/clang/StaticAnalyzer/Core/BugReporter')
-rw-r--r-- | include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h b/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h index 7a87e47f74..74579b7b4c 100644 --- a/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h +++ b/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h @@ -457,6 +457,11 @@ public: void Register(BugType *BT); + /// \brief Suppress reports that might lead to known false positives. + /// + /// Currently this suppresses reports based on locations of bugs. + bool suppressReport(BugReport *R); + /// \brief Add the given report to the set of reports tracked by BugReporter. /// /// The reports are usually generated by the checkers. Further, they are |