diff options
author | Emilio Cobos Alvarez <emilio@crisal.io> | 2019-03-13 16:16:54 +0000 |
---|---|---|
committer | Emilio Cobos Alvarez <emilio@crisal.io> | 2019-03-13 16:16:54 +0000 |
commit | cd74127d28c1dc78be18cea55e6a7c65ef382c88 (patch) | |
tree | bb3a59fe5a2c0deb2c7051f565b4d8e9245a86d4 /clang/bindings | |
parent | 7d546aba6c4d6e9e82885510c16a92c0185a731c (diff) | |
download | llvm-cd74127d28c1dc78be18cea55e6a7c65ef382c88.tar.gz |
[libclang] Expose aligned() attribute.
Summary:
This is useful because otherwise there's no easy way to distinguish #pragma
packed(N) from attribute(packed, aligned(N)) that isn't looking at field
offsets (since pragma packed() also creates a packed attribute).
Reviewers: Anastasia, arphaman, serge-sans-paille
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D59299
llvm-svn: 356062
Diffstat (limited to 'clang/bindings')
-rw-r--r-- | clang/bindings/python/clang/cindex.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py index d9684db17512..113697eb4f19 100644 --- a/clang/bindings/python/clang/cindex.py +++ b/clang/bindings/python/clang/cindex.py @@ -1345,6 +1345,7 @@ CursorKind.DLLIMPORT_ATTR = CursorKind(419) CursorKind.CONVERGENT_ATTR = CursorKind(438) CursorKind.WARN_UNUSED_ATTR = CursorKind(439) CursorKind.WARN_UNUSED_RESULT_ATTR = CursorKind(440) +CursorKind.ALIGNED_ATTR = CursorKind(441) ### # Preprocessing |