mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 15:03:59 +00:00
disable patch
This commit is contained in:
parent
da7745a4f6
commit
34d37439a8
52
debian/patches/fix-doc-rst.diff
vendored
52
debian/patches/fix-doc-rst.diff
vendored
@ -1,52 +0,0 @@
|
|||||||
Index: llvm-toolchain-snapshot_3.9~svn260815/clang-tools-extra/docs/clang-tidy/checks/readability-simplify-boolean-expr.rst
|
|
||||||
===================================================================
|
|
||||||
--- llvm-toolchain-snapshot_3.9~svn260815.orig/clang-tools-extra/docs/clang-tidy/checks/readability-simplify-boolean-expr.rst
|
|
||||||
+++ llvm-toolchain-snapshot_3.9~svn260815/clang-tools-extra/docs/clang-tidy/checks/readability-simplify-boolean-expr.rst
|
|
||||||
@@ -32,15 +32,21 @@ Initial expression
|
|
||||||
|
|
||||||
The resulting expression ``e`` is modified as follows:
|
|
||||||
1. Unnecessary parentheses around the expression are removed.
|
|
||||||
+
|
|
||||||
2. Negated applications of ``!`` are eliminated.
|
|
||||||
+
|
|
||||||
3. Negated applications of comparison operators are changed to use the
|
|
||||||
opposite condition.
|
|
||||||
+
|
|
||||||
4. Implicit conversions of pointers, including pointers to members, to
|
|
||||||
``bool`` are replaced with explicit comparisons to ``nullptr`` in C++11
|
|
||||||
or ``NULL`` in C++98/03.
|
|
||||||
+
|
|
||||||
5. Implicit casts to ``bool`` are replaced with explicit casts to ``bool``.
|
|
||||||
+
|
|
||||||
6. Object expressions with ``explicit operator bool`` conversion operators
|
|
||||||
are replaced with explicit casts to ``bool``.
|
|
||||||
+
|
|
||||||
7. Implicit conversions of integral types to ``bool`` are replaced with
|
|
||||||
explicit comparisons to ``0``.
|
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_3.9~svn260815/clang/tools/extra/docs/clang-tidy/checks/readability-simplify-boolean-expr.rst
|
|
||||||
===================================================================
|
|
||||||
--- llvm-toolchain-snapshot_3.9~svn260815.orig/clang/tools/extra/docs/clang-tidy/checks/readability-simplify-boolean-expr.rst
|
|
||||||
+++ llvm-toolchain-snapshot_3.9~svn260815/clang/tools/extra/docs/clang-tidy/checks/readability-simplify-boolean-expr.rst
|
|
||||||
@@ -32,15 +32,21 @@ Initial expression
|
|
||||||
|
|
||||||
The resulting expression ``e`` is modified as follows:
|
|
||||||
1. Unnecessary parentheses around the expression are removed.
|
|
||||||
+
|
|
||||||
2. Negated applications of ``!`` are eliminated.
|
|
||||||
+
|
|
||||||
3. Negated applications of comparison operators are changed to use the
|
|
||||||
opposite condition.
|
|
||||||
+
|
|
||||||
4. Implicit conversions of pointers, including pointers to members, to
|
|
||||||
``bool`` are replaced with explicit comparisons to ``nullptr`` in C++11
|
|
||||||
or ``NULL`` in C++98/03.
|
|
||||||
+
|
|
||||||
5. Implicit casts to ``bool`` are replaced with explicit casts to ``bool``.
|
|
||||||
+
|
|
||||||
6. Object expressions with ``explicit operator bool`` conversion operators
|
|
||||||
are replaced with explicit casts to ``bool``.
|
|
||||||
+
|
|
||||||
7. Implicit conversions of integral types to ``bool`` are replaced with
|
|
||||||
explicit comparisons to ``0``.
|
|
||||||
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -26,4 +26,3 @@ silent-MCJIIT-tests.diff
|
|||||||
clang-analyzer-force-version.diff
|
clang-analyzer-force-version.diff
|
||||||
llvm25468-lldb-swig-format-security.diff
|
llvm25468-lldb-swig-format-security.diff
|
||||||
llvm26003-sanitizer-check-env.diff
|
llvm26003-sanitizer-check-env.diff
|
||||||
fix-doc-rst.diff
|
|
||||||
|
Loading…
Reference in New Issue
Block a user