Loading clang/docs/ReleaseNotes.rst +10 −7 Original line number Diff line number Diff line Loading @@ -36,10 +36,10 @@ sections with improvements to Clang's support for those languages. Major New Features ------------------ - Clang will no longer pass --build-id by default to the linker. In modern - Clang will no longer pass ``--build-id`` by default to the linker. In modern linkers that is a relatively expensive option. It can be passed explicitly with -Wl,--build-id. To have clang always pass it, build clang with -DENABLE_LINKER_BUILD_ID. with ``-Wl,--build-id``. To have clang always pass it, build clang with ``-DENABLE_LINKER_BUILD_ID``. - On Itanium ABI targets, attribute abi_tag is now supported for compatibility with GCC. Clang's implementation of abi_tag is mostly compatible with GCC ABI version 10. Loading @@ -51,12 +51,15 @@ Clang's diagnostics are constantly being improved to catch more issues, explain them more clearly, and provide more accurate source information about them. The improvements since the 3.8 release include: - -Wcomma is a new warning to show most uses of the builtin comma operator. - -Wfloat-conversion has two new sub-warnings to give finer grain control for - ``-Wcomma`` is a new warning to show most uses of the builtin comma operator. - ``-Wfloat-conversion`` has two new sub-warnings to give finer grain control for floating point to integer conversion warnings. - -Wfloat-overflow-conversion detects when a constant floating point value - ``-Wfloat-overflow-conversion`` detects when a constant floating point value is converted to an integer type and will overflow the target type. - -Wfloat-zero-conversion detects when a non-zero floating point value is - ``-Wfloat-zero-conversion`` detects when a non-zero floating point value is converted to a zero integer value. Attribute Changes in Clang Loading Loading
clang/docs/ReleaseNotes.rst +10 −7 Original line number Diff line number Diff line Loading @@ -36,10 +36,10 @@ sections with improvements to Clang's support for those languages. Major New Features ------------------ - Clang will no longer pass --build-id by default to the linker. In modern - Clang will no longer pass ``--build-id`` by default to the linker. In modern linkers that is a relatively expensive option. It can be passed explicitly with -Wl,--build-id. To have clang always pass it, build clang with -DENABLE_LINKER_BUILD_ID. with ``-Wl,--build-id``. To have clang always pass it, build clang with ``-DENABLE_LINKER_BUILD_ID``. - On Itanium ABI targets, attribute abi_tag is now supported for compatibility with GCC. Clang's implementation of abi_tag is mostly compatible with GCC ABI version 10. Loading @@ -51,12 +51,15 @@ Clang's diagnostics are constantly being improved to catch more issues, explain them more clearly, and provide more accurate source information about them. The improvements since the 3.8 release include: - -Wcomma is a new warning to show most uses of the builtin comma operator. - -Wfloat-conversion has two new sub-warnings to give finer grain control for - ``-Wcomma`` is a new warning to show most uses of the builtin comma operator. - ``-Wfloat-conversion`` has two new sub-warnings to give finer grain control for floating point to integer conversion warnings. - -Wfloat-overflow-conversion detects when a constant floating point value - ``-Wfloat-overflow-conversion`` detects when a constant floating point value is converted to an integer type and will overflow the target type. - -Wfloat-zero-conversion detects when a non-zero floating point value is - ``-Wfloat-zero-conversion`` detects when a non-zero floating point value is converted to a zero integer value. Attribute Changes in Clang Loading