[PATCH] D18584: Complete support for C++ Core Guidelines Type.6: Always initialize a member variable.
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 23 08:07:30 PDT 2016
chapuni added a subscriber: chapuni.
chapuni added a comment.
This had been failing. Fixed in r267290.
See also http://bb.pgr.jp/builders/msbuild-llvmclang-x64-msc19-DA/builds/349
================
Comment at: clang-tools-extra/trunk/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp:120
@@ -119,3 @@
- }
- Stream.flush();
- // The initializer list is created, replace leading comma with colon.
----------------
raw_string_ostream cannot be assumed as unbuffered, nor would be flushed by the destructor before Code copied to return value.
Repository:
rL LLVM
http://reviews.llvm.org/D18584
More information about the cfe-commits
mailing list