diff options
Diffstat (limited to 'include/flang/Frontend')
-rw-r--r-- | include/flang/Frontend/ASTUnit.h | 4 | ||||
-rw-r--r-- | include/flang/Frontend/CompilerInstance.h | 4 | ||||
-rw-r--r-- | include/flang/Frontend/VerifyDiagnosticConsumer.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/flang/Frontend/ASTUnit.h b/include/flang/Frontend/ASTUnit.h index 31ab83d522..c3e535324c 100644 --- a/include/flang/Frontend/ASTUnit.h +++ b/include/flang/Frontend/ASTUnit.h @@ -80,8 +80,8 @@ private: /// \brief The language options used when we load an AST file. LangOptions ASTFileLangOpts; - ASTUnit(const ASTUnit &) LLVM_DELETED_FUNCTION; - void operator=(const ASTUnit &) LLVM_DELETED_FUNCTION; + ASTUnit(const ASTUnit &) = delete; + void operator=(const ASTUnit &) = delete; explicit ASTUnit(bool MainFileIsAST); diff --git a/include/flang/Frontend/CompilerInstance.h b/include/flang/Frontend/CompilerInstance.h index 948e8b336e..040c6416f2 100644 --- a/include/flang/Frontend/CompilerInstance.h +++ b/include/flang/Frontend/CompilerInstance.h @@ -127,8 +127,8 @@ class CompilerInstance { /// The list of active output files. std::list<OutputFile> OutputFiles; - CompilerInstance(const CompilerInstance &) LLVM_DELETED_FUNCTION; - void operator=(const CompilerInstance &) LLVM_DELETED_FUNCTION; + CompilerInstance(const CompilerInstance &) = delete; + void operator=(const CompilerInstance &) = delete; public: CompilerInstance(); ~CompilerInstance(); diff --git a/include/flang/Frontend/VerifyDiagnosticConsumer.h b/include/flang/Frontend/VerifyDiagnosticConsumer.h index ec062870d2..32d0cef416 100644 --- a/include/flang/Frontend/VerifyDiagnosticConsumer.h +++ b/include/flang/Frontend/VerifyDiagnosticConsumer.h @@ -171,8 +171,8 @@ public: } private: - Directive(const Directive &) LLVM_DELETED_FUNCTION; - void operator=(const Directive &) LLVM_DELETED_FUNCTION; + Directive(const Directive &) = delete; + void operator=(const Directive &) = delete; }; typedef std::vector<Directive*> DirectiveList; |