summaryrefslogtreecommitdiffstats
path: root/lib/Driver/InputInfo.h
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-06-17 13:59:19 +0000
committerReid Kleckner <reid@kleckner.net>2013-06-17 13:59:19 +0000
commitdd0b3c4c72464af92e2c27dd5a67e29f91ba7b28 (patch)
tree4d3e17300019cc1745f0c453ae51859464b0f810 /lib/Driver/InputInfo.h
parentd71b15badeecdc049440103ef044f9cdf5e1359c (diff)
[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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184079 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/InputInfo.h')
-rw-r--r--lib/Driver/InputInfo.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Driver/InputInfo.h b/lib/Driver/InputInfo.h
index f42a94c986..4eedd22a62 100644
--- a/lib/Driver/InputInfo.h
+++ b/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;
}