[PATCH] D118350: [Clang][Sema][AIX][PowerPC] Emit byval alignment warning only when struct member is passed to a function

Zarko Todorovski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 31 10:24:52 PST 2022


ZarkoCA updated this revision to Diff 404600.
ZarkoCA added a comment.

- Warning shouldn't apply to functions that have internal linkage


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118350

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaChecking.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/Sema/aix-attr-align.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118350.404600.patch
Type: text/x-patch
Size: 7078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220131/dd1e8118/attachment.bin>


More information about the cfe-commits mailing list