[compiler-rt] r204484 - [libsanitizer] Add descriptions for the common flags.
Alexander Potapenko
glider at google.com
Mon Mar 24 03:56:24 PDT 2014
Thanks!
On Mon, Mar 24, 2014 at 3:54 AM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
>
> 2014-03-21 21:28 GMT+04:00 Alexander Potapenko <glider at google.com>:
>
>> @@ -149,8 +184,7 @@ bool FlagInDescriptionList(const char *n
>> void AddFlagDescription(const char *name, const char *description) {
>> if (FlagInDescriptionList(name)) return;
>> FlagDescription *new_description =
>> - (FlagDescription*)allocator_for_flags.Allocate(
>> - sizeof(FlagDescription));
>> + new(allocator_for_flags) FlagDescription();
>
>
> FYI
> ../sanitizer_common/sanitizer_flags.cc(187) : warning C4345: behavior
> change: an object of POD type constructed with an initializer of the form ()
> will be default-initialized
>
> Fixed in r204597.
--
Alexander Potapenko
Software Engineer
Google Moscow
More information about the llvm-commits
mailing list