summaryrefslogtreecommitdiff
path: root/clang-plugin/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-plugin/debug.cpp')
-rw-r--r--clang-plugin/debug.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang-plugin/debug.cpp b/clang-plugin/debug.cpp
index de14658..05d2fe5 100644
--- a/clang-plugin/debug.cpp
+++ b/clang-plugin/debug.cpp
@@ -37,11 +37,7 @@ void
Debug::emit_bug_report (std::unique_ptr<BugReport> report,
CheckerContext &context)
{
- #ifndef HAVE_LLVM_3_7
- context.emitReport (report.get ());
- #else
context.emitReport (std::move (report));
- #endif
}
/* Build and emit a warning or error report about the user’s code. */