diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-01-13 17:34:15 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-01-13 17:34:15 +0000 |
commit | 54d8d8479c95d10aa479a1b30448d129528be325 (patch) | |
tree | 3999b28f84d3065407477eb12e7d2d954f8b3816 /include/clang/Driver/Options.h | |
parent | 0bfbb554f7bb934a7e8e5c4143eb4502d730e0a7 (diff) | |
download | clang-54d8d8479c95d10aa479a1b30448d129528be325.tar.gz |
unique_ptrify createDriverOptTable
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Options.h')
-rw-r--r-- | include/clang/Driver/Options.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/Driver/Options.h b/include/clang/Driver/Options.h index 2716fa9ae8..e9d9000918 100644 --- a/include/clang/Driver/Options.h +++ b/include/clang/Driver/Options.h @@ -10,6 +10,8 @@ #ifndef LLVM_CLANG_DRIVER_OPTIONS_H #define LLVM_CLANG_DRIVER_OPTIONS_H +#include <memory> + namespace llvm { namespace opt { class OptTable; @@ -44,7 +46,7 @@ enum ID { }; } -llvm::opt::OptTable *createDriverOptTable(); +std::unique_ptr<llvm::opt::OptTable> createDriverOptTable(); } } |