summaryrefslogtreecommitdiffstats
path: root/clang/include
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include')
-rw-r--r--clang/include/clang/Frontend/CompilerInstance.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Frontend/CompilerInstance.h b/clang/include/clang/Frontend/CompilerInstance.h
index 7194057462c..89397d39457 100644
--- a/clang/include/clang/Frontend/CompilerInstance.h
+++ b/clang/include/clang/Frontend/CompilerInstance.h
@@ -460,7 +460,7 @@ public:
return *TheSema;
}
- std::unique_ptr<Sema> takeSema() { return std::move(TheSema); }
+ std::unique_ptr<Sema> takeSema();
void resetAndLeakSema() { BuryPointer(TheSema.release()); }
/// }
OpenPOWER on IntegriCloud