Skip to content

Commit 5272f5d

Browse files
committed
class declaration instead of class definition, per PR feedback
1 parent 74fba79 commit 5272f5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/docs/InterfaceExportAnnotations.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ Classes, Structs, and Unions
101101
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102102

103103
Classes, structs, and unions can be annotated with ``LLVM_ABI`` at their
104-
definition, but this option is generally discouraged. Annotating the entire
105-
definition exports unnecessary symbols, such as private functions, vtables, and
104+
declaration, but this option is generally discouraged. Annotating the entire
105+
class exports unnecessary symbols, such as private functions, vtables, and
106106
type information. Instead, ``LLVM_ABI`` should be applied only to public and
107107
protected method declarations without a body in the header, including
108108
constructors and destructors.

0 commit comments

Comments
 (0)