diff options
author | Nick Kledzik <kledzik@apple.com> | 2012-05-18 18:39:06 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2012-05-18 18:39:06 +0000 |
commit | 18e2f6e94cf9dc48bfc6dfa3848971aa88e334da (patch) | |
tree | 0b2e051491692b17da3eed3dc71571ad23b72ea9 /include/llvm/Support/CommandLine.h | |
parent | 23da8a061fcadd20a2abe3afafdeed2d505acfb8 (diff) |
fix warnings when compiling with -Wshadow
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CommandLine.h')
-rw-r--r-- | include/llvm/Support/CommandLine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index c212d2d59f..40c4300016 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -217,9 +217,9 @@ public: void setMiscFlag(enum MiscFlags M) { Misc |= M; } void setPosition(unsigned pos) { Position = pos; } protected: - explicit Option(enum NumOccurrencesFlag Occurrences, + explicit Option(enum NumOccurrencesFlag OccurrencesFlag, enum OptionHidden Hidden) - : NumOccurrences(0), Occurrences(Occurrences), HiddenFlag(Hidden), + : NumOccurrences(0), Occurrences(OccurrencesFlag), HiddenFlag(Hidden), Formatting(NormalFormatting), Position(0), AdditionalVals(0), NextRegistered(0), ArgStr(""), HelpStr(""), ValueStr("") { |