From ddf68ff6fa9dbf9f1224726c81204b9af81cb85f Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Tue, 5 Apr 2011 04:31:31 +0000
Subject: docs/UsersManual.html: Fix some inconsistent HTML elements.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128876 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/UsersManual.html | 43 ++++++++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 19 deletions(-)
(limited to 'docs/UsersManual.html')
diff --git a/docs/UsersManual.html b/docs/UsersManual.html
index 06d530ecdd..2b7b148975 100644
--- a/docs/UsersManual.html
+++ b/docs/UsersManual.html
@@ -32,7 +32,7 @@ td {
Language and Target-Independent Features
+
C Language Features
@@ -205,7 +206,7 @@ diagnostics that it generates.
diagnostic.
This option, which defaults to on, controls whether or not Clang prints the
column number of a diagnostic. For example, when this is enabled, Clang will
-print something like:
+print something like:
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -223,7 +224,7 @@ column number.
source file/line/column information in diagnostic.
This option, which defaults to on, controls whether or not Clang prints the
filename, line number and column number of a diagnostic. For example,
-when this is enabled, Clang will print something like:
+when this is enabled, Clang will print something like:
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -240,7 +241,7 @@ when this is enabled, Clang will print something like:
line and ranges from source code in diagnostic.
This option, which defaults to on, controls whether or not Clang prints the
source line, source ranges, and caret when emitting a diagnostic. For example,
-when this is enabled, Clang will print something like:
+when this is enabled, Clang will print something like:
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -277,7 +278,7 @@ Enable [-Woption] information in diagnostic line.
This option, which defaults to on,
controls whether or not Clang prints the associated warning group option name when outputting
-a warning diagnostic. For example, in this output:
+a warning diagnostic. For example, in this output:
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -299,7 +300,7 @@ Enable printing category information in diagnostic line.
controls whether or not Clang prints the category associated with a diagnostic
when emitting it. Each diagnostic may or many not have an associated category,
if it has one, it is listed in the diagnostic categorization field of the
-diagnostic line (in the []'s).
+diagnostic line (in the []'s).
For example, a format string warning will produce these three renditions
based on the setting of this option:
@@ -322,7 +323,7 @@ hundreds or thousands of them.
Enable "FixIt" information in the diagnostics output.
This option, which defaults to on, controls whether or not Clang prints the
information on how to fix a specific diagnostic underneath it when it knows.
-For example, in this output:
+For example, in this output:
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -345,7 +346,7 @@ Print machine parsable information about source ranges.
information about source ranges in a machine parsable format after the
file/line/column number information. The information is a simple sequence of
brace enclosed ranges, where each range lists the start and end line/column
-locations. For example, in this output:
+locations. For example, in this output:
exprs.c:47:15:{47:8-47:14}{47:17-47:24}: error: invalid operands to binary expression ('int *' and '_Complex float')
@@ -395,7 +396,7 @@ quotes(as "\"") and non-printable characters (as octal
This option, which defaults to on, enables warnings about extra tokens at
-the end of preprocessor directives. For example:
+the end of preprocessor directives. For example:
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -415,7 +416,7 @@ by commenting them out.
Warn about unqualified uses of a member template whose name resolves
to another template at the location of the use.
This option, which defaults to on, enables a warning in the
-following code:
+following code:
template<typename T> struct set{};
@@ -439,7 +440,7 @@ an extension.
an unusable copy constructor when binding a reference to a temporary.
This option, which defaults to on, enables warnings about binding a
reference to a temporary when the temporary doesn't have a usable copy
-constructor. For example:
+constructor. For example:
struct NonCopyable {
@@ -491,7 +492,6 @@ and gives you fine-grain control over which information is printed. Clang has
the ability to print this information, and these are the options that control
it:
-
- A file/line/column indicator that shows exactly where the diagnostic occurs
in your code [-fshow-column,
- A machine-parsable representation of the ranges involved (off by
default) [-fdiagnostics-print-source-range-info].
-
+
For more information please see Formatting of
Diagnostics.
@@ -525,14 +525,13 @@ Diagnostics.
All diagnostics are mapped into one of these 5 classes:
-
- Ignored
- Note
- Warning
- Error
- Fatal
-
+
Diagnostic Categories
@@ -742,6 +741,7 @@ likely to affect PCH files that reference a large number of headers.
Clang provides a number of ways to control code generation. The options are listed below.
+
- -fcatch-undefined-behavior: Turn
on runtime code generation to check for undefined behavior.
@@ -749,7 +749,7 @@ on runtime code generation to check for undefined behavior.
adds runtime checks for undefined runtime behavior. If a check fails,
__builtin_trap() is used to indicate failure.
The checks are:
-
+
- Subscripting where the static type of one operand is a variable
which is decayed from an array type and the other operand is
greater than the size of the array or less than zero.
@@ -759,7 +759,7 @@ The checks are:
- When llvm implements more __builtin_object_size support, reads and
writes for objects that __builtin_object_size indicates we aren't
accessing valid memory. Bit-fields and vectors are not yet checked.
-
+
-fno-assume-sane-operator-new:
@@ -767,6 +767,7 @@ Don't assume that the C++'s new operator is sane.
This option tells the compiler to do not assume that C++'s global new
operator will always return a pointer that does not
alias any other pointer when the function returns.
+
C Language Features
@@ -924,6 +925,7 @@ support is incomplete; enabling Microsoft extensions will silently drop
certain constructs (including __declspec and Microsoft-style asm statements).
+
- clang allows setting _MSC_VER with -fmsc-version=. It defaults to 1300 which
is the same as Visual C/C++ 2003. Any number is supported and can greatly affect
what Windows SDK and c++stdlib headers clang can compile. This option will be
@@ -937,6 +939,7 @@ record members can be declared using user defined typedefs.
controlling record layout. GCC also contains support for this feature,
however where MSVC and GCC are incompatible clang follows the MSVC
definition.
+
Target-Specific Features and Limitations
@@ -955,7 +958,9 @@ definition.
(Mac OS/X), Linux, FreeBSD, and Dragonfly BSD: it has been tested to correctly
compile many large C, C++, Objective-C, and Objective-C++ codebases.
-On x86_64-mingw32, passing i128(by value) is incompatible to Microsoft x64 calling conversion.
You might need to tweak WinX86_64ABIInfo::classify() in lib/CodeGen/TargetInfo.cpp.
+On x86_64-mingw32, passing i128(by value) is incompatible to Microsoft x64
+calling conversion. You might need to tweak WinX86_64ABIInfo::classify()
+in lib/CodeGen/TargetInfo.cpp.
ARM
--
cgit v1.2.3