summaryrefslogtreecommitdiff
path: root/lib/Support/YAMLTraits.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-09-11 00:53:07 +0000
committerRui Ueyama <ruiu@google.com>2013-09-11 00:53:07 +0000
commite9cf283e081cb68f0276aa4b893f290b9c26a0c7 (patch)
tree7ee3812cd40bc194edc4e4b81afa42116b66ba3d /lib/Support/YAMLTraits.cpp
parent7dfa4bc4716aaa34cc7c6226fd00675899263e9d (diff)
downloadllvm-e9cf283e081cb68f0276aa4b893f290b9c26a0c7.tar.gz
llvm-e9cf283e081cb68f0276aa4b893f290b9c26a0c7.tar.bz2
llvm-e9cf283e081cb68f0276aa4b893f290b9c26a0c7.tar.xz
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190472 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/YAMLTraits.cpp')
-rw-r--r--lib/Support/YAMLTraits.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Support/YAMLTraits.cpp b/lib/Support/YAMLTraits.cpp
index 1a6adbf559..d0e4b1b902 100644
--- a/lib/Support/YAMLTraits.cpp
+++ b/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);
}