Displaying 3 results from an estimated 3 matches for "isinlinedefinitionexternallyvisible".
2009 Dec 04
2
[LLVMdev] r72619
...ely fashion and
> let poor Bill get his project building :)
Clang has a specific function to determine whether an inline function
should be externally visible (so that it will have strong linkage) or
not (meaning that it should have available_externally linkage). It's
FunctionDecl::isInlineDefinitionExternallyVisible() in tools/clang/lib/
AST/Decl.cpp. That covers the C case and GNU inline semantics in C++.
For C++, it's easier to distinguish: inline functions have external
definitions unless they have an explicit template instantiation
declaration (C++0x parlance for "extern template"); see...
2009 Dec 04
0
[LLVMdev] r72619
>>
> Only "_Z11dummysymbolv" should be there. Here's Doug's explanation of
> why this should be so:
>
> Here's what it *looks* like is happening, and where the FE is probably
> getting it wrong. First of all, the constructor in question is defined
> outside of the basic_string class template as a non-inline definition:
>
>
2009 Dec 04
4
[LLVMdev] r72619
On Dec 4, 2009, at 12:40 PM, Duncan Sands wrote:
> Hi Bill,
>
>> Here's what I get with TOT compiling with -Os. The orig.ll is what
>> I get before r72619. Notice that orig.ll has only one function in
>> it. Both the one you sent and duncan.ll have more than one
>> function. It's not the fact that more than one function is showing
>> up, but