mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 07:06:05 +00:00
Fix always-false conditional thinko in documentation.
llvm-svn: 200289
This commit is contained in:
parent
4e703bcecd
commit
b05a8440cc
@ -1432,7 +1432,7 @@ available in C.
|
||||
.. code-block:: c++
|
||||
|
||||
int isdigit(int c);
|
||||
int isdigit(int c) __attribute__((enable_if(c <= -1 && c > 255, "chosen when 'c' is out of range"))) __attribute__((unavailable("'c' must have the value of an unsigned char or EOF")));
|
||||
int isdigit(int c) __attribute__((enable_if(c <= -1 || c > 255, "chosen when 'c' is out of range"))) __attribute__((unavailable("'c' must have the value of an unsigned char or EOF")));
|
||||
|
||||
void foo(char c) {
|
||||
isdigit(c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user