search for: d13925

Displaying 5 results from an estimated 5 matches for "d13925".

2016 Jul 13
3
[cfe-dev] [RFC] __attribute__((internal_linkage))
...olders; auto b = std::bind(&std::string::empty, _1); } On Mon, Nov 9, 2015 at 1:58 PM, Evgenii Stepanov via llvm-dev < llvm-dev at lists.llvm.org> wrote: > In fact, during the code review we've decided against allowing this > attribute on namespaces: http://reviews.llvEm.org/D13925 > <http://reviews.llvm.org/D13925> > > The intended use of this attribute in libc++ is on functions that > programs are not allowed to take address of, like all methods of > standard library classes. Visibility("hidden") attribute (which we are > replacing with int...
2015 Nov 09
3
[cfe-dev] [RFC] __attribute__((internal_linkage))
...;> > // implementation here >> > } >> > >> > where "static" does not mean a static class member, but makes the >> declaration local to the translation unit. C-style "static". >> > >> > The patch in http://reviews.llvm.org/D13925 (waiting for review, >> > btw!) >> supports this attribute on classes and namespaces, with this syntax: >> > >> > namespace __attribute__((internal_linkage)) { } >> > >> > >> > On Fri, Oct 23, 2015 at 9:03 AM, Steven Stewart-Gallus via cf...
2015 Oct 29
2
[cfe-dev] [RFC] __attribute__((internal_linkage))
...t. The proposed attribute is a rough equivalent of static void foo::do_method(void) { // implementation here } where "static" does not mean a static class member, but makes the declaration local to the translation unit. C-style "static". The patch in http://reviews.llvm.org/D13925 (waiting for review, btw!) supports this attribute on classes and namespaces, with this syntax: namespace __attribute__((internal_linkage)) { } On Fri, Oct 23, 2015 at 9:03 AM, Steven Stewart-Gallus via cfe-dev <cfe-dev at lists.llvm.org> wrote: > Hello, > > Can I ask for some cla...
2016 Jul 13
3
[cfe-dev] [RFC] __attribute__((internal_linkage))
...gt; } >> >> On Mon, Nov 9, 2015 at 1:58 PM, Evgenii Stepanov via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >>> >>> In fact, during the code review we've decided against allowing this >>> attribute on namespaces: http://reviews.llvEm.org/D13925 >>> >>> >>> The intended use of this attribute in libc++ is on functions that >>> programs are not allowed to take address of, like all methods of >>> standard library classes. Visibility("hidden") attribute (which we are >>> replaci...
2015 Nov 02
2
[cfe-dev] [RFC] __attribute__((internal_linkage))
...method(void) > > { > > // implementation here > > } > > > > where "static" does not mean a static class member, but makes the > declaration local to the translation unit. C-style "static". > > > > The patch in http://reviews.llvm.org/D13925 (waiting for review, btw!) > supports this attribute on classes and namespaces, with this syntax: > > > > namespace __attribute__((internal_linkage)) { } > > > > > > On Fri, Oct 23, 2015 at 9:03 AM, Steven Stewart-Gallus via cfe-dev <cfe- > dev at lists.llvm.o...