Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Time | Test | |
---|---|---|
370 ms | linux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp |
Event Timeline
Thanks for taking a look at this!
clang/test/Sema/implicit-decl.c | ||
---|---|---|
2 | I probably wouldn't bother testing this - presumably we don't test the -Wno- variant of every warning, given that it's implemented in a generic fashion? If this is removed, I expect the verifier prefixes don't need to be changed? | |
clang/test/Sema/vecshift.c | ||
3–4 | The previous version of the test had this without -DERR, right? Why the change here? |
clang/test/Sema/vecshift.c | ||
---|---|---|
3–4 | Not sure I follow - could you walk me through it in a bit more detail/few more steps? It seems surprising to me that all 4 check lines this test has as you're proposing have -DERR, if that's correct, why have it a as a preprocessor variable (ie: all the non-ERR parts of the test are dead in this proposed version, it seems)? But the test as committed in 9941ca8af6b4c39fd0b9e47dc7e593d884b55710 tested both with -DERR and without it. |
clang/test/Sema/vecshift.c | ||
---|---|---|
3–4 | OK, I misunderstood the intention of the original test. -Wvec-elem-size is an error. To test that the error can be downgraded to a warning, -Wno-error=vec-elem-size is needed. Fixed the RUN lines. |
I probably wouldn't bother testing this - presumably we don't test the -Wno- variant of every warning, given that it's implemented in a generic fashion?
If this is removed, I expect the verifier prefixes don't need to be changed?