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/include/clang-c | |
parent | 7d546aba6c4d6e9e82885510c16a92c0185a731c (diff) | |
download | bcm5719-llvm-cd74127d28c1dc78be18cea55e6a7c65ef382c88.tar.gz bcm5719-llvm-cd74127d28c1dc78be18cea55e6a7c65ef382c88.zip |
[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/include/clang-c')
-rw-r--r-- | clang/include/clang-c/Index.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index a5ef2d20587..7654656664f 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -32,7 +32,7 @@ * compatible, thus CINDEX_VERSION_MAJOR is expected to remain stable. */ #define CINDEX_VERSION_MAJOR 0 -#define CINDEX_VERSION_MINOR 53 +#define CINDEX_VERSION_MINOR 54 #define CINDEX_VERSION_ENCODE(major, minor) ( \ ((major) * 10000) \ @@ -2589,7 +2589,8 @@ enum CXCursorKind { CXCursor_ConvergentAttr = 438, CXCursor_WarnUnusedAttr = 439, CXCursor_WarnUnusedResultAttr = 440, - CXCursor_LastAttr = CXCursor_WarnUnusedResultAttr, + CXCursor_AlignedAttr = 441, + CXCursor_LastAttr = CXCursor_AlignedAttr, /* Preprocessing */ CXCursor_PreprocessingDirective = 500, |