Displaying 2 results from an estimated 2 matches for "2bcvht".
Did you mean:
2bct
2018 Jun 26
2
How to force an unused function declaration in clang
It does, when the function has a body. When it doesn't, it ignores
<https://godbolt.org/g/2BCvht>. The body might be provided later on in the
toolchain via linking a library.
Regards,
Soham Sinha
PhD Student, Department of Computer Science
Boston University
On Tue, Jun 26, 2018 at 10:25 AM Hans Wennborg <hans at chromium.org> wrote:
> It works for me:
>
> https://godbolt....
2018 Jun 26
2
How to force an unused function declaration in clang
For the same reason GCC allowed the attribute. Even if I want to use/inline
a function later on in the pipeline.
Regards,
Soham Sinha
PhD Student, Department of Computer Science
Boston University
On Tue, Jun 26, 2018 at 8:30 AM mayuyu.io <admin at mayuyu.io> wrote:
> Out of curiosity, how does an unused declaration affect the emitted object
> file
>
> Zhang
>
> > 在