diff options
Diffstat (limited to 'include/flang/Frontend/VerifyDiagnosticConsumer.h')
-rw-r--r-- | include/flang/Frontend/VerifyDiagnosticConsumer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/flang/Frontend/VerifyDiagnosticConsumer.h b/include/flang/Frontend/VerifyDiagnosticConsumer.h index e669198c8b..ec062870d2 100644 --- a/include/flang/Frontend/VerifyDiagnosticConsumer.h +++ b/include/flang/Frontend/VerifyDiagnosticConsumer.h @@ -13,7 +13,6 @@ #include "flang/Basic/Diagnostic.h" #include "flang/Parse/Lexer.h" #include "llvm/ADT/DenseMap.h" -#include "llvm/ADT/OwningPtr.h" #include "llvm/ADT/PointerIntPair.h" #include "llvm/ADT/STLExtras.h" #include <climits> @@ -203,7 +202,7 @@ private: DiagnosticsEngine &Diags; DiagnosticClient *PrimaryClient; bool OwnsPrimaryClient; - llvm::OwningPtr<TextDiagnosticBuffer> Buffer; + std::unique_ptr<TextDiagnosticBuffer> Buffer; const Lexer *CurrentPreprocessor; const LangOptions *LangOpts; const llvm::SourceMgr *SrcManager; |