diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-04 18:37:52 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-04 18:37:52 +0000 |
commit | c5f928ca2ad4ee92c1c032f14f686e498ae995b2 (patch) | |
tree | 50361ad42ae7e264389b5d82b9e3eaa1d52166d0 /docs | |
parent | 4183335fa8bfce8dd2d910dc992dace8c5f66b0d (diff) |
Mention unsupported GCC duplicate-definition-with-inline extension.
Also, link users manual from the main web page.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/UsersManual.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/UsersManual.html b/docs/UsersManual.html index def16c1d30..e7072da9fd 100644 --- a/docs/UsersManual.html +++ b/docs/UsersManual.html @@ -600,6 +600,12 @@ in structures. This is for a few of reasons: one, it is tricky to implement, two, the extension is completely undocumented, and three, the extension appears to be very rarely used.</p> +<p>clang does not support duplicate definitions of a function where one is +inline. This complicates clients of the AST which normally can expect there is +at most one definition for each function. Source code using this feature should +be changed to define the inline and out-of-line definitions in separate +translation units.</p> + <!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = --> <h3 id="c_ms">Microsoft extensions</h3> <!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = --> |