[LLVMdev] [PATCH] Coding standards: don't use ``inline`` when defining a function in a class definition

Dmitri Gribenko gribozavr at gmail.com
Tue Jan 29 15:08:17 PST 2013


This came up on IRC in context of r173842, and it was suggested to
codify this unspoken rule.

Current practice is not to use 'inline' in:

  class Foo {
    inline void bar() {
      // ...


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coding-standards-inline-v1.patch
Type: application/octet-stream
Size: 843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130130/46ba8f64/attachment.obj>

More information about the llvm-dev mailing list