[PATCH] D149514: Check if First argument in _builtin_assume_aligned_ is of pointer type

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 29 09:42:42 PDT 2023


shafik added a comment.

Thank you for the fix, you need to add a test that exercises the diagnostic you added, I think `clang/test/Sema/builtin-assume-aligned.c`  would be the right place to add it.

Also please add a release note in `clang/docs/ReleaseNotes.rst`


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

https://reviews.llvm.org/D149514



More information about the cfe-commits mailing list