projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't declare all text sections at the start of the .s
[oota-llvm.git]
/
include
/
llvm
/
Support
/
YAMLTraits.h
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);
}
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,
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); }
};
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 &);
template<>
struct ScalarTraits<std::string> {
static void output(const std::string &, void*, llvm::raw_ostream &);