summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-08-13 22:23:53 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-08-13 22:23:53 +0000
commit55477463d6f63572cf16a4b2284219f9905ebef1 (patch)
tree360ca929b7e9ba6954179b2740d05455f872c58d /clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
parent83b0dc639225efb5818f312e38743b9fe7e5182c (diff)
downloadbcm5719-llvm-55477463d6f63572cf16a4b2284219f9905ebef1.tar.gz
bcm5719-llvm-55477463d6f63572cf16a4b2284219f9905ebef1.zip
Wdeprecated: PathPieces are copied, make them safely implicitly copyable by removing the unnecessary user declared dtor.
llvm-svn: 244973
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp b/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
index c4900313cad..dab44c55e66 100644
--- a/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
+++ b/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
@@ -62,8 +62,6 @@ PathDiagnosticControlFlowPiece::~PathDiagnosticControlFlowPiece() {}
PathDiagnosticMacroPiece::~PathDiagnosticMacroPiece() {}
-PathPieces::~PathPieces() {}
-
void PathPieces::flattenTo(PathPieces &Primary, PathPieces &Current,
bool ShouldFlattenMacros) const {
for (PathPieces::const_iterator I = begin(), E = end(); I != E; ++I) {
OpenPOWER on IntegriCloud