aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-09-05 21:17:32 +0000
committerRui Ueyama <ruiu@google.com>2017-09-05 21:17:32 +0000
commit2ea27186b4bac2a124aaef7788707d3b48c719a8 (patch)
tree87f54254991a4b8fef1266ff78d42745cf098ecc /clang/lib/Lex/ModuleMap.cpp
parent8b80b328d1c0103b62a3af2b97dd392d22e2bc85 (diff)
downloadllvm-2ea27186b4bac2a124aaef7788707d3b48c719a8.zip
llvm-2ea27186b4bac2a124aaef7788707d3b48c719a8.tar.gz
llvm-2ea27186b4bac2a124aaef7788707d3b48c719a8.tar.bz2
Use raw_string_ostream::str to get a result string.
Looks like raw_string_ostream is buffered. If we do not call `flush` nor `str`, it is not guaranteed that a result string has all characters that were written to it. It wasn't failing on buildbots, but I could reproduce the issue on my Windows workstation. llvm-svn: 312577
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions