diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-06-17 13:59:19 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-06-17 13:59:19 +0000 |
commit | 724c21c05b1f22608d5ac125a22f46a3568ca3dc (patch) | |
tree | 80ba8808c78f04f64ff1d8b1776400aa852e41f3 /clang/lib/Driver/InputInfo.h | |
parent | afaa8f556b9d62fd6e6a0486abbc64ee9a1a4110 (diff) | |
download | bcm5719-llvm-724c21c05b1f22608d5ac125a22f46a3568ca3dc.tar.gz bcm5719-llvm-724c21c05b1f22608d5ac125a22f46a3568ca3dc.zip |
[Driver] Remove the using namespace directives from headers
This adds a bunch of llvm::opt name specifiers to all the uses of types
from that namespace.
Reviewers: espindola
Differential Revision: http://llvm-reviews.chandlerc.com/D983
llvm-svn: 184079
Diffstat (limited to 'clang/lib/Driver/InputInfo.h')
-rw-r--r-- | clang/lib/Driver/InputInfo.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/lib/Driver/InputInfo.h b/clang/lib/Driver/InputInfo.h index f42a94c986e..4eedd22a62d 100644 --- a/clang/lib/Driver/InputInfo.h +++ b/clang/lib/Driver/InputInfo.h @@ -35,7 +35,7 @@ class InputInfo { union { const char *Filename; - const Arg *InputArg; + const llvm::opt::Arg *InputArg; } Data; Class Kind; types::ID Type; @@ -50,8 +50,9 @@ public: : Kind(Filename), Type(_Type), BaseInput(_BaseInput) { Data.Filename = _Filename; } - InputInfo(const Arg *_InputArg, types::ID _Type, const char *_BaseInput) - : Kind(InputArg), Type(_Type), BaseInput(_BaseInput) { + InputInfo(const llvm::opt::Arg *_InputArg, types::ID _Type, + const char *_BaseInput) + : Kind(InputArg), Type(_Type), BaseInput(_BaseInput) { Data.InputArg = _InputArg; } @@ -65,7 +66,7 @@ public: assert(isFilename() && "Invalid accessor."); return Data.Filename; } - const Arg &getInputArg() const { + const llvm::opt::Arg &getInputArg() const { assert(isInputArg() && "Invalid accessor."); return *Data.InputArg; } |