summaryrefslogtreecommitdiffstats
path: root/clang/docs/UsersManual.html
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-04 18:37:52 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-04 18:37:52 +0000
commit15b86228cf1569781f85179d28899f2704d7d14c (patch)
tree6758cdc6465b6a431a84d4365c1dcf8b55c75e77 /clang/docs/UsersManual.html
parent12313e327f9b26720a4df280893f1cbc982b56a4 (diff)
downloadbcm5719-llvm-15b86228cf1569781f85179d28899f2704d7d14c.tar.gz
bcm5719-llvm-15b86228cf1569781f85179d28899f2704d7d14c.zip
Mention unsupported GCC duplicate-definition-with-inline extension.
Also, link users manual from the main web page. llvm-svn: 72878
Diffstat (limited to 'clang/docs/UsersManual.html')
-rw-r--r--clang/docs/UsersManual.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/docs/UsersManual.html b/clang/docs/UsersManual.html
index def16c1d307..e7072da9fdf 100644
--- a/clang/docs/UsersManual.html
+++ b/clang/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>
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
OpenPOWER on IntegriCloud