Skip to content

Commit 1693a93

Browse files
committed
Upgrade to LLVM 18.1.1
1 parent b63d2e8 commit 1693a93

File tree

238 files changed

+11820
-1994
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

238 files changed

+11820
-1994
lines changed

build.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def Exit( self ):
107107
'issue tracker, including the entire output of this script (with --verbose) '
108108
'and the invocation line used to run it.' )
109109

110-
CLANGD_VERSION = '17.0.1'
110+
CLANGD_VERSION = '18.1.1'
111111
CLANGD_BINARIES_ERROR_MESSAGE = (
112112
'No prebuilt Clang {version} binaries for {platform}. '
113113
'You\'ll have to compile Clangd {version} from source '
@@ -1151,30 +1151,30 @@ def GetClangdTarget():
11511151
if OnWindows():
11521152
return [
11531153
( 'clangd-{version}-win64',
1154-
'66a1e4d527b451d1e9f21183416fd53ef7f395266bbf7fd74b470ec326d19c98' ),
1154+
'e5e1daf4553bd526e92a7f56805547673c1b6384f9a2a7b106008a81cd552c37' ),
11551155
( 'clangd-{version}-win32',
1156-
'c4c351da9f528a2cfacbc669cfb656ef34791ed637aeed051274adf611f3ba5a' ) ]
1156+
'424708a5405a23fb90f8e48473fa9e6340d988ee3733ce8c73e03f9052cb0a71' ) ]
11571157
if OnMac():
11581158
if OnArm():
11591159
return [
11601160
( 'clangd-{version}-arm64-apple-darwin',
1161-
'38b0335306193cfe7978af9b2bb9dffc48406739b23f19158e7f000f910df5b0' ) ]
1161+
'1b6d1b228f70a9903a5299c74347e7767f7fdd019e97abd879b22d56d6d7de83' ) ]
11621162
return [
11631163
( 'clangd-{version}-x86_64-apple-darwin',
1164-
'e3dcbefda4a10d7e1e2f8ce8db820219d78ac48ade247048fc0c6a821105ca26' ) ]
1164+
'10bed9246718a3d8993f8ccf4fec0168d4bfe7b2bf1d04cf9a8aed5cb7d8f03c' ) ]
11651165
if OnAArch64():
11661166
return [
11671167
( 'clangd-{version}-aarch64-linux-gnu',
1168-
'a3074a5d3c955b3326881617d36438e2cf36140d8de4b5f7d98e73eda92797a8' ) ]
1168+
'5ca6d63c9822debfd2f3aa4ec2c7b61eb8f6c8391a3ee7b52051fdb089da16af' ) ]
11691169
if OnArm():
11701170
return [
11711171
None, # First list index is for 64bit archives. ARMv7 is 32bit only.
11721172
( 'clangd-{version}-armv7a-linux-gnueabihf',
1173-
'f167c13d3741ad7869a6ee57621af2cb9c2477bb300ab2fac91ea64c19f8df43' ) ]
1173+
'ee6ded7b445317cced97d0002fe944b359990f6e7d7ca09dadd3f835fce7ebbb' ) ]
11741174
if OnX86_64():
11751175
return [
11761176
( 'clangd-{version}-x86_64-unknown-linux-gnu',
1177-
'70a9cf4c9e288941f0193dbfe0ab164e1805b622c2df522ea7319dabdeae3b4c' ) ]
1177+
'128451c2689d8157189b4bb60803ca33adb75c67ce07b91b1a91ecacdfbf851f' ) ]
11781178
raise InstallationFailed(
11791179
CLANGD_BINARIES_ERROR_MESSAGE.format( version = CLANGD_VERSION,
11801180
platform = 'this system' ) )

cpp/llvm/include/clang-c/BuildSystem.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ CINDEX_LINKAGE void clang_free(void *buffer);
9595
CINDEX_LINKAGE void clang_VirtualFileOverlay_dispose(CXVirtualFileOverlay);
9696

9797
/**
98-
* Object encapsulating information about a module.map file.
98+
* Object encapsulating information about a module.modulemap file.
9999
*/
100100
typedef struct CXModuleMapDescriptorImpl *CXModuleMapDescriptor;
101101

@@ -109,15 +109,15 @@ CINDEX_LINKAGE CXModuleMapDescriptor
109109
clang_ModuleMapDescriptor_create(unsigned options);
110110

111111
/**
112-
* Sets the framework module name that the module.map describes.
112+
* Sets the framework module name that the module.modulemap describes.
113113
* \returns 0 for success, non-zero to indicate an error.
114114
*/
115115
CINDEX_LINKAGE enum CXErrorCode
116116
clang_ModuleMapDescriptor_setFrameworkModuleName(CXModuleMapDescriptor,
117117
const char *name);
118118

119119
/**
120-
* Sets the umbrella header name that the module.map describes.
120+
* Sets the umbrella header name that the module.modulemap describes.
121121
* \returns 0 for success, non-zero to indicate an error.
122122
*/
123123
CINDEX_LINKAGE enum CXErrorCode

cpp/llvm/include/clang-c/Index.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,11 @@ enum CXCursorKind {
21362136
*/
21372137
CXCursor_OMPErrorDirective = 305,
21382138

2139-
CXCursor_LastStmt = CXCursor_OMPErrorDirective,
2139+
/** OpenMP scope directive.
2140+
*/
2141+
CXCursor_OMPScopeDirective = 306,
2142+
2143+
CXCursor_LastStmt = CXCursor_OMPScopeDirective,
21402144

21412145
/**
21422146
* Cursor that represents the translation unit itself.
@@ -2976,6 +2980,7 @@ enum CXCallingConv {
29762980
CXCallingConv_AArch64VectorCall = 16,
29772981
CXCallingConv_SwiftAsync = 17,
29782982
CXCallingConv_AArch64SVEPCS = 18,
2983+
CXCallingConv_M68kRTD = 19,
29792984

29802985
CXCallingConv_Invalid = 100,
29812986
CXCallingConv_Unexposed = 200

cpp/ycm/CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,41 +30,41 @@ if ( USE_CLANG_COMPLETER AND
3030
NOT PATH_TO_LLVM_ROOT AND
3131
NOT EXTERNAL_LIBCLANG_PATH )
3232

33-
set( CLANG_VERSION 17.0.1 )
33+
set( CLANG_VERSION 18.1.1 )
3434

3535
if ( APPLE )
3636
if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64" )
3737
set( LIBCLANG_DIRNAME "libclang-${CLANG_VERSION}-arm64-apple-darwin" )
3838
set( LIBCLANG_SHA256
39-
"e90a409dc408214fc553e3b3df2a71f6d67fdd34d9441b6c2be1a043e9542f06" )
39+
"04dd2ac7714e4aef14a8bb381563c753f02b6fb191d48279f9c896820c1560e9" )
4040
else()
4141
set( LIBCLANG_DIRNAME "libclang-${CLANG_VERSION}-x86_64-apple-darwin" )
4242
set( LIBCLANG_SHA256
43-
"b70786d68e71b5988fda8c7c377e301a0817ea280f425639e976a573ef266473" )
43+
"4a7077c7aeb72c7583463449383fb69632cafc3d6cad12eae805412d572a3745" )
4444
endif()
4545
elseif ( WIN32 )
4646
if( 64_BIT_PLATFORM )
4747
set( LIBCLANG_DIRNAME "libclang-${CLANG_VERSION}-win64" )
4848
set( LIBCLANG_SHA256
49-
"7bbb980c2bc5a69ca1b93b8a6a671abb1ad8cab5a5b9f7fff6f7fa300fc1bf07" )
49+
"b594a8d7cb92c14afa545668e72898bbfa29f8b280b78c57eb7d9c2a4f4e8906" )
5050
else()
5151
set( LIBCLANG_DIRNAME "libclang-${CLANG_VERSION}-win32" )
5252
set( LIBCLANG_SHA256
53-
"ef50790e2b01bfb701cd14ec315431a60da7921fc78ac893c0af0b956d6e2223" )
53+
"243cee577e40c9844699898ba3c024c13c8f092ed6b8a5cfc3b8e386bb621134" )
5454
endif()
5555
elseif ( CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*)" )
5656
set( LIBCLANG_DIRNAME "libclang-${CLANG_VERSION}-aarch64-linux-gnu" )
5757
set( LIBCLANG_SHA256
58-
"829e4b81d9fddd70ed8bcbeffd1feea909369434b225612148e833fb9b16265b" )
58+
"24fbd9a37bc3de67084aa29f0d268354b07336d38673acc147e639c19944ffb2" )
5959
elseif ( CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm.*|ARM.*)" )
6060
set( LIBCLANG_DIRNAME "libclang-${CLANG_VERSION}-armv7a-linux-gnueabihf" )
6161
set( LIBCLANG_SHA256
62-
"fdc3df9ef3fe15868340bc0dcd4d0c74814edd06be1d79796b8a402db8aee723" )
62+
"4efc43e99c455f015519effa33af8b0b4cbe622a92a6d750ce64f9233cb3b447" )
6363
elseif ( CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64)" )
6464
set( LIBCLANG_DIRNAME
6565
"libclang-${CLANG_VERSION}-x86_64-unknown-linux-gnu" )
6666
set( LIBCLANG_SHA256
67-
"bd1ab9ab8e8ccdb46064178bc54a45e7e980b5451cff4fa468596a414e1f7b46" )
67+
"04f84497cef3600569a8a52f9535547babe5298ab1709a9b83c1bf5c3d3d29b1" )
6868
else()
6969
message( FATAL_ERROR
7070
"No prebuilt Clang ${CLANG_VERSION} binaries for this system. "

0 commit comments

Comments
 (0)