summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2012-07-13 12:55:23 +0000
committerAlexander Kornienko <alexfh@google.com>2012-07-13 12:55:23 +0000
commit73221f5624ab42b32936a9991f4cb430c96e4ace (patch)
tree0a0b60062745ac37114deee72f9b525c60d8c788 /llvm
parent04f5eacaf431f0e9c1edb5d7ce1802069c6af481 (diff)
downloadbcm5719-llvm-73221f5624ab42b32936a9991f4cb430c96e4ace.tar.gz
bcm5719-llvm-73221f5624ab42b32936a9991f4cb430c96e4ace.zip
Initializers for some fields were missing in Option::Option
llvm-svn: 160170
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/CommandLine.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h
index 40c43000167..ae1570da9c4 100644
--- a/llvm/include/llvm/Support/CommandLine.h
+++ b/llvm/include/llvm/Support/CommandLine.h
@@ -217,11 +217,11 @@ public:
void setMiscFlag(enum MiscFlags M) { Misc |= M; }
void setPosition(unsigned pos) { Position = pos; }
protected:
- explicit Option(enum NumOccurrencesFlag OccurrencesFlag,
+ explicit Option(enum NumOccurrencesFlag OccurrencesFlag,
enum OptionHidden Hidden)
- : NumOccurrences(0), Occurrences(OccurrencesFlag), HiddenFlag(Hidden),
- Formatting(NormalFormatting), Position(0),
- AdditionalVals(0), NextRegistered(0),
+ : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0),
+ HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0),
+ Position(0), AdditionalVals(0), NextRegistered(0),
ArgStr(""), HelpStr(""), ValueStr("") {
}
OpenPOWER on IntegriCloud