[PATCH] D58811: [clang] Fix misuses of char width to char align

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 12:19:39 PST 2019


efriedma added a comment.

> The patch have been tested for a proprietary architecture, where there is a difference between align and width of char.

The C standard requires that both  `alignof(char)` and `sizeof(char)` must equal 1, and therefore must equal each other.  Could you clarify the characteristics of your target?


Repository:
  rC Clang

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

https://reviews.llvm.org/D58811





More information about the cfe-commits mailing list