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

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 8 11:16:40 PDT 2017


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
<cfe-commits at lists.llvm.org> 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 at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


More information about the cfe-commits mailing list