diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-20 07:06:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-20 07:06:53 +0000 |
commit | 8cc488fefb2fb04bc8d5398da29f0182f97934cf (patch) | |
tree | ac1e7addc1639bec225c9e5e8f4b04ed5d2d6fb0 /include/clang/Driver/OptTable.h | |
parent | 686775deca8b8685eb90801495880e3abdd844c2 (diff) |
add raw_ostream and Twine to LLVM.h, eliminating a ton of llvm:: qualifications.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/OptTable.h')
-rw-r--r-- | include/clang/Driver/OptTable.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/clang/Driver/OptTable.h b/include/clang/Driver/OptTable.h index 3befe1defb..abd224db44 100644 --- a/include/clang/Driver/OptTable.h +++ b/include/clang/Driver/OptTable.h @@ -10,12 +10,8 @@ #ifndef CLANG_DRIVER_OPTTABLE_H #define CLANG_DRIVER_OPTTABLE_H +#include "clang/Basic/LLVM.h" #include "clang/Driver/OptSpecifier.h" -#include <cassert> - -namespace llvm { - class raw_ostream; -} namespace clang { namespace driver { @@ -181,7 +177,7 @@ namespace options { /// \param Name - The name to use in the usage line. /// \param Title - The title to use in the usage line. /// \param ShowHidden - Whether help-hidden arguments should be shown. - void PrintHelp(llvm::raw_ostream &OS, const char *Name, + void PrintHelp(raw_ostream &OS, const char *Name, const char *Title, bool ShowHidden = false) const; }; } |