aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Driver/OptSpecifier.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-02-18 23:11:09 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-02-18 23:11:09 +0000
commit9ef9b8540a608a93efaaae1d26d94e8087c30b55 (patch)
tree65cc842504af091c58e041adb7c61aa31599cd39 /include/clang/Driver/OptSpecifier.h
parent39e6ab4be93d9c5e729a578ddd9d415cd2d49872 (diff)
Use LLVM_DELETED_FUNCTION rather than '// do not implement' comments.
Also removes some redundant DNI comments on function declarations already using the macro. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175465 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/OptSpecifier.h')
-rw-r--r--include/clang/Driver/OptSpecifier.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/Driver/OptSpecifier.h b/include/clang/Driver/OptSpecifier.h
index bb1cd1740b..e683ef325b 100644
--- a/include/clang/Driver/OptSpecifier.h
+++ b/include/clang/Driver/OptSpecifier.h
@@ -10,6 +10,8 @@
#ifndef CLANG_DRIVER_OPTSPECIFIER_H
#define CLANG_DRIVER_OPTSPECIFIER_H
+#include "llvm/Support/Compiler.h"
+
namespace clang {
namespace driver {
class Option;
@@ -19,7 +21,7 @@ namespace driver {
unsigned ID;
private:
- explicit OptSpecifier(bool); // DO NOT IMPLEMENT
+ explicit OptSpecifier(bool) LLVM_DELETED_FUNCTION;
public:
OptSpecifier() : ID(0) {}