diff options
author | Rui Ueyama <ruiu@google.com> | 2013-09-11 00:53:07 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-09-11 00:53:07 +0000 |
commit | 38dfffa89131ac0d96a7637289928596a9fc83fa (patch) | |
tree | 8d2bb18b1be289c333d073c711ce655e679c899b /llvm/lib/Support/YAMLTraits.cpp | |
parent | e0cbb294cb3ea0a2251d0d98b221ea0840e1d63f (diff) | |
download | bcm5719-llvm-38dfffa89131ac0d96a7637289928596a9fc83fa.tar.gz bcm5719-llvm-38dfffa89131ac0d96a7637289928596a9fc83fa.zip |
Remove trailing whitespace
llvm-svn: 190472
Diffstat (limited to 'llvm/lib/Support/YAMLTraits.cpp')
-rw-r--r-- | llvm/lib/Support/YAMLTraits.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/Support/YAMLTraits.cpp b/llvm/lib/Support/YAMLTraits.cpp index 1a6adbf559b..d0e4b1b902d 100644 --- a/llvm/lib/Support/YAMLTraits.cpp +++ b/llvm/lib/Support/YAMLTraits.cpp @@ -40,15 +40,14 @@ void IO::setContext(void *Context) { // Input //===----------------------------------------------------------------------===// -Input::Input(StringRef InputContent, void *Ctxt) - : IO(Ctxt), +Input::Input(StringRef InputContent, void *Ctxt) + : IO(Ctxt), Strm(new Stream(InputContent, SrcMgr)), CurrentNode(NULL) { DocIterator = Strm->begin(); } Input::~Input() { - } error_code Input::error() { @@ -550,9 +549,9 @@ bool Output::canElideEmptySequence() { // if the key/value is the only thing in the map and the map is used in // a sequence. This detects if the this sequence is the first key/value // in map that itself is embedded in a sequnce. - if (StateStack.size() < 2) + if (StateStack.size() < 2) return true; - if (StateStack.back() != inMapFirstKey) + if (StateStack.back() != inMapFirstKey) return true; return (StateStack[StateStack.size()-2] != inSeq); } |