[PATCH] D42106: [analyzer] Remove the useless method declararion 'BugReporter::RemoveUnneededCalls()'.
Henry Wong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 16 07:17:11 PST 2018
MTC created this revision.
MTC added reviewers: NoQ, dcoughlin, xazax.hun.
Herald added subscribers: cfe-commits, a.sidorin, rnkovacs, szepet.
MTC retitled this revision from "[analyzer] Remove the useless method declararion 'BugReporter::RemoveUnneedCalls()'." to "[analyzer] Remove the useless method declararion 'BugReporter::RemoveUnneededCalls()'.".
MTC edited the summary of this revision.
Since a static function `static bool removeUnneededCalls(...)` is defined in BugReporter.cpp, `BugReporter::RemoveUnneededCalls()` is no longer needed.
Repository:
rC Clang
https://reviews.llvm.org/D42106
Files:
include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
Index: include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
===================================================================
--- include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
+++ include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
@@ -470,8 +470,6 @@
return true;
}
- bool RemoveUnneededCalls(PathPieces &pieces, BugReport *R);
-
void Register(BugType *BT);
/// \brief Add the given report to the set of reports tracked by BugReporter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42106.129954.patch
Type: text/x-patch
Size: 487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180116/be3270ac/attachment-0001.bin>
More information about the cfe-commits
mailing list