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

Jyotsna Verma jverma at codeaurora.org
Wed Apr 24 11:17:49 PDT 2013


Thanks! I will remove the test.

 

-Jyotsna

 

--

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation

 

From: Douglas Gregor [mailto:dgregor at apple.com] 
Sent: Wednesday, April 24, 2013 1:15 PM
To: Rafael EspĂ­ndola
Cc: Jyotsna Verma; llvm cfe
Subject: Re: [PATCH] Fix SemaTemplate/example-dynarray.cpp to use explicit
declaration of malloc, free and assert.

 

 

On Apr 23, 2013, at 9:01 AM, Rafael EspĂ­ndola <rafael.espindola at gmail.com>
wrote:





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?

 

This test can simply be removed. It's not adding any value.

 

          - Doug





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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130424/521a5cba/attachment.html>


More information about the cfe-commits mailing list