Displaying 2 results from an estimated 2 matches for "3qzqah".
2018 Jun 26
2
How to force an unused function declaration in clang
...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.org/g/3QzqAH
>
> Can you share an example?
>
> On Tue, Jun 26, 2018 at 5:21 PM, Soham Sinha via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > For the same reason GCC allowed the attribute. Even if I want to
> use/inline
> > a function later on in the pipeline.
> >...
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
>
> > 在