Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Frontend/TextDiagnostic.cpp | ||
---|---|---|
1109–1110 ↗ | (On Diff #105937) | Did you figure out why the old code used to give up here? Why does your code just continue? |
lib/Frontend/TextDiagnostic.cpp | ||
---|---|---|
1109–1110 ↗ | (On Diff #105937) | I don't know. It does not make sense to me for the use cases I think should work. |
lib/Frontend/TextDiagnostic.cpp | ||
---|---|---|
1109–1110 ↗ | (On Diff #105937) | I found the old code introduced in https://reviews.llvm.org/rL70656 $ cat /tmp/t.c int f0(char *a, char *b) { return ("a" != "b"); } $ clang -Wall -fsyntax-only /tmp/t.c /tmp/t.c:2:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare] return ("a" != ~~~ ^ 1 warning generated. |