Teach raw_ostream to accept SmallString.
authorYaron Keren <yaron.keren@gmail.com>
Tue, 10 Mar 2015 07:33:23 +0000 (07:33 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Tue, 10 Mar 2015 07:33:23 +0000 (07:33 +0000)
commit09fb7c6e7a173a1a8bdb7a53438b0c75250491b8
treeb26517281f61c7217a0e6aef1dfe85a2242592fe
parent62b63b197dc7f1c7eb80f3b15ede1626ec637ffb
Teach raw_ostream to accept SmallString.

Saves adding .str() call to any raw_ostream << SmallString usage
and a small step towards making .str() consistent in the ADTs by
removing one of the SmallString::str() use cases, discussion at

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141013/240026.html

I'll update the Phabricator patch http://reviews.llvm.org/D6372
for review of the Twine SmallString support, it's more complex
than this one.

llvm-svn: 231763
clang/lib/AST/ItaniumMangle.cpp
clang/lib/Lex/PPMacroExpansion.cpp
clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
clang/tools/libclang/CIndex.cpp
clang/utils/TableGen/ClangAttrEmitter.cpp
llvm/include/llvm/Support/raw_ostream.h
llvm/lib/IR/AsmWriter.cpp
llvm/lib/Support/APInt.cpp
llvm/tools/bugpoint/Miscompilation.cpp
llvm/utils/TableGen/AsmWriterEmitter.cpp
llvm/utils/TableGen/DAGISelMatcherEmitter.cpp