Commit 07f87b0
authored
Clang: -Wno-null-conversion for Lexer (#3333)
## Summary
Silence a warning in the lexer used in the parser for Clang 12.
## Additional background
```
/g/g90/huebl1/src/warpx/build_lassen/_deps/fetchedamrex-src/Src/Base/Parser/amrex_iparser.lex.nolint.H:2010:68: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion]
while ((yy_buffer_stack) ? yy_buffer_stack[yy_buffer_stack_top] : (__null)) {
...
```
et al.1 parent 76d6d34 commit 07f87b0
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments