Issue |
127384
|
Summary |
readability-simplify-boolean-expr dose not work in pure c program.
|
Labels |
new issue
|
Assignees |
|
Reporter |
Siogian
|
In main.c, readability-simplify-boolean-expr not work.
```c
#include <stdbool.h>
int main()
{
bool b = true;
if (b == true)
{
return 0;
}
}
```
in main.cpp, readability-simplify-boolean-expr work well.
```cpp
int main()
{
bool b = true;
if (b == true)
{
return 0;
}
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs