[PATCH] D133194: rewording note note_constexpr_invalid_cast

Muhammad Usman Shahid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 9 13:01:13 PDT 2022


Codesbyusman updated this revision to Diff 459175.
Codesbyusman added a comment.

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"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133194

Files:
  clang/include/clang/Basic/DiagnosticASTKinds.td
  clang/lib/AST/ExprConstant.cpp
  clang/test/Sema/cast.c
  clang/test/SemaCXX/constant-expression-cxx11.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133194.459175.patch
Type: text/x-patch
Size: 5626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220909/5c63a736/attachment-0001.bin>


More information about the cfe-commits mailing list