diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-03-16 18:06:57 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-03-16 18:06:57 +0000 |
commit | 7610ba7d241256653b7225245d439646cc1450e5 (patch) | |
tree | c73da92152987391b02c0b25aed242e4c61c7b12 /lib/Option/Arg.cpp | |
parent | ed7120e7fd5d0e647d51c2fbac867d3bd42d77da (diff) |
Fix uses of reserved identifiers starting with an underscore followed by an uppercase letter
This covers essentially all of llvm's headers and libs. One or two weird
cases I wasn't sure were worth/appropriate to fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Option/Arg.cpp')
-rw-r--r-- | lib/Option/Arg.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/lib/Option/Arg.cpp b/lib/Option/Arg.cpp index af632d6922b..ac000736c1f 100644 --- a/lib/Option/Arg.cpp +++ b/lib/Option/Arg.cpp @@ -17,22 +17,21 @@ using namespace llvm; using namespace llvm::opt; -Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, const Arg *_BaseArg) - : Opt(_Opt), BaseArg(_BaseArg), Spelling(S), Index(_Index), - Claimed(false), OwnsValues(false) { -} - -Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, - const char *Value0, const Arg *_BaseArg) - : Opt(_Opt), BaseArg(_BaseArg), Spelling(S), Index(_Index), - Claimed(false), OwnsValues(false) { +Arg::Arg(const Option Opt, StringRef S, unsigned Index, const Arg *BaseArg) + : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), + OwnsValues(false) {} + +Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, + const Arg *BaseArg) + : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), + OwnsValues(false) { Values.push_back(Value0); } -Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, - const char *Value0, const char *Value1, const Arg *_BaseArg) - : Opt(_Opt), BaseArg(_BaseArg), Spelling(S), Index(_Index), - Claimed(false), OwnsValues(false) { +Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, + const char *Value1, const Arg *BaseArg) + : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), + OwnsValues(false) { Values.push_back(Value0); Values.push_back(Value1); } |