projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcd3c40
)
Remove trailing whitespace.
author
Alex Rosenberg
<alexr@leftfield.org>
Mon, 26 Jan 2015 17:35:56 +0000
(17:35 +0000)
committer
Alex Rosenberg
<alexr@leftfield.org>
Mon, 26 Jan 2015 17:35:56 +0000
(17:35 +0000)
Also test commit email processing by including this char: '®'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227103
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/YAMLTraits.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/YAMLTraits.h
b/include/llvm/Support/YAMLTraits.h
index 6b1fe72d0f6fea26abd868e7bcc7ce75efe40304..78829f862123b43ab4eb8202ec009761eb11dcc9 100644
(file)
--- a/
include/llvm/Support/YAMLTraits.h
+++ b/
include/llvm/Support/YAMLTraits.h
@@
-543,7
+543,7
@@
public:
void mapOptional(const char* Key, T& Val, const T& Default) {
this->processKeyWithDefault(Key, Val, Default, false);
}
-
+
private:
template <typename T>
void processKeyWithDefault(const char *Key, Optional<T> &Val,
@@
-717,7
+717,7
@@
struct ScalarTraits<StringRef> {
static StringRef input(StringRef, void*, StringRef &);
static bool mustQuote(StringRef S) { return needsQuotes(S); }
};
-
+
template<>
struct ScalarTraits<std::string> {
static void output(const std::string &, void*, llvm::raw_ostream &);