From b8e7410b22fa573fb0078712439f343bc69208dd Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 14 Jun 2009 09:24:02 +0000 Subject: Import Clang r73340. --- docs/UsersManual.html | 44 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 10 deletions(-) (limited to 'docs/UsersManual.html') diff --git a/docs/UsersManual.html b/docs/UsersManual.html index 221e07c..65415ee 100644 --- a/docs/UsersManual.html +++ b/docs/UsersManual.html @@ -455,7 +455,7 @@ GCC.

for headers that are directly included within a source file. For example:

-  $ clang -x c-header test.h -o test.h.cth
+  $ clang -x c-header test.h -o test.h.pch
   $ cat test.c
   #include "test.h"
   $ clang test.c -o test
@@ -564,17 +564,25 @@ implemented.
 
  • clang does not support nested functions; this is a complex feature which is infrequently used, so it is unlikely to be implemented anytime soon.
  • -
  • clang does not support __builtin_apply and friends; this extension requires -complex code generator support that does not currently exist in LLVM, and there -is very little demand, so it is unlikely to be implemented anytime soon.
  • -
  • clang does not support global register variables, this is unlikely -to be implemented soon.
  • +to be implemented soon because it requires additional LLVM backend support. +
  • clang does not support static initialization of flexible array members. This appears to be a rarely used extension, but could be implemented pending user demand.
  • +
  • clang does not support __builtin_va_arg_pack/__builtin_va_arg_pack_len. +This is used rarely, but in some potentially interesting places, like the +glibc headers, so it may be implemented pending user demand. Note that +because clang pretends to be like GCC 4.2, and this extension was introduced +in 4.3, the glibc headers will not try to use this extension with clang at +the moment.
  • + +
  • clang does not support the gcc extension for forward-declaring function +parameters; this has not showed up in any real-world code yet, though, so it +might never be implemented.
  • +

    This is not a complete list; if you find an unsupported extension @@ -589,16 +597,32 @@ bug-reporting guidelines somewhere?).

    Intentionally unsupported GCC extensions

    -

    clang does not support the gcc extension that allows variable-length arrays +

    Microsoft extensions

    -- cgit v1.1