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

2017-08-08 Thread Hans Wennborg via cfe-commits
Merged to 5.0 in r310390 as suggested in the review.

Thanks,
Hans

On Tue, Aug 8, 2017 at 7:13 AM, Nikolai Bozhenov via cfe-commits
 wrote:
> Author: n.bozhenov
> Date: Tue Aug  8 07:13:50 2017
> New Revision: 310359
>
> URL: http://llvm.org/viewvc/llvm-project?rev=310359&view=rev
> Log:
> [libclang] Fix PR34055 (incompatible update of clang-c/Index.h)
>
> Fixes a regression introduced by r308218.
>
> Modified:
> cfe/trunk/include/clang-c/Index.h
>
> Modified: cfe/trunk/include/clang-c/Index.h
> URL: 
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=310359&r1=310358&r2=310359&view=diff
> ==
> --- cfe/trunk/include/clang-c/Index.h (original)
> +++ cfe/trunk/include/clang-c/Index.h Tue Aug  8 07:13:50 2017
> @@ -3206,6 +3206,8 @@ enum CXCallingConv {
>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,
>
>
> ___
> cfe-commits mailing list
> cfe-commits@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


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

2017-08-08 Thread Nikolai Bozhenov via cfe-commits
Author: n.bozhenov
Date: Tue Aug  8 07:13:50 2017
New Revision: 310359

URL: http://llvm.org/viewvc/llvm-project?rev=310359&view=rev
Log:
[libclang] Fix PR34055 (incompatible update of clang-c/Index.h)

Fixes a regression introduced by r308218.

Modified:
cfe/trunk/include/clang-c/Index.h

Modified: cfe/trunk/include/clang-c/Index.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=310359&r1=310358&r2=310359&view=diff
==
--- cfe/trunk/include/clang-c/Index.h (original)
+++ cfe/trunk/include/clang-c/Index.h Tue Aug  8 07:13:50 2017
@@ -3206,6 +3206,8 @@ enum CXCallingConv {
   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,


___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits