From b698b1923f4e5a453805c592b5b0a07d41c552cb Mon Sep 17 00:00:00 2001 From: Nikolai Bozhenov Date: Tue, 8 Aug 2017 14:13:50 +0000 Subject: [PATCH] [libclang] Fix PR34055 (incompatible update of clang-c/Index.h) Fixes a regression introduced by r308218. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310359 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang-c/Index.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index b35f436e91..3b5ea9fa53 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -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, -- 2.40.0