Displaying 2 results from an estimated 2 matches for "b83c06c5".
2014 Sep 04
4
[LLVMdev] Conditions that cause Clang refuse inlining a function
Hi,
I want to have some functions in my code inline so I use the *inline *
keyword:
*inline void foo() {}*
On some functions the compiler inlines the function but it fails to do so
on other functions and thus I get a linkage error:
*error: undefined reference to 'foo'*
What are the conditions that make the compiler refuse inline?
Thanks,
David
p.s. I know that there are ways to pass
2014 Sep 04
2
[LLVMdev] Conditions that cause Clang refuse inlining a function
...>
>
>
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140904/b83c06c5/attachment.html>