Codesbyusman added a comment.

In D133194#3782198 <https://reviews.llvm.org/D133194#3782198>, @aaron.ballman 
wrote:

> In D133194#3781271 <https://reviews.llvm.org/D133194#3781271>, @Codesbyusman 
> wrote:
>
>> updated, I am not getting why this is happening but in the .cpp test file 
>> without Wvla all is working and is detecting by default as you are saying 
>> but when I use vla-warning/note it gives me error that "warning seen but not 
>> expected"
>
> It's because we're passing `-pedantic` on all three RUN lines; because the 
> file is a C++ source file, we issue the pedantic "you're using an extension" 
> warning: https://godbolt.org/z/a8nv6dhE5 so the `-Wvla` is redundant after 
> all (sorry for not catching that sooner).

Thank you for explanation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133194/new/

https://reviews.llvm.org/D133194

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to