summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
diff options
context:
space:
mode:
authorShankar Easwaran <shankare@codeaurora.org>2014-01-27 03:09:26 +0000
committerShankar Easwaran <shankare@codeaurora.org>2014-01-27 03:09:26 +0000
commit3d8de47f76529dba40fc34d497576d9cb51330bc (patch)
tree143515f3acdefd2c6c53e2553af9b34ff120a13d /lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
parenta64ba010f040003685c507c82237dae9fd4e6f59 (diff)
downloadbcm5719-llvm-3d8de47f76529dba40fc34d497576d9cb51330bc.tar.gz
bcm5719-llvm-3d8de47f76529dba40fc34d497576d9cb51330bc.zip
Fix trailing whitespace.
llvm-svn: 200182
Diffstat (limited to 'lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp')
-rw-r--r--lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
index 6825b76bee7..fab9e9100fc 100644
--- a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
+++ b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
@@ -150,7 +150,7 @@ private:
typedef llvm::StringMap<const lld::Atom *> NameToAtom;
typedef llvm::DenseMap<const lld::Atom *, std::string> AtomToRefName;
- // Allocate a new copy of this string in _storage, so the strings
+ // Allocate a new copy of this string in _storage, so the strings
// can be freed when RefNameBuilder is destroyed.
StringRef copyString(StringRef str) {
char *s = _storage.Allocate<char>(str.size());
@@ -635,7 +635,7 @@ template <> struct MappingTraits<const lld::File *> {
return _absoluteAtoms;
}
- // Allocate a new copy of this string in _storage, so the strings
+ // Allocate a new copy of this string in _storage, so the strings
// can be freed when File is destroyed.
StringRef copyString(StringRef str) {
char *s = _storage.Allocate<char>(str.size());
@@ -659,7 +659,7 @@ template <> struct MappingTraits<const lld::File *> {
// Let any register tag handler process this.
if (info->_registry && info->_registry->handleTaggedDoc(io, file))
return;
- // If no registered handler claims this tag and there is no tag,
+ // If no registered handler claims this tag and there is no tag,
// grandfather in as "!native".
if (io.mapTag("!native", true) || io.mapTag("tag:yaml.org,2002:map"))
mappingAtoms(io, file);
@@ -890,7 +890,7 @@ template <> struct MappingTraits<const lld::DefinedAtom *> {
io.mapOptional("ref-name", keys->_refName, StringRef());
io.mapOptional("scope", keys->_scope,
DefinedAtom::scopeTranslationUnit);
- io.mapOptional("type", keys->_contentType,
+ io.mapOptional("type", keys->_contentType,
DefinedAtom::typeCode);
io.mapOptional("content", keys->_content);
io.mapOptional("size", keys->_size, (uint64_t)keys->_content.size());
OpenPOWER on IntegriCloud