[PATCH] Fix SemaTemplate/example-dynarray.cpp to use explicit declaration of malloc, free and assert.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Apr 23 09:01:54 PDT 2013


This test looks really odd. It seems designed to be an execution test
(has a main function, uses assert), but we only produce IL from it. It
has been odd since it was added in r72437.

Douglas, what was the intent of this test? Should it be moved to the
llvm-testsuite where it will actually be executed?

On 23 April 2013 11:44, Jyotsna Verma <jverma at codeaurora.org> wrote:
> The attached patch modifies SemaTemplate/example-dynarray.cpp test to have
> explicit declaration for malloc, free and assert functions and removes its
> dependency on <stdlib.h> and <assert.h>.
>
>
>
> Please let me know if the patch is okay to commit.
>
>
>
> Thanks,
>
> Jyotsna
>
>
>
> --
>
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
> The Linux Foundation
>
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list