summaryrefslogtreecommitdiff
path: root/include/clang-c
diff options
context:
space:
mode:
authorEmilio Cobos Alvarez <emilio@crisal.io>2019-03-13 16:16:54 +0000
committerEmilio Cobos Alvarez <emilio@crisal.io>2019-03-13 16:16:54 +0000
commit541c705c691ec5bb873e8220f8d700849e2f5df5 (patch)
tree1fa164d40a2c4a1cbdf7969ce156561426e7b92a /include/clang-c
parentbc8019d56ead81925c79b6cab11a157de9ccf071 (diff)
downloadclang-541c705c691ec5bb873e8220f8d700849e2f5df5.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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r--include/clang-c/Index.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index a5ef2d2058..7654656664 100644
--- a/include/clang-c/Index.h
+++ b/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,