[PATCH] D36453: [libclang] Fix PR34055 (incompatible update of clang-c/Index.h)

Nikolai Bozhenov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 8 02:22:30 PDT 2017


n.bozhenov created this revision.

Fixes a regression introduced by r308218.


https://reviews.llvm.org/D36453

Files:
  clang/include/clang-c/Index.h


Index: clang/include/clang-c/Index.h
===================================================================
--- clang/include/clang-c/Index.h
+++ clang/include/clang-c/Index.h
@@ -3206,6 +3206,8 @@
   CXCallingConv_X86RegCall = 8,
   CXCallingConv_IntelOclBicc = 9,
   CXCallingConv_Win64 = 10,
+  /* Alias for compatibility with older versions of API. */
+  CXCallingConv_X86_64Win64 = CXCallingConv_Win64,
   CXCallingConv_X86_64SysV = 11,
   CXCallingConv_X86VectorCall = 12,
   CXCallingConv_Swift = 13,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36453.110153.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170808/c8a40cd2/attachment.bin>


More information about the cfe-commits mailing list