X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FSupport%2FYAMLTraits.h;h=78829f862123b43ab4eb8202ec009761eb11dcc9;hb=d80979b25d4065c91be0ca5cf318d27ce663cd6f;hp=6b1fe72d0f6fea26abd868e7bcc7ce75efe40304;hpb=cf990541a0235e9561d8b471b1be2942a53d1e2a;p=oota-llvm.git diff --git a/include/llvm/Support/YAMLTraits.h b/include/llvm/Support/YAMLTraits.h index 6b1fe72d0f6..78829f86212 100644 --- 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 void processKeyWithDefault(const char *Key, Optional &Val, @@ -717,7 +717,7 @@ struct ScalarTraits { static StringRef input(StringRef, void*, StringRef &); static bool mustQuote(StringRef S) { return needsQuotes(S); } }; - + template<> struct ScalarTraits { static void output(const std::string &, void*, llvm::raw_ostream &);