From 8051870da004a9323ac5ac758d979e8bcf4e513b Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Fri, 1 Oct 2021 19:23:24 -0700 Subject: [PATCH 1/8] Updating the versioning information to v13.0.0 --- CMakeLists.txt | 2 +- Directory.Build.props | 4 ++-- Directory.Build.targets | 4 ++-- README.md | 8 +++---- ...ibClangSharp.runtime.freebsd.11-x64.nuspec | 2 +- ...ibClangSharp.runtime.freebsd.11-x86.nuspec | 2 +- .../libClangSharp.runtime.linux-arm.nuspec | 2 +- .../libClangSharp.runtime.linux-arm64.nuspec | 2 +- .../libClangSharp.runtime.osx-x64.nuspec | 2 +- ...ClangSharp.runtime.ubuntu.18.04-x64.nuspec | 2 +- ...ClangSharp.runtime.ubuntu.20.04-x64.nuspec | 2 +- ...ClangSharp.runtime.ubuntu.21.04-x64.nuspec | 2 +- .../libClangSharp.runtime.win-arm64.nuspec | 2 +- .../libClangSharp.runtime.win-x64.nuspec | 2 +- .../libClangSharp.runtime.win-x86.nuspec | 2 +- .../libClangSharp/libClangSharp.nuspec | 2 +- .../libClangSharp/libClangSharp/runtime.json | 22 ++++++++--------- .../libclang.runtime.freebsd.11-x64.nuspec | 4 ++-- .../libclang.runtime.freebsd.11-x86.nuspec | 4 ++-- .../libclang.runtime.linux-arm.nuspec | 4 ++-- .../libclang.runtime.linux-arm64.nuspec | 5 ++-- .../libclang.runtime.osx-x64.nuspec | 4 ++-- .../libclang.runtime.ubuntu.18.04-x64.nuspec | 4 ++-- .../libclang.runtime.ubuntu.20.04-x64.nuspec | 4 ++-- .../libclang.runtime.ubuntu.21.04-x64.nuspec | 4 ++-- .../libclang.runtime.win-arm64.nuspec | 4 ++-- .../libclang.runtime.win-x64.nuspec | 4 ++-- .../libclang.runtime.win-x86.nuspec | 4 ++-- packages/libclang/libclang/libclang.nuspec | 4 ++-- packages/libclang/libclang/runtime.json | 24 +++++++++---------- .../ClangSharp.Interop/CXAvailabilityKind.cs | 2 +- sources/ClangSharp.Interop/CXCallingConv.cs | 2 +- .../ClangSharp.Interop/CXChildVisitResult.cs | 2 +- .../CXCodeCompleteResults.cs | 2 +- .../CXCodeComplete_Flags.cs | 2 +- sources/ClangSharp.Interop/CXComment.cs | 2 +- .../CXCommentInlineCommandRenderKind.cs | 2 +- sources/ClangSharp.Interop/CXCommentKind.cs | 2 +- .../CXCommentParamPassDirection.cs | 2 +- .../CXCompilationDatabase_Error.cs | 2 +- .../CXCompletionChunkKind.cs | 2 +- .../ClangSharp.Interop/CXCompletionContext.cs | 2 +- .../ClangSharp.Interop/CXCompletionResult.cs | 2 +- sources/ClangSharp.Interop/CXCursor.cs | 2 +- .../CXCursorAndRangeVisitor.cs | 2 +- sources/ClangSharp.Interop/CXCursorKind.cs | 2 +- sources/ClangSharp.Interop/CXCursorSetImpl.cs | 2 +- sources/ClangSharp.Interop/CXCursorVisitor.cs | 2 +- .../CXCursor_ExceptionSpecificationKind.cs | 2 +- .../CXDiagnosticDisplayOptions.cs | 2 +- .../CXDiagnosticSeverity.cs | 2 +- sources/ClangSharp.Interop/CXErrorCode.cs | 2 +- .../ClangSharp.Interop/CXEvalResultKind.cs | 2 +- sources/ClangSharp.Interop/CXFieldVisitor.cs | 2 +- sources/ClangSharp.Interop/CXFileUniqueID.cs | 2 +- .../ClangSharp.Interop/CXGlobalOptFlags.cs | 2 +- sources/ClangSharp.Interop/CXIdxAttrInfo.cs | 2 +- sources/ClangSharp.Interop/CXIdxAttrKind.cs | 2 +- .../ClangSharp.Interop/CXIdxBaseClassInfo.cs | 2 +- .../CXIdxCXXClassDeclInfo.cs | 2 +- .../ClangSharp.Interop/CXIdxContainerInfo.cs | 2 +- sources/ClangSharp.Interop/CXIdxDeclInfo.cs | 2 +- .../ClangSharp.Interop/CXIdxDeclInfoFlags.cs | 2 +- .../CXIdxEntityCXXTemplateKind.cs | 2 +- sources/ClangSharp.Interop/CXIdxEntityInfo.cs | 2 +- sources/ClangSharp.Interop/CXIdxEntityKind.cs | 2 +- .../ClangSharp.Interop/CXIdxEntityLanguage.cs | 2 +- .../ClangSharp.Interop/CXIdxEntityRefInfo.cs | 2 +- .../ClangSharp.Interop/CXIdxEntityRefKind.cs | 2 +- .../CXIdxIBOutletCollectionAttrInfo.cs | 2 +- .../CXIdxImportedASTFileInfo.cs | 2 +- .../CXIdxIncludedFileInfo.cs | 2 +- sources/ClangSharp.Interop/CXIdxLoc.cs | 2 +- .../CXIdxObjCCategoryDeclInfo.cs | 2 +- .../CXIdxObjCContainerDeclInfo.cs | 2 +- .../CXIdxObjCContainerKind.cs | 2 +- .../CXIdxObjCInterfaceDeclInfo.cs | 2 +- .../CXIdxObjCPropertyDeclInfo.cs | 2 +- .../CXIdxObjCProtocolRefInfo.cs | 2 +- .../CXIdxObjCProtocolRefListInfo.cs | 2 +- .../ClangSharp.Interop/CXInclusionVisitor.cs | 2 +- sources/ClangSharp.Interop/CXIndexOptFlags.cs | 2 +- sources/ClangSharp.Interop/CXLanguageKind.cs | 2 +- sources/ClangSharp.Interop/CXLinkageKind.cs | 2 +- .../ClangSharp.Interop/CXLoadDiag_Error.cs | 2 +- .../CXModuleMapDescriptorImpl.cs | 2 +- sources/ClangSharp.Interop/CXNameRefFlags.cs | 2 +- .../CXObjCDeclQualifierKind.cs | 2 +- .../CXObjCPropertyAttrKind.cs | 2 +- .../CXPlatformAvailability.cs | 2 +- .../CXPrintingPolicyProperty.cs | 2 +- .../ClangSharp.Interop/CXRefQualifierKind.cs | 2 +- sources/ClangSharp.Interop/CXReparse_Flags.cs | 2 +- sources/ClangSharp.Interop/CXResult.cs | 2 +- sources/ClangSharp.Interop/CXSaveError.cs | 2 +- .../CXSaveTranslationUnit_Flags.cs | 2 +- .../ClangSharp.Interop/CXSourceLocation.cs | 2 +- sources/ClangSharp.Interop/CXSourceRange.cs | 2 +- .../ClangSharp.Interop/CXSourceRangeList.cs | 2 +- sources/ClangSharp.Interop/CXString.cs | 2 +- sources/ClangSharp.Interop/CXStringSet.cs | 2 +- sources/ClangSharp.Interop/CXSymbolRole.cs | 2 +- sources/ClangSharp.Interop/CXTLSKind.cs | 2 +- .../ClangSharp.Interop/CXTUResourceUsage.cs | 2 +- .../CXTUResourceUsageEntry.cs | 2 +- .../CXTUResourceUsageKind.cs | 2 +- .../ClangSharp.Interop/CXTargetInfoImpl.cs | 2 +- .../CXTemplateArgumentKind.cs | 2 +- sources/ClangSharp.Interop/CXToken.cs | 2 +- sources/ClangSharp.Interop/CXTokenKind.cs | 2 +- .../CXTranslationUnitImpl.cs | 2 +- .../CXTranslationUnit_Flags.cs | 2 +- sources/ClangSharp.Interop/CXType.cs | 2 +- sources/ClangSharp.Interop/CXTypeKind.cs | 2 +- .../ClangSharp.Interop/CXTypeLayoutError.cs | 2 +- .../CXTypeNullabilityKind.cs | 2 +- sources/ClangSharp.Interop/CXUnsavedFile.cs | 2 +- sources/ClangSharp.Interop/CXVersion.cs | 2 +- .../CXVirtualFileOverlayImpl.cs | 2 +- .../ClangSharp.Interop/CXVisibilityKind.cs | 2 +- sources/ClangSharp.Interop/CXVisitorResult.cs | 2 +- .../CX_CXXAccessSpecifier.cs | 2 +- sources/ClangSharp.Interop/CX_StorageClass.cs | 2 +- .../ClangSharp.Interop/IndexerCallbacks.cs | 2 +- sources/ClangSharp.Interop/clang.cs | 2 +- .../Properties/GenerateClang-LICENSE.txt | 2 +- .../Properties/GenerateLLVM-LICENSE.txt | 2 +- sources/libClangSharp/CIndexDiagnostic.cpp | 2 +- sources/libClangSharp/CIndexDiagnostic.h | 2 +- sources/libClangSharp/CXCursor.cpp | 2 +- sources/libClangSharp/CXCursor.h | 2 +- sources/libClangSharp/CXLoadedDiagnostic.cpp | 2 +- sources/libClangSharp/CXLoadedDiagnostic.h | 2 +- sources/libClangSharp/CXSourceLocation.cpp | 2 +- sources/libClangSharp/CXSourceLocation.h | 2 +- sources/libClangSharp/CXString.cpp | 2 +- sources/libClangSharp/CXString.h | 2 +- sources/libClangSharp/CXTranslationUnit.cpp | 2 +- sources/libClangSharp/CXTranslationUnit.h | 2 +- sources/libClangSharp/CXType.cpp | 2 +- sources/libClangSharp/CXType.h | 2 +- .../CXCodeCompleteResultsTests.cs | 2 +- .../InteropTests/CXCommentTests.cs | 2 +- .../InteropTests/CXCompletionResultTests.cs | 2 +- .../CXCursorAndRangeVisitorTests.cs | 2 +- .../InteropTests/CXCursorSetImplTests.cs | 2 +- .../InteropTests/CXCursorTests.cs | 2 +- .../InteropTests/CXFileUniqueIDTests.cs | 2 +- .../InteropTests/CXIdxAttrInfoTests.cs | 2 +- .../InteropTests/CXIdxBaseClassInfoTests.cs | 2 +- .../CXIdxCXXClassDeclInfoTests.cs | 2 +- .../InteropTests/CXIdxContainerInfoTests.cs | 2 +- .../InteropTests/CXIdxDeclInfoTests.cs | 2 +- .../InteropTests/CXIdxEntityInfoTests.cs | 2 +- .../InteropTests/CXIdxEntityRefInfoTests.cs | 2 +- .../CXIdxIBOutletCollectionAttrInfoTests.cs | 2 +- .../CXIdxImportedASTFileInfoTests.cs | 2 +- .../CXIdxIncludedFileInfoTests.cs | 2 +- .../InteropTests/CXIdxLocTests.cs | 2 +- .../CXIdxObjCCategoryDeclInfoTests.cs | 2 +- .../CXIdxObjCContainerDeclInfoTests.cs | 2 +- .../CXIdxObjCInterfaceDeclInfoTests.cs | 2 +- .../CXIdxObjCPropertyDeclInfoTests.cs | 2 +- .../CXIdxObjCProtocolRefInfoTests.cs | 2 +- .../CXIdxObjCProtocolRefListInfoTests.cs | 2 +- .../CXModuleMapDescriptorImplTests.cs | 2 +- .../CXPlatformAvailabilityTests.cs | 2 +- .../InteropTests/CXSourceLocationTests.cs | 2 +- .../InteropTests/CXSourceRangeListTests.cs | 2 +- .../InteropTests/CXSourceRangeTests.cs | 2 +- .../InteropTests/CXStringSetTests.cs | 2 +- .../InteropTests/CXStringTests.cs | 2 +- .../CXTUResourceUsageEntryTests.cs | 2 +- .../InteropTests/CXTUResourceUsageTests.cs | 2 +- .../InteropTests/CXTargetInfoImplTests.cs | 2 +- .../InteropTests/CXTokenTests.cs | 2 +- .../CXTranslationUnitImplTests.cs | 2 +- .../InteropTests/CXTypeTests.cs | 2 +- .../InteropTests/CXUnsavedFileTests.cs | 2 +- .../InteropTests/CXVersionTests.cs | 2 +- .../CXVirtualFileOverlayImplTests.cs | 2 +- .../InteropTests/IndexerCallbacksTests.cs | 2 +- 182 files changed, 221 insertions(+), 220 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 262330b7..ea544c91 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.13) -project(ClangSharp VERSION 12.0.0) +project(ClangSharp VERSION 13.0.0) set(CMAKE_CXX_STANDARD 17) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) diff --git a/Directory.Build.props b/Directory.Build.props index c5231b74..4d447e8d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -42,8 +42,8 @@ true $(BaseArtifactsPath)pkg/$(Configuration)/ ClangSharp - 12.0.0 - beta3 + 13.0.0 + beta1 pr diff --git a/Directory.Build.targets b/Directory.Build.targets index d9444a7d..1facae24 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -36,9 +36,9 @@ - + - + diff --git a/README.md b/README.md index 12095976..d312f28b 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Building this requires [CMake 3.13 or later](https://cmake.org/download/) as wel To succesfully build `libClangSharp` you must first build Clang (https://clang.llvm.org/get_started.html). The process done on Windows is roughly: ```cmd -git clone --single-branch --branch llvmorg-12.0.0 https://github.com/llvm/llvm-project +git clone --single-branch --branch llvmorg-13.0.0 https://github.com/llvm/llvm-project cd llvm-project mkdir artifacts/bin cd artifacts/bin @@ -90,7 +90,7 @@ git clone https://github.com/microsoft/clangsharp cd clangsharp mkdir artifacts/bin/native cd artifacts/bin/native -cmake -DPATH_TO_LLVM=/usr/lib/llvm/12/ ../../.. +cmake -DPATH_TO_LLVM=/usr/lib/llvm/13/ ../../.. make ``` @@ -100,7 +100,7 @@ git clone https://github.com/microsoft/clangsharp cd clangsharp mkdir artifacts/bin/native cd artifacts/bin/native -cmake -DPATH_TO_LLVM=/usr/lib/llvm/12/ -G Ninja ../../.. +cmake -DPATH_TO_LLVM=/usr/lib/llvm/13/ -G Ninja ../../.. ninja ``` @@ -110,7 +110,7 @@ This program will take a given set of C or C++ header files and generate C# bind The simplest and recommended setup is to install the generator as a .NET tool and then use response files: ``` -dotnet tool install --global ClangSharpPInvokeGenerator --version 12.0.0-beta1 +dotnet tool install --global ClangSharpPInvokeGenerator --version 13.0.0-beta1 ClangSharpPInvokeGenerator @generate.rsp ``` diff --git a/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x64/libClangSharp.runtime.freebsd.11-x64.nuspec b/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x64/libClangSharp.runtime.freebsd.11-x64.nuspec index 40689565..a0de7d66 100644 --- a/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x64/libClangSharp.runtime.freebsd.11-x64.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x64/libClangSharp.runtime.freebsd.11-x64.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.freebsd.11-x64 - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x86/libClangSharp.runtime.freebsd.11-x86.nuspec b/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x86/libClangSharp.runtime.freebsd.11-x86.nuspec index aa2c64c6..9667519a 100644 --- a/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x86/libClangSharp.runtime.freebsd.11-x86.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x86/libClangSharp.runtime.freebsd.11-x86.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.freebsd.11-x86 - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp.runtime.linux-arm/libClangSharp.runtime.linux-arm.nuspec b/packages/libClangSharp/libClangSharp.runtime.linux-arm/libClangSharp.runtime.linux-arm.nuspec index baecca0d..b38d3c42 100644 --- a/packages/libClangSharp/libClangSharp.runtime.linux-arm/libClangSharp.runtime.linux-arm.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.linux-arm/libClangSharp.runtime.linux-arm.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.linux-arm - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp.runtime.linux-arm64/libClangSharp.runtime.linux-arm64.nuspec b/packages/libClangSharp/libClangSharp.runtime.linux-arm64/libClangSharp.runtime.linux-arm64.nuspec index 4a6695ed..8fdf43d4 100644 --- a/packages/libClangSharp/libClangSharp.runtime.linux-arm64/libClangSharp.runtime.linux-arm64.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.linux-arm64/libClangSharp.runtime.linux-arm64.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.linux-arm64 - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp.runtime.osx-x64/libClangSharp.runtime.osx-x64.nuspec b/packages/libClangSharp/libClangSharp.runtime.osx-x64/libClangSharp.runtime.osx-x64.nuspec index 5c361453..c806c537 100644 --- a/packages/libClangSharp/libClangSharp.runtime.osx-x64/libClangSharp.runtime.osx-x64.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.osx-x64/libClangSharp.runtime.osx-x64.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.osx-x64 - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp.runtime.ubuntu.18.04-x64/libClangSharp.runtime.ubuntu.18.04-x64.nuspec b/packages/libClangSharp/libClangSharp.runtime.ubuntu.18.04-x64/libClangSharp.runtime.ubuntu.18.04-x64.nuspec index c9246549..c9484fdb 100644 --- a/packages/libClangSharp/libClangSharp.runtime.ubuntu.18.04-x64/libClangSharp.runtime.ubuntu.18.04-x64.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.ubuntu.18.04-x64/libClangSharp.runtime.ubuntu.18.04-x64.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.ubuntu.18.04-x64 - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp.runtime.ubuntu.20.04-x64/libClangSharp.runtime.ubuntu.20.04-x64.nuspec b/packages/libClangSharp/libClangSharp.runtime.ubuntu.20.04-x64/libClangSharp.runtime.ubuntu.20.04-x64.nuspec index ee5cec63..50e76431 100644 --- a/packages/libClangSharp/libClangSharp.runtime.ubuntu.20.04-x64/libClangSharp.runtime.ubuntu.20.04-x64.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.ubuntu.20.04-x64/libClangSharp.runtime.ubuntu.20.04-x64.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.ubuntu.20.04-x64 - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp.runtime.ubuntu.21.04-x64/libClangSharp.runtime.ubuntu.21.04-x64.nuspec b/packages/libClangSharp/libClangSharp.runtime.ubuntu.21.04-x64/libClangSharp.runtime.ubuntu.21.04-x64.nuspec index d418c7c5..703f332b 100644 --- a/packages/libClangSharp/libClangSharp.runtime.ubuntu.21.04-x64/libClangSharp.runtime.ubuntu.21.04-x64.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.ubuntu.21.04-x64/libClangSharp.runtime.ubuntu.21.04-x64.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.ubuntu.21.04-x64 - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp.runtime.win-arm64/libClangSharp.runtime.win-arm64.nuspec b/packages/libClangSharp/libClangSharp.runtime.win-arm64/libClangSharp.runtime.win-arm64.nuspec index ba60d106..3435b4ce 100644 --- a/packages/libClangSharp/libClangSharp.runtime.win-arm64/libClangSharp.runtime.win-arm64.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.win-arm64/libClangSharp.runtime.win-arm64.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.win-arm64 - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp.runtime.win-x64/libClangSharp.runtime.win-x64.nuspec b/packages/libClangSharp/libClangSharp.runtime.win-x64/libClangSharp.runtime.win-x64.nuspec index 53095aec..4c7c0ae0 100644 --- a/packages/libClangSharp/libClangSharp.runtime.win-x64/libClangSharp.runtime.win-x64.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.win-x64/libClangSharp.runtime.win-x64.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.win-x64 - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp.runtime.win-x86/libClangSharp.runtime.win-x86.nuspec b/packages/libClangSharp/libClangSharp.runtime.win-x86/libClangSharp.runtime.win-x86.nuspec index 460225e5..1fda8f26 100644 --- a/packages/libClangSharp/libClangSharp.runtime.win-x86/libClangSharp.runtime.win-x86.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.win-x86/libClangSharp.runtime.win-x86.nuspec @@ -2,7 +2,7 @@ libClangSharp.runtime.win-x86 - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp/libClangSharp.nuspec b/packages/libClangSharp/libClangSharp/libClangSharp.nuspec index 68396024..31005b74 100644 --- a/packages/libClangSharp/libClangSharp/libClangSharp.nuspec +++ b/packages/libClangSharp/libClangSharp/libClangSharp.nuspec @@ -2,7 +2,7 @@ libClangSharp - 12.0.0-beta1 + 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libClangSharp/libClangSharp/runtime.json b/packages/libClangSharp/libClangSharp/runtime.json index 3571db51..ee8dc457 100644 --- a/packages/libClangSharp/libClangSharp/runtime.json +++ b/packages/libClangSharp/libClangSharp/runtime.json @@ -2,57 +2,57 @@ "runtimes": { "freebsd.11-x64": { "libClangSharp": { - "libClangSharp.runtime.freebsd.11-x64": "12.0.0-beta1" + "libClangSharp.runtime.freebsd.11-x64": "13.0.0-beta1" } }, "freebsd.11-x86": { "libClangSharp": { - "libClangSharp.runtime.freebsd.11-x86": "12.0.0-beta1" + "libClangSharp.runtime.freebsd.11-x86": "13.0.0-beta1" } }, "linux-arm": { "libClangSharp": { - "libClangSharp.runtime.linux-arm": "12.0.0-beta1" + "libClangSharp.runtime.linux-arm": "13.0.0-beta1" } }, "linux-arm64": { "libClangSharp": { - "libClangSharp.runtime.linux-arm64": "12.0.0-beta1" + "libClangSharp.runtime.linux-arm64": "13.0.0-beta1" } }, "osx-x64": { "libClangSharp": { - "libClangSharp.runtime.osx-x64": "12.0.0-beta1" + "libClangSharp.runtime.osx-x64": "13.0.0-beta1" } }, "ubuntu.18.04-x64": { "libClangSharp": { - "libClangSharp.runtime.ubuntu.18.04-x64": "12.0.0-beta1" + "libClangSharp.runtime.ubuntu.18.04-x64": "13.0.0-beta1" } }, "ubuntu.20.04-x64": { "libClangSharp": { - "libClangSharp.runtime.ubuntu.20.04-x64": "12.0.0-beta1" + "libClangSharp.runtime.ubuntu.20.04-x64": "13.0.0-beta1" } }, "ubuntu.21.04-x64": { "libClangSharp": { - "libClangSharp.runtime.ubuntu.21.04-x64": "12.0.0-beta1" + "libClangSharp.runtime.ubuntu.21.04-x64": "13.0.0-beta1" } }, "win-arm64": { "libClangSharp": { - "libClangSharp.runtime.win-arm64": "12.0.0-beta1" + "libClangSharp.runtime.win-arm64": "13.0.0-beta1" } }, "win-x64": { "libClangSharp": { - "libClangSharp.runtime.win-x64": "12.0.0-beta1" + "libClangSharp.runtime.win-x64": "13.0.0-beta1" } }, "win-x86": { "libClangSharp": { - "libClangSharp.runtime.win-x86": "12.0.0-beta1" + "libClangSharp.runtime.win-x86": "13.0.0-beta1" } } } diff --git a/packages/libclang/libclang.runtime.freebsd.11-x64/libclang.runtime.freebsd.11-x64.nuspec b/packages/libclang/libclang.runtime.freebsd.11-x64/libclang.runtime.freebsd.11-x64.nuspec index 32ea0676..1a355375 100644 --- a/packages/libclang/libclang.runtime.freebsd.11-x64/libclang.runtime.freebsd.11-x64.nuspec +++ b/packages/libclang/libclang.runtime.freebsd.11-x64/libclang.runtime.freebsd.11-x64.nuspec @@ -2,7 +2,7 @@ libclang.runtime.freebsd.11-x64 - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp freebsd 11 x64 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.freebsd.11-x86/libclang.runtime.freebsd.11-x86.nuspec b/packages/libclang/libclang.runtime.freebsd.11-x86/libclang.runtime.freebsd.11-x86.nuspec index cb042381..b1ec5ef1 100644 --- a/packages/libclang/libclang.runtime.freebsd.11-x86/libclang.runtime.freebsd.11-x86.nuspec +++ b/packages/libclang/libclang.runtime.freebsd.11-x86/libclang.runtime.freebsd.11-x86.nuspec @@ -2,7 +2,7 @@ libclang.runtime.freebsd.11-x86 - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp freebsd 11 x86 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.linux-arm/libclang.runtime.linux-arm.nuspec b/packages/libclang/libclang.runtime.linux-arm/libclang.runtime.linux-arm.nuspec index c00abd48..6ef5b0a2 100644 --- a/packages/libclang/libclang.runtime.linux-arm/libclang.runtime.linux-arm.nuspec +++ b/packages/libclang/libclang.runtime.linux-arm/libclang.runtime.linux-arm.nuspec @@ -2,7 +2,7 @@ libclang.runtime.linux-arm - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp linux arm native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.linux-arm64/libclang.runtime.linux-arm64.nuspec b/packages/libclang/libclang.runtime.linux-arm64/libclang.runtime.linux-arm64.nuspec index aee059d1..862741cf 100644 --- a/packages/libclang/libclang.runtime.linux-arm64/libclang.runtime.linux-arm64.nuspec +++ b/packages/libclang/libclang.runtime.linux-arm64/libclang.runtime.linux-arm64.nuspec @@ -1,8 +1,9 @@ + libclang.runtime.linux-arm64 - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +11,7 @@ https://github.com/microsoft/clangsharp linux arm64 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.osx-x64/libclang.runtime.osx-x64.nuspec b/packages/libclang/libclang.runtime.osx-x64/libclang.runtime.osx-x64.nuspec index e3cab3a6..6b7eeac8 100644 --- a/packages/libclang/libclang.runtime.osx-x64/libclang.runtime.osx-x64.nuspec +++ b/packages/libclang/libclang.runtime.osx-x64/libclang.runtime.osx-x64.nuspec @@ -2,7 +2,7 @@ libclang.runtime.osx-x64 - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp osx x64 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.ubuntu.18.04-x64/libclang.runtime.ubuntu.18.04-x64.nuspec b/packages/libclang/libclang.runtime.ubuntu.18.04-x64/libclang.runtime.ubuntu.18.04-x64.nuspec index 6c8b77b2..511dc9b8 100644 --- a/packages/libclang/libclang.runtime.ubuntu.18.04-x64/libclang.runtime.ubuntu.18.04-x64.nuspec +++ b/packages/libclang/libclang.runtime.ubuntu.18.04-x64/libclang.runtime.ubuntu.18.04-x64.nuspec @@ -2,7 +2,7 @@ libclang.runtime.ubuntu.18.04-x64 - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp ubuntu 18.04 x64 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.ubuntu.20.04-x64/libclang.runtime.ubuntu.20.04-x64.nuspec b/packages/libclang/libclang.runtime.ubuntu.20.04-x64/libclang.runtime.ubuntu.20.04-x64.nuspec index cdd0ada4..a99bf479 100644 --- a/packages/libclang/libclang.runtime.ubuntu.20.04-x64/libclang.runtime.ubuntu.20.04-x64.nuspec +++ b/packages/libclang/libclang.runtime.ubuntu.20.04-x64/libclang.runtime.ubuntu.20.04-x64.nuspec @@ -2,7 +2,7 @@ libclang.runtime.ubuntu.20.04-x64 - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp ubuntu 20.04 x64 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.ubuntu.21.04-x64/libclang.runtime.ubuntu.21.04-x64.nuspec b/packages/libclang/libclang.runtime.ubuntu.21.04-x64/libclang.runtime.ubuntu.21.04-x64.nuspec index 7692e42d..d9af7c59 100644 --- a/packages/libclang/libclang.runtime.ubuntu.21.04-x64/libclang.runtime.ubuntu.21.04-x64.nuspec +++ b/packages/libclang/libclang.runtime.ubuntu.21.04-x64/libclang.runtime.ubuntu.21.04-x64.nuspec @@ -2,7 +2,7 @@ libclang.runtime.ubuntu.21.04-x64 - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp ubuntu 21.04 x64 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.win-arm64/libclang.runtime.win-arm64.nuspec b/packages/libclang/libclang.runtime.win-arm64/libclang.runtime.win-arm64.nuspec index 5e38ba90..6713e399 100644 --- a/packages/libclang/libclang.runtime.win-arm64/libclang.runtime.win-arm64.nuspec +++ b/packages/libclang/libclang.runtime.win-arm64/libclang.runtime.win-arm64.nuspec @@ -2,7 +2,7 @@ libclang.runtime.win-arm64 - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp win arm64 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.win-x64/libclang.runtime.win-x64.nuspec b/packages/libclang/libclang.runtime.win-x64/libclang.runtime.win-x64.nuspec index 3c2a22b0..73961b36 100644 --- a/packages/libclang/libclang.runtime.win-x64/libclang.runtime.win-x64.nuspec +++ b/packages/libclang/libclang.runtime.win-x64/libclang.runtime.win-x64.nuspec @@ -2,7 +2,7 @@ libclang.runtime.win-x64 - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp win x64 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.win-x86/libclang.runtime.win-x86.nuspec b/packages/libclang/libclang.runtime.win-x86/libclang.runtime.win-x86.nuspec index 81e4b30f..4cc96cc0 100644 --- a/packages/libclang/libclang.runtime.win-x86/libclang.runtime.win-x86.nuspec +++ b/packages/libclang/libclang.runtime.win-x86/libclang.runtime.win-x86.nuspec @@ -2,7 +2,7 @@ libclang.runtime.win-x86 - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp win x86 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang/libclang.nuspec b/packages/libclang/libclang/libclang.nuspec index ed23fab7..ecab1f17 100644 --- a/packages/libclang/libclang/libclang.nuspec +++ b/packages/libclang/libclang/libclang.nuspec @@ -2,7 +2,7 @@ libclang - 12.0.0 + 13.0.0 Microsoft and Contributors Microsoft and Contributors true @@ -10,7 +10,7 @@ https://github.com/microsoft/clangsharp Multi-platform native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang/runtime.json b/packages/libclang/libclang/runtime.json index bea0d037..398c3e3d 100644 --- a/packages/libclang/libclang/runtime.json +++ b/packages/libclang/libclang/runtime.json @@ -1,58 +1,58 @@ -{ +3{ "runtimes": { "freebsd.11-x64": { "libclang": { - "libclang.runtime.freebsd.11-x64": "12.0.0" + "libclang.runtime.freebsd.11-x64": "13.0.0" } }, "freebsd.11-x86": { "libclang": { - "libclang.runtime.freebsd.11-x86": "12.0.0" + "libclang.runtime.freebsd.11-x86": "13.0.0" } }, "linux-arm": { "libclang": { - "libclang.runtime.linux-arm": "12.0.0" + "libclang.runtime.linux-arm": "13.0.0" } }, "linux-arm64": { "libclang": { - "libclang.runtime.linux-arm64": "12.0.0" + "libclang.runtime.linux-arm64": "13.0.0" } }, "osx-x64": { "libclang": { - "libclang.runtime.osx-x64": "12.0.0" + "libclang.runtime.osx-x64": "13.0.0" } }, "ubuntu.18.04-x64": { "libclang": { - "libclang.runtime.ubuntu.18.04-x64": "12.0.0" + "libclang.runtime.ubuntu.18.04-x64": "13.0.0" } }, "ubuntu.20.04-x64": { "libclang": { - "libclang.runtime.ubuntu.20.04-x64": "12.0.0" + "libclang.runtime.ubuntu.20.04-x64": "13.0.0" } }, "ubuntu.21.04-x64": { "libclang": { - "libclang.runtime.ubuntu.21.04-x64": "12.0.0" + "libclang.runtime.ubuntu.21.04-x64": "13.0.0" } }, "win-arm64": { "libclang": { - "libclang.runtime.win-arm64": "12.0.0" + "libclang.runtime.win-arm64": "13.0.0" } }, "win-x64": { "libclang": { - "libclang.runtime.win-x64": "12.0.0" + "libclang.runtime.win-x64": "13.0.0" } }, "win-x86": { "libclang": { - "libclang.runtime.win-x86": "12.0.0" + "libclang.runtime.win-x86": "13.0.0" } } } diff --git a/sources/ClangSharp.Interop/CXAvailabilityKind.cs b/sources/ClangSharp.Interop/CXAvailabilityKind.cs index 8311f8c2..f80c3c35 100644 --- a/sources/ClangSharp.Interop/CXAvailabilityKind.cs +++ b/sources/ClangSharp.Interop/CXAvailabilityKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCallingConv.cs b/sources/ClangSharp.Interop/CXCallingConv.cs index 9a56301e..377bc5d0 100644 --- a/sources/ClangSharp.Interop/CXCallingConv.cs +++ b/sources/ClangSharp.Interop/CXCallingConv.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXChildVisitResult.cs b/sources/ClangSharp.Interop/CXChildVisitResult.cs index 4ff26a03..ff1779d2 100644 --- a/sources/ClangSharp.Interop/CXChildVisitResult.cs +++ b/sources/ClangSharp.Interop/CXChildVisitResult.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCodeCompleteResults.cs b/sources/ClangSharp.Interop/CXCodeCompleteResults.cs index 89066d6c..311c22fa 100644 --- a/sources/ClangSharp.Interop/CXCodeCompleteResults.cs +++ b/sources/ClangSharp.Interop/CXCodeCompleteResults.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCodeComplete_Flags.cs b/sources/ClangSharp.Interop/CXCodeComplete_Flags.cs index fa3f0028..287643cc 100644 --- a/sources/ClangSharp.Interop/CXCodeComplete_Flags.cs +++ b/sources/ClangSharp.Interop/CXCodeComplete_Flags.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXComment.cs b/sources/ClangSharp.Interop/CXComment.cs index 64850d88..5f7788d7 100644 --- a/sources/ClangSharp.Interop/CXComment.cs +++ b/sources/ClangSharp.Interop/CXComment.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCommentInlineCommandRenderKind.cs b/sources/ClangSharp.Interop/CXCommentInlineCommandRenderKind.cs index 56de68d8..1072890f 100644 --- a/sources/ClangSharp.Interop/CXCommentInlineCommandRenderKind.cs +++ b/sources/ClangSharp.Interop/CXCommentInlineCommandRenderKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCommentKind.cs b/sources/ClangSharp.Interop/CXCommentKind.cs index a203ca1a..1c6dcf3e 100644 --- a/sources/ClangSharp.Interop/CXCommentKind.cs +++ b/sources/ClangSharp.Interop/CXCommentKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCommentParamPassDirection.cs b/sources/ClangSharp.Interop/CXCommentParamPassDirection.cs index 2233f12c..3c3f6ae8 100644 --- a/sources/ClangSharp.Interop/CXCommentParamPassDirection.cs +++ b/sources/ClangSharp.Interop/CXCommentParamPassDirection.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCompilationDatabase_Error.cs b/sources/ClangSharp.Interop/CXCompilationDatabase_Error.cs index d8e2280b..de9213f2 100644 --- a/sources/ClangSharp.Interop/CXCompilationDatabase_Error.cs +++ b/sources/ClangSharp.Interop/CXCompilationDatabase_Error.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCompletionChunkKind.cs b/sources/ClangSharp.Interop/CXCompletionChunkKind.cs index d961da55..6a1df950 100644 --- a/sources/ClangSharp.Interop/CXCompletionChunkKind.cs +++ b/sources/ClangSharp.Interop/CXCompletionChunkKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCompletionContext.cs b/sources/ClangSharp.Interop/CXCompletionContext.cs index f48fd3c2..9b2b17ba 100644 --- a/sources/ClangSharp.Interop/CXCompletionContext.cs +++ b/sources/ClangSharp.Interop/CXCompletionContext.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCompletionResult.cs b/sources/ClangSharp.Interop/CXCompletionResult.cs index 8ec253d7..0d08d382 100644 --- a/sources/ClangSharp.Interop/CXCompletionResult.cs +++ b/sources/ClangSharp.Interop/CXCompletionResult.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCursor.cs b/sources/ClangSharp.Interop/CXCursor.cs index eefa2af7..18b2c2ef 100644 --- a/sources/ClangSharp.Interop/CXCursor.cs +++ b/sources/ClangSharp.Interop/CXCursor.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCursorAndRangeVisitor.cs b/sources/ClangSharp.Interop/CXCursorAndRangeVisitor.cs index b7fe28b7..08fc9e0e 100644 --- a/sources/ClangSharp.Interop/CXCursorAndRangeVisitor.cs +++ b/sources/ClangSharp.Interop/CXCursorAndRangeVisitor.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/sources/ClangSharp.Interop/CXCursorKind.cs b/sources/ClangSharp.Interop/CXCursorKind.cs index 99cf1d63..5c151d52 100644 --- a/sources/ClangSharp.Interop/CXCursorKind.cs +++ b/sources/ClangSharp.Interop/CXCursorKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCursorSetImpl.cs b/sources/ClangSharp.Interop/CXCursorSetImpl.cs index eddb1009..0bf420c2 100644 --- a/sources/ClangSharp.Interop/CXCursorSetImpl.cs +++ b/sources/ClangSharp.Interop/CXCursorSetImpl.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXCursorVisitor.cs b/sources/ClangSharp.Interop/CXCursorVisitor.cs index 95c5a650..9e712308 100644 --- a/sources/ClangSharp.Interop/CXCursorVisitor.cs +++ b/sources/ClangSharp.Interop/CXCursorVisitor.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System.Runtime.InteropServices; diff --git a/sources/ClangSharp.Interop/CXCursor_ExceptionSpecificationKind.cs b/sources/ClangSharp.Interop/CXCursor_ExceptionSpecificationKind.cs index 290ab5ac..d46c4d89 100644 --- a/sources/ClangSharp.Interop/CXCursor_ExceptionSpecificationKind.cs +++ b/sources/ClangSharp.Interop/CXCursor_ExceptionSpecificationKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXDiagnosticDisplayOptions.cs b/sources/ClangSharp.Interop/CXDiagnosticDisplayOptions.cs index 1d27b94c..338ef8c0 100644 --- a/sources/ClangSharp.Interop/CXDiagnosticDisplayOptions.cs +++ b/sources/ClangSharp.Interop/CXDiagnosticDisplayOptions.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXDiagnosticSeverity.cs b/sources/ClangSharp.Interop/CXDiagnosticSeverity.cs index c898781b..3a88c5a3 100644 --- a/sources/ClangSharp.Interop/CXDiagnosticSeverity.cs +++ b/sources/ClangSharp.Interop/CXDiagnosticSeverity.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXErrorCode.cs b/sources/ClangSharp.Interop/CXErrorCode.cs index cf292107..ac86b6b5 100644 --- a/sources/ClangSharp.Interop/CXErrorCode.cs +++ b/sources/ClangSharp.Interop/CXErrorCode.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXEvalResultKind.cs b/sources/ClangSharp.Interop/CXEvalResultKind.cs index c2709ec7..04a425d9 100644 --- a/sources/ClangSharp.Interop/CXEvalResultKind.cs +++ b/sources/ClangSharp.Interop/CXEvalResultKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXFieldVisitor.cs b/sources/ClangSharp.Interop/CXFieldVisitor.cs index 9c6618e8..f626fb0c 100644 --- a/sources/ClangSharp.Interop/CXFieldVisitor.cs +++ b/sources/ClangSharp.Interop/CXFieldVisitor.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System.Runtime.InteropServices; diff --git a/sources/ClangSharp.Interop/CXFileUniqueID.cs b/sources/ClangSharp.Interop/CXFileUniqueID.cs index e24ad074..4f394a2e 100644 --- a/sources/ClangSharp.Interop/CXFileUniqueID.cs +++ b/sources/ClangSharp.Interop/CXFileUniqueID.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXGlobalOptFlags.cs b/sources/ClangSharp.Interop/CXGlobalOptFlags.cs index d9b0f8fa..069eb2e9 100644 --- a/sources/ClangSharp.Interop/CXGlobalOptFlags.cs +++ b/sources/ClangSharp.Interop/CXGlobalOptFlags.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxAttrInfo.cs b/sources/ClangSharp.Interop/CXIdxAttrInfo.cs index a0bcb731..aef29b43 100644 --- a/sources/ClangSharp.Interop/CXIdxAttrInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxAttrInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxAttrKind.cs b/sources/ClangSharp.Interop/CXIdxAttrKind.cs index 268f2367..759175b0 100644 --- a/sources/ClangSharp.Interop/CXIdxAttrKind.cs +++ b/sources/ClangSharp.Interop/CXIdxAttrKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxBaseClassInfo.cs b/sources/ClangSharp.Interop/CXIdxBaseClassInfo.cs index 38dead29..4c58ab88 100644 --- a/sources/ClangSharp.Interop/CXIdxBaseClassInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxBaseClassInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxCXXClassDeclInfo.cs b/sources/ClangSharp.Interop/CXIdxCXXClassDeclInfo.cs index 2de6c30e..35807ddf 100644 --- a/sources/ClangSharp.Interop/CXIdxCXXClassDeclInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxCXXClassDeclInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxContainerInfo.cs b/sources/ClangSharp.Interop/CXIdxContainerInfo.cs index 33d8c7ae..a5738b21 100644 --- a/sources/ClangSharp.Interop/CXIdxContainerInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxContainerInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxDeclInfo.cs b/sources/ClangSharp.Interop/CXIdxDeclInfo.cs index b4d988cb..7ac4cd6e 100644 --- a/sources/ClangSharp.Interop/CXIdxDeclInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxDeclInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxDeclInfoFlags.cs b/sources/ClangSharp.Interop/CXIdxDeclInfoFlags.cs index bc26f259..302cec54 100644 --- a/sources/ClangSharp.Interop/CXIdxDeclInfoFlags.cs +++ b/sources/ClangSharp.Interop/CXIdxDeclInfoFlags.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxEntityCXXTemplateKind.cs b/sources/ClangSharp.Interop/CXIdxEntityCXXTemplateKind.cs index 5dfe6a2a..fc5b5f44 100644 --- a/sources/ClangSharp.Interop/CXIdxEntityCXXTemplateKind.cs +++ b/sources/ClangSharp.Interop/CXIdxEntityCXXTemplateKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxEntityInfo.cs b/sources/ClangSharp.Interop/CXIdxEntityInfo.cs index 89895432..6f80ea61 100644 --- a/sources/ClangSharp.Interop/CXIdxEntityInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxEntityInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxEntityKind.cs b/sources/ClangSharp.Interop/CXIdxEntityKind.cs index af51a08f..c975e223 100644 --- a/sources/ClangSharp.Interop/CXIdxEntityKind.cs +++ b/sources/ClangSharp.Interop/CXIdxEntityKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxEntityLanguage.cs b/sources/ClangSharp.Interop/CXIdxEntityLanguage.cs index cd2d8c2c..65785a91 100644 --- a/sources/ClangSharp.Interop/CXIdxEntityLanguage.cs +++ b/sources/ClangSharp.Interop/CXIdxEntityLanguage.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxEntityRefInfo.cs b/sources/ClangSharp.Interop/CXIdxEntityRefInfo.cs index bf5c66e8..f2f9c8f4 100644 --- a/sources/ClangSharp.Interop/CXIdxEntityRefInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxEntityRefInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxEntityRefKind.cs b/sources/ClangSharp.Interop/CXIdxEntityRefKind.cs index f021f758..d5a0aa99 100644 --- a/sources/ClangSharp.Interop/CXIdxEntityRefKind.cs +++ b/sources/ClangSharp.Interop/CXIdxEntityRefKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxIBOutletCollectionAttrInfo.cs b/sources/ClangSharp.Interop/CXIdxIBOutletCollectionAttrInfo.cs index 065532d8..71328ce0 100644 --- a/sources/ClangSharp.Interop/CXIdxIBOutletCollectionAttrInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxIBOutletCollectionAttrInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxImportedASTFileInfo.cs b/sources/ClangSharp.Interop/CXIdxImportedASTFileInfo.cs index 27c363be..069aacee 100644 --- a/sources/ClangSharp.Interop/CXIdxImportedASTFileInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxImportedASTFileInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxIncludedFileInfo.cs b/sources/ClangSharp.Interop/CXIdxIncludedFileInfo.cs index 88f7abce..5e3dba12 100644 --- a/sources/ClangSharp.Interop/CXIdxIncludedFileInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxIncludedFileInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxLoc.cs b/sources/ClangSharp.Interop/CXIdxLoc.cs index 808989df..eb49f989 100644 --- a/sources/ClangSharp.Interop/CXIdxLoc.cs +++ b/sources/ClangSharp.Interop/CXIdxLoc.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxObjCCategoryDeclInfo.cs b/sources/ClangSharp.Interop/CXIdxObjCCategoryDeclInfo.cs index ac4be3e5..35322a4e 100644 --- a/sources/ClangSharp.Interop/CXIdxObjCCategoryDeclInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxObjCCategoryDeclInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxObjCContainerDeclInfo.cs b/sources/ClangSharp.Interop/CXIdxObjCContainerDeclInfo.cs index 996e4b9c..92c7048d 100644 --- a/sources/ClangSharp.Interop/CXIdxObjCContainerDeclInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxObjCContainerDeclInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxObjCContainerKind.cs b/sources/ClangSharp.Interop/CXIdxObjCContainerKind.cs index 2b1845d6..d98196c7 100644 --- a/sources/ClangSharp.Interop/CXIdxObjCContainerKind.cs +++ b/sources/ClangSharp.Interop/CXIdxObjCContainerKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxObjCInterfaceDeclInfo.cs b/sources/ClangSharp.Interop/CXIdxObjCInterfaceDeclInfo.cs index 90040df7..200ea3c0 100644 --- a/sources/ClangSharp.Interop/CXIdxObjCInterfaceDeclInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxObjCInterfaceDeclInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxObjCPropertyDeclInfo.cs b/sources/ClangSharp.Interop/CXIdxObjCPropertyDeclInfo.cs index b94bd3ee..ffbf1a7a 100644 --- a/sources/ClangSharp.Interop/CXIdxObjCPropertyDeclInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxObjCPropertyDeclInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxObjCProtocolRefInfo.cs b/sources/ClangSharp.Interop/CXIdxObjCProtocolRefInfo.cs index 1d4d369c..84cb98bb 100644 --- a/sources/ClangSharp.Interop/CXIdxObjCProtocolRefInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxObjCProtocolRefInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXIdxObjCProtocolRefListInfo.cs b/sources/ClangSharp.Interop/CXIdxObjCProtocolRefListInfo.cs index 5bb1ecbc..04faadf9 100644 --- a/sources/ClangSharp.Interop/CXIdxObjCProtocolRefListInfo.cs +++ b/sources/ClangSharp.Interop/CXIdxObjCProtocolRefListInfo.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXInclusionVisitor.cs b/sources/ClangSharp.Interop/CXInclusionVisitor.cs index a82da46b..808bf092 100644 --- a/sources/ClangSharp.Interop/CXInclusionVisitor.cs +++ b/sources/ClangSharp.Interop/CXInclusionVisitor.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System.Runtime.InteropServices; diff --git a/sources/ClangSharp.Interop/CXIndexOptFlags.cs b/sources/ClangSharp.Interop/CXIndexOptFlags.cs index f0cbe6b0..c86a7db5 100644 --- a/sources/ClangSharp.Interop/CXIndexOptFlags.cs +++ b/sources/ClangSharp.Interop/CXIndexOptFlags.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXLanguageKind.cs b/sources/ClangSharp.Interop/CXLanguageKind.cs index b7fa7444..a6891105 100644 --- a/sources/ClangSharp.Interop/CXLanguageKind.cs +++ b/sources/ClangSharp.Interop/CXLanguageKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXLinkageKind.cs b/sources/ClangSharp.Interop/CXLinkageKind.cs index 548e3815..fad04054 100644 --- a/sources/ClangSharp.Interop/CXLinkageKind.cs +++ b/sources/ClangSharp.Interop/CXLinkageKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXLoadDiag_Error.cs b/sources/ClangSharp.Interop/CXLoadDiag_Error.cs index 108083d9..bb211d7b 100644 --- a/sources/ClangSharp.Interop/CXLoadDiag_Error.cs +++ b/sources/ClangSharp.Interop/CXLoadDiag_Error.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXModuleMapDescriptorImpl.cs b/sources/ClangSharp.Interop/CXModuleMapDescriptorImpl.cs index f3d38d9b..8670eb63 100644 --- a/sources/ClangSharp.Interop/CXModuleMapDescriptorImpl.cs +++ b/sources/ClangSharp.Interop/CXModuleMapDescriptorImpl.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXNameRefFlags.cs b/sources/ClangSharp.Interop/CXNameRefFlags.cs index 3fbe0ec7..0b37e867 100644 --- a/sources/ClangSharp.Interop/CXNameRefFlags.cs +++ b/sources/ClangSharp.Interop/CXNameRefFlags.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXObjCDeclQualifierKind.cs b/sources/ClangSharp.Interop/CXObjCDeclQualifierKind.cs index 489ec04d..c755da99 100644 --- a/sources/ClangSharp.Interop/CXObjCDeclQualifierKind.cs +++ b/sources/ClangSharp.Interop/CXObjCDeclQualifierKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXObjCPropertyAttrKind.cs b/sources/ClangSharp.Interop/CXObjCPropertyAttrKind.cs index fc5314e2..71c5f789 100644 --- a/sources/ClangSharp.Interop/CXObjCPropertyAttrKind.cs +++ b/sources/ClangSharp.Interop/CXObjCPropertyAttrKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXPlatformAvailability.cs b/sources/ClangSharp.Interop/CXPlatformAvailability.cs index 398fe182..9adc118e 100644 --- a/sources/ClangSharp.Interop/CXPlatformAvailability.cs +++ b/sources/ClangSharp.Interop/CXPlatformAvailability.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXPrintingPolicyProperty.cs b/sources/ClangSharp.Interop/CXPrintingPolicyProperty.cs index a9a3c8c0..b3cac905 100644 --- a/sources/ClangSharp.Interop/CXPrintingPolicyProperty.cs +++ b/sources/ClangSharp.Interop/CXPrintingPolicyProperty.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXRefQualifierKind.cs b/sources/ClangSharp.Interop/CXRefQualifierKind.cs index 5158abc7..6d92316d 100644 --- a/sources/ClangSharp.Interop/CXRefQualifierKind.cs +++ b/sources/ClangSharp.Interop/CXRefQualifierKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXReparse_Flags.cs b/sources/ClangSharp.Interop/CXReparse_Flags.cs index ea791319..74dd8732 100644 --- a/sources/ClangSharp.Interop/CXReparse_Flags.cs +++ b/sources/ClangSharp.Interop/CXReparse_Flags.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXResult.cs b/sources/ClangSharp.Interop/CXResult.cs index 4cef46f2..b01abf3f 100644 --- a/sources/ClangSharp.Interop/CXResult.cs +++ b/sources/ClangSharp.Interop/CXResult.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXSaveError.cs b/sources/ClangSharp.Interop/CXSaveError.cs index 19d5226f..5987afeb 100644 --- a/sources/ClangSharp.Interop/CXSaveError.cs +++ b/sources/ClangSharp.Interop/CXSaveError.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXSaveTranslationUnit_Flags.cs b/sources/ClangSharp.Interop/CXSaveTranslationUnit_Flags.cs index a5bb7fce..76bfced0 100644 --- a/sources/ClangSharp.Interop/CXSaveTranslationUnit_Flags.cs +++ b/sources/ClangSharp.Interop/CXSaveTranslationUnit_Flags.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXSourceLocation.cs b/sources/ClangSharp.Interop/CXSourceLocation.cs index 3b6220d5..21703850 100644 --- a/sources/ClangSharp.Interop/CXSourceLocation.cs +++ b/sources/ClangSharp.Interop/CXSourceLocation.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXSourceRange.cs b/sources/ClangSharp.Interop/CXSourceRange.cs index 960056c0..081b22da 100644 --- a/sources/ClangSharp.Interop/CXSourceRange.cs +++ b/sources/ClangSharp.Interop/CXSourceRange.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXSourceRangeList.cs b/sources/ClangSharp.Interop/CXSourceRangeList.cs index b50298cc..44af24b5 100644 --- a/sources/ClangSharp.Interop/CXSourceRangeList.cs +++ b/sources/ClangSharp.Interop/CXSourceRangeList.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXString.cs b/sources/ClangSharp.Interop/CXString.cs index cd0842b9..ccf319eb 100644 --- a/sources/ClangSharp.Interop/CXString.cs +++ b/sources/ClangSharp.Interop/CXString.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXStringSet.cs b/sources/ClangSharp.Interop/CXStringSet.cs index e5b5c27e..5cd10565 100644 --- a/sources/ClangSharp.Interop/CXStringSet.cs +++ b/sources/ClangSharp.Interop/CXStringSet.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXSymbolRole.cs b/sources/ClangSharp.Interop/CXSymbolRole.cs index 8064ca90..c008a57e 100644 --- a/sources/ClangSharp.Interop/CXSymbolRole.cs +++ b/sources/ClangSharp.Interop/CXSymbolRole.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTLSKind.cs b/sources/ClangSharp.Interop/CXTLSKind.cs index 8c89a59f..4499c023 100644 --- a/sources/ClangSharp.Interop/CXTLSKind.cs +++ b/sources/ClangSharp.Interop/CXTLSKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTUResourceUsage.cs b/sources/ClangSharp.Interop/CXTUResourceUsage.cs index 4c420609..27fe2c15 100644 --- a/sources/ClangSharp.Interop/CXTUResourceUsage.cs +++ b/sources/ClangSharp.Interop/CXTUResourceUsage.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTUResourceUsageEntry.cs b/sources/ClangSharp.Interop/CXTUResourceUsageEntry.cs index 969ad27c..515fb08b 100644 --- a/sources/ClangSharp.Interop/CXTUResourceUsageEntry.cs +++ b/sources/ClangSharp.Interop/CXTUResourceUsageEntry.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/sources/ClangSharp.Interop/CXTUResourceUsageKind.cs b/sources/ClangSharp.Interop/CXTUResourceUsageKind.cs index 855dfc4a..18b430cb 100644 --- a/sources/ClangSharp.Interop/CXTUResourceUsageKind.cs +++ b/sources/ClangSharp.Interop/CXTUResourceUsageKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTargetInfoImpl.cs b/sources/ClangSharp.Interop/CXTargetInfoImpl.cs index d86786db..160de983 100644 --- a/sources/ClangSharp.Interop/CXTargetInfoImpl.cs +++ b/sources/ClangSharp.Interop/CXTargetInfoImpl.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTemplateArgumentKind.cs b/sources/ClangSharp.Interop/CXTemplateArgumentKind.cs index 1e4b9f60..517c4a25 100644 --- a/sources/ClangSharp.Interop/CXTemplateArgumentKind.cs +++ b/sources/ClangSharp.Interop/CXTemplateArgumentKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXToken.cs b/sources/ClangSharp.Interop/CXToken.cs index 16af51ff..f8bc9079 100644 --- a/sources/ClangSharp.Interop/CXToken.cs +++ b/sources/ClangSharp.Interop/CXToken.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTokenKind.cs b/sources/ClangSharp.Interop/CXTokenKind.cs index 3bd96d3b..5870480e 100644 --- a/sources/ClangSharp.Interop/CXTokenKind.cs +++ b/sources/ClangSharp.Interop/CXTokenKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTranslationUnitImpl.cs b/sources/ClangSharp.Interop/CXTranslationUnitImpl.cs index 4575e119..bb86ee0e 100644 --- a/sources/ClangSharp.Interop/CXTranslationUnitImpl.cs +++ b/sources/ClangSharp.Interop/CXTranslationUnitImpl.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTranslationUnit_Flags.cs b/sources/ClangSharp.Interop/CXTranslationUnit_Flags.cs index 015eeb98..02515764 100644 --- a/sources/ClangSharp.Interop/CXTranslationUnit_Flags.cs +++ b/sources/ClangSharp.Interop/CXTranslationUnit_Flags.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXType.cs b/sources/ClangSharp.Interop/CXType.cs index 674d004a..15fb255c 100644 --- a/sources/ClangSharp.Interop/CXType.cs +++ b/sources/ClangSharp.Interop/CXType.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTypeKind.cs b/sources/ClangSharp.Interop/CXTypeKind.cs index cdef0af6..057afe1f 100644 --- a/sources/ClangSharp.Interop/CXTypeKind.cs +++ b/sources/ClangSharp.Interop/CXTypeKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTypeLayoutError.cs b/sources/ClangSharp.Interop/CXTypeLayoutError.cs index e51d56bb..a778b24d 100644 --- a/sources/ClangSharp.Interop/CXTypeLayoutError.cs +++ b/sources/ClangSharp.Interop/CXTypeLayoutError.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXTypeNullabilityKind.cs b/sources/ClangSharp.Interop/CXTypeNullabilityKind.cs index 4e9ac9ca..4adff6fd 100644 --- a/sources/ClangSharp.Interop/CXTypeNullabilityKind.cs +++ b/sources/ClangSharp.Interop/CXTypeNullabilityKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXUnsavedFile.cs b/sources/ClangSharp.Interop/CXUnsavedFile.cs index a4822f74..ee4cd975 100644 --- a/sources/ClangSharp.Interop/CXUnsavedFile.cs +++ b/sources/ClangSharp.Interop/CXUnsavedFile.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/sources/ClangSharp.Interop/CXVersion.cs b/sources/ClangSharp.Interop/CXVersion.cs index 039deff7..fd2c4126 100644 --- a/sources/ClangSharp.Interop/CXVersion.cs +++ b/sources/ClangSharp.Interop/CXVersion.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXVirtualFileOverlayImpl.cs b/sources/ClangSharp.Interop/CXVirtualFileOverlayImpl.cs index 84e681ac..e8e40ea7 100644 --- a/sources/ClangSharp.Interop/CXVirtualFileOverlayImpl.cs +++ b/sources/ClangSharp.Interop/CXVirtualFileOverlayImpl.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXVisibilityKind.cs b/sources/ClangSharp.Interop/CXVisibilityKind.cs index 8c7b451f..cde1e4c7 100644 --- a/sources/ClangSharp.Interop/CXVisibilityKind.cs +++ b/sources/ClangSharp.Interop/CXVisibilityKind.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CXVisitorResult.cs b/sources/ClangSharp.Interop/CXVisitorResult.cs index 409e635b..34bdc8fa 100644 --- a/sources/ClangSharp.Interop/CXVisitorResult.cs +++ b/sources/ClangSharp.Interop/CXVisitorResult.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CX_CXXAccessSpecifier.cs b/sources/ClangSharp.Interop/CX_CXXAccessSpecifier.cs index 06a77918..1e70082a 100644 --- a/sources/ClangSharp.Interop/CX_CXXAccessSpecifier.cs +++ b/sources/ClangSharp.Interop/CX_CXXAccessSpecifier.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/CX_StorageClass.cs b/sources/ClangSharp.Interop/CX_StorageClass.cs index 81d89abe..e6ae2bda 100644 --- a/sources/ClangSharp.Interop/CX_StorageClass.cs +++ b/sources/ClangSharp.Interop/CX_StorageClass.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. namespace ClangSharp.Interop diff --git a/sources/ClangSharp.Interop/IndexerCallbacks.cs b/sources/ClangSharp.Interop/IndexerCallbacks.cs index 82cc09b1..19da73f7 100644 --- a/sources/ClangSharp.Interop/IndexerCallbacks.cs +++ b/sources/ClangSharp.Interop/IndexerCallbacks.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/sources/ClangSharp.Interop/clang.cs b/sources/ClangSharp.Interop/clang.cs index 642db0cc..5b71d4cd 100644 --- a/sources/ClangSharp.Interop/clang.cs +++ b/sources/ClangSharp.Interop/clang.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/sources/ClangSharpPInvokeGenerator/Properties/GenerateClang-LICENSE.txt b/sources/ClangSharpPInvokeGenerator/Properties/GenerateClang-LICENSE.txt index 3116677b..80e4b612 100644 --- a/sources/ClangSharpPInvokeGenerator/Properties/GenerateClang-LICENSE.txt +++ b/sources/ClangSharpPInvokeGenerator/Properties/GenerateClang-LICENSE.txt @@ -1,4 +1,4 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. diff --git a/sources/ClangSharpPInvokeGenerator/Properties/GenerateLLVM-LICENSE.txt b/sources/ClangSharpPInvokeGenerator/Properties/GenerateLLVM-LICENSE.txt index 1d0ec5b2..63922b1c 100644 --- a/sources/ClangSharpPInvokeGenerator/Properties/GenerateLLVM-LICENSE.txt +++ b/sources/ClangSharpPInvokeGenerator/Properties/GenerateLLVM-LICENSE.txt @@ -1,4 +1,4 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/llvm/include/llvm-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/llvm/include/llvm-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. diff --git a/sources/libClangSharp/CIndexDiagnostic.cpp b/sources/libClangSharp/CIndexDiagnostic.cpp index 6eda92af..128306c7 100644 --- a/sources/libClangSharp/CIndexDiagnostic.cpp +++ b/sources/libClangSharp/CIndexDiagnostic.cpp @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #include "CIndexDiagnostic.h" diff --git a/sources/libClangSharp/CIndexDiagnostic.h b/sources/libClangSharp/CIndexDiagnostic.h index 3c341031..0ada9c77 100644 --- a/sources/libClangSharp/CIndexDiagnostic.h +++ b/sources/libClangSharp/CIndexDiagnostic.h @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #ifndef LIBCLANGSHARP_CINDEXDIAGNOSTIC_H diff --git a/sources/libClangSharp/CXCursor.cpp b/sources/libClangSharp/CXCursor.cpp index 075a6aa0..15e63b8d 100644 --- a/sources/libClangSharp/CXCursor.cpp +++ b/sources/libClangSharp/CXCursor.cpp @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #include "ClangSharp.h" diff --git a/sources/libClangSharp/CXCursor.h b/sources/libClangSharp/CXCursor.h index 9c177364..99d0f19e 100644 --- a/sources/libClangSharp/CXCursor.h +++ b/sources/libClangSharp/CXCursor.h @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #ifndef LIBCLANGSHARP_CXCURSOR_H diff --git a/sources/libClangSharp/CXLoadedDiagnostic.cpp b/sources/libClangSharp/CXLoadedDiagnostic.cpp index 4438c3ed..d1e687ff 100644 --- a/sources/libClangSharp/CXLoadedDiagnostic.cpp +++ b/sources/libClangSharp/CXLoadedDiagnostic.cpp @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #include "CXLoadedDiagnostic.h" diff --git a/sources/libClangSharp/CXLoadedDiagnostic.h b/sources/libClangSharp/CXLoadedDiagnostic.h index 78e28b71..f30f5f99 100644 --- a/sources/libClangSharp/CXLoadedDiagnostic.h +++ b/sources/libClangSharp/CXLoadedDiagnostic.h @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #ifndef LIBCLANGSHARP_CXLOADEDDIAGNOSTIC_H diff --git a/sources/libClangSharp/CXSourceLocation.cpp b/sources/libClangSharp/CXSourceLocation.cpp index 24476ce3..fac71447 100644 --- a/sources/libClangSharp/CXSourceLocation.cpp +++ b/sources/libClangSharp/CXSourceLocation.cpp @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #include "ClangSharp.h" diff --git a/sources/libClangSharp/CXSourceLocation.h b/sources/libClangSharp/CXSourceLocation.h index 0702e532..04dc43e5 100644 --- a/sources/libClangSharp/CXSourceLocation.h +++ b/sources/libClangSharp/CXSourceLocation.h @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #ifndef LIBCLANGSHARP_CXSOURCELOCATION_H diff --git a/sources/libClangSharp/CXString.cpp b/sources/libClangSharp/CXString.cpp index ad99911a..70e01a5e 100644 --- a/sources/libClangSharp/CXString.cpp +++ b/sources/libClangSharp/CXString.cpp @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #include "CXString.h" diff --git a/sources/libClangSharp/CXString.h b/sources/libClangSharp/CXString.h index ee92fc87..80f34f27 100644 --- a/sources/libClangSharp/CXString.h +++ b/sources/libClangSharp/CXString.h @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #ifndef LIBCLANGSHARP_CXSTRING_H diff --git a/sources/libClangSharp/CXTranslationUnit.cpp b/sources/libClangSharp/CXTranslationUnit.cpp index 8a56777a..f6d85c6e 100644 --- a/sources/libClangSharp/CXTranslationUnit.cpp +++ b/sources/libClangSharp/CXTranslationUnit.cpp @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #include "CXTranslationUnit.h" diff --git a/sources/libClangSharp/CXTranslationUnit.h b/sources/libClangSharp/CXTranslationUnit.h index bc1feeb3..a2290213 100644 --- a/sources/libClangSharp/CXTranslationUnit.h +++ b/sources/libClangSharp/CXTranslationUnit.h @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #ifndef LIBCLANGSHARP_CXTRANSLATIONUNIT_H diff --git a/sources/libClangSharp/CXType.cpp b/sources/libClangSharp/CXType.cpp index 4f9bd78f..21ef4dbf 100644 --- a/sources/libClangSharp/CXType.cpp +++ b/sources/libClangSharp/CXType.cpp @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #include "ClangSharp.h" diff --git a/sources/libClangSharp/CXType.h b/sources/libClangSharp/CXType.h index 00122b2b..c30f7aef 100644 --- a/sources/libClangSharp/CXType.h +++ b/sources/libClangSharp/CXType.h @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/tools/libclang +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/tools/libclang // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. #ifndef LIBCLANGSHARP_CXTYPE_H diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXCodeCompleteResultsTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXCodeCompleteResultsTests.cs index f3e0f413..bff86d92 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXCodeCompleteResultsTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXCodeCompleteResultsTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXCommentTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXCommentTests.cs index 3972437d..e150af3c 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXCommentTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXCommentTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXCompletionResultTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXCompletionResultTests.cs index e92b8e8b..783fc51c 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXCompletionResultTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXCompletionResultTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXCursorAndRangeVisitorTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXCursorAndRangeVisitorTests.cs index 635a2006..14223d0d 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXCursorAndRangeVisitorTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXCursorAndRangeVisitorTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXCursorSetImplTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXCursorSetImplTests.cs index d95e1e47..2ae69e6e 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXCursorSetImplTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXCursorSetImplTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System.Runtime.InteropServices; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXCursorTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXCursorTests.cs index 904d74ce..ba2355d9 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXCursorTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXCursorTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXFileUniqueIDTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXFileUniqueIDTests.cs index bd72b6f0..7c78193e 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXFileUniqueIDTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXFileUniqueIDTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System.Runtime.InteropServices; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxAttrInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxAttrInfoTests.cs index f37310ea..e396371a 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxAttrInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxAttrInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxBaseClassInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxBaseClassInfoTests.cs index 51d12d62..1745011a 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxBaseClassInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxBaseClassInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxCXXClassDeclInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxCXXClassDeclInfoTests.cs index 9751078c..3ea939b9 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxCXXClassDeclInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxCXXClassDeclInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxContainerInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxContainerInfoTests.cs index 1c94a626..2cdab325 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxContainerInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxContainerInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxDeclInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxDeclInfoTests.cs index 1b310433..13755850 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxDeclInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxDeclInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxEntityInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxEntityInfoTests.cs index 809b84ef..76f3a5a1 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxEntityInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxEntityInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxEntityRefInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxEntityRefInfoTests.cs index 9f4628d8..d7640ab2 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxEntityRefInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxEntityRefInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxIBOutletCollectionAttrInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxIBOutletCollectionAttrInfoTests.cs index 3e1b3904..fca24986 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxIBOutletCollectionAttrInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxIBOutletCollectionAttrInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxImportedASTFileInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxImportedASTFileInfoTests.cs index 87d7b3b2..fb924c82 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxImportedASTFileInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxImportedASTFileInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxIncludedFileInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxIncludedFileInfoTests.cs index 77c44fb9..4a7c595c 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxIncludedFileInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxIncludedFileInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxLocTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxLocTests.cs index bd7527a4..4a94d253 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxLocTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxLocTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCCategoryDeclInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCCategoryDeclInfoTests.cs index 2f1a231b..ed98130b 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCCategoryDeclInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCCategoryDeclInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCContainerDeclInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCContainerDeclInfoTests.cs index 542da976..42c2937f 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCContainerDeclInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCContainerDeclInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCInterfaceDeclInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCInterfaceDeclInfoTests.cs index 2bf58a63..8566f821 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCInterfaceDeclInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCInterfaceDeclInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCPropertyDeclInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCPropertyDeclInfoTests.cs index 1aff2ecb..a95f8533 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCPropertyDeclInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCPropertyDeclInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCProtocolRefInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCProtocolRefInfoTests.cs index f7ad8510..311a9948 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCProtocolRefInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCProtocolRefInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCProtocolRefListInfoTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCProtocolRefListInfoTests.cs index 3f7eac37..3048cf9d 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCProtocolRefListInfoTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXIdxObjCProtocolRefListInfoTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXModuleMapDescriptorImplTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXModuleMapDescriptorImplTests.cs index 2758f58e..1739aba5 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXModuleMapDescriptorImplTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXModuleMapDescriptorImplTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System.Runtime.InteropServices; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXPlatformAvailabilityTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXPlatformAvailabilityTests.cs index 49cd8990..50b4ebd1 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXPlatformAvailabilityTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXPlatformAvailabilityTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXSourceLocationTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXSourceLocationTests.cs index ab297b3a..f486dc1f 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXSourceLocationTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXSourceLocationTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXSourceRangeListTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXSourceRangeListTests.cs index a156cad0..007cafb8 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXSourceRangeListTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXSourceRangeListTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXSourceRangeTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXSourceRangeTests.cs index e97516d1..c60606b8 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXSourceRangeTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXSourceRangeTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXStringSetTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXStringSetTests.cs index 133c5f53..01b11598 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXStringSetTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXStringSetTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXStringTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXStringTests.cs index 9a72b7ab..0a7d586a 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXStringTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXStringTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXTUResourceUsageEntryTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXTUResourceUsageEntryTests.cs index 3efba374..f1f058a5 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXTUResourceUsageEntryTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXTUResourceUsageEntryTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXTUResourceUsageTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXTUResourceUsageTests.cs index 6577fcb1..82ec2b91 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXTUResourceUsageTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXTUResourceUsageTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXTargetInfoImplTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXTargetInfoImplTests.cs index 035061b7..1f3dcbfd 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXTargetInfoImplTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXTargetInfoImplTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System.Runtime.InteropServices; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXTokenTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXTokenTests.cs index 07f5ee1c..c9bdb207 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXTokenTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXTokenTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXTranslationUnitImplTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXTranslationUnitImplTests.cs index 29995153..556dc546 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXTranslationUnitImplTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXTranslationUnitImplTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System.Runtime.InteropServices; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXTypeTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXTypeTests.cs index 940db7c4..7dbc177f 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXTypeTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXTypeTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXUnsavedFileTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXUnsavedFileTests.cs index 00c077cd..238bcd22 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXUnsavedFileTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXUnsavedFileTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXVersionTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXVersionTests.cs index ed2ced56..439e3611 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXVersionTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXVersionTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System.Runtime.InteropServices; diff --git a/tests/ClangSharp.UnitTests/InteropTests/CXVirtualFileOverlayImplTests.cs b/tests/ClangSharp.UnitTests/InteropTests/CXVirtualFileOverlayImplTests.cs index a086ea90..9ca16c47 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/CXVirtualFileOverlayImplTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/CXVirtualFileOverlayImplTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System.Runtime.InteropServices; diff --git a/tests/ClangSharp.UnitTests/InteropTests/IndexerCallbacksTests.cs b/tests/ClangSharp.UnitTests/InteropTests/IndexerCallbacksTests.cs index d4a11a55..970182cc 100644 --- a/tests/ClangSharp.UnitTests/InteropTests/IndexerCallbacksTests.cs +++ b/tests/ClangSharp.UnitTests/InteropTests/IndexerCallbacksTests.cs @@ -1,6 +1,6 @@ // Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. -// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-12.0.0/clang/include/clang-c +// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/clang/include/clang-c // Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information. using System; From 7a4a4af29718d8c840c8503e8ea465200b1ca14e Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Fri, 1 Oct 2021 19:31:11 -0700 Subject: [PATCH 2/8] Regenerating bindings for Clang v13.0.0 --- sources/ClangSharp.Interop/CXCallingConv.cs | 1 + sources/ClangSharp.Interop/CXCursorKind.cs | 8 ++++++- sources/ClangSharp.Interop/CX_AttrKind.cs | 16 +++++++++++--- sources/ClangSharp.Interop/CX_CastKind.cs | 1 + sources/ClangSharp.Interop/CX_DeclKind.cs | 8 +++++-- sources/ClangSharp.Interop/CX_StmtClass.cs | 9 ++++++++ .../ClangSharp.Interop/Extensions/CXCursor.cs | 1 + sources/ClangSharp.Interop/clang.cs | 8 +++---- .../ClangSharp/Cursors/Decls/BaseUsingDecl.cs | 18 ++++++++++++++++ .../Decls/UnresolvedUsingIfExistsDecl.cs | 13 ++++++++++++ sources/ClangSharp/Cursors/Decls/UsingDecl.cs | 2 +- .../ClangSharp/Cursors/Decls/UsingEnumDecl.cs | 21 +++++++++++++++++++ .../Properties/GenerateClangSharp.rsp | 2 +- .../Properties/GenerateLLVM.rsp | 1 + 14 files changed, 97 insertions(+), 12 deletions(-) create mode 100644 sources/ClangSharp/Cursors/Decls/BaseUsingDecl.cs create mode 100644 sources/ClangSharp/Cursors/Decls/UnresolvedUsingIfExistsDecl.cs create mode 100644 sources/ClangSharp/Cursors/Decls/UsingEnumDecl.cs diff --git a/sources/ClangSharp.Interop/CXCallingConv.cs b/sources/ClangSharp.Interop/CXCallingConv.cs index 377bc5d0..5e1b37bd 100644 --- a/sources/ClangSharp.Interop/CXCallingConv.cs +++ b/sources/ClangSharp.Interop/CXCallingConv.cs @@ -25,6 +25,7 @@ public enum CXCallingConv CXCallingConv_PreserveMost = 14, CXCallingConv_PreserveAll = 15, CXCallingConv_AArch64VectorCall = 16, + CXCallingConv_SwiftAsync = 17, CXCallingConv_Invalid = 100, CXCallingConv_Unexposed = 200, } diff --git a/sources/ClangSharp.Interop/CXCursorKind.cs b/sources/ClangSharp.Interop/CXCursorKind.cs index 5c151d52..df2a54f7 100644 --- a/sources/ClangSharp.Interop/CXCursorKind.cs +++ b/sources/ClangSharp.Interop/CXCursorKind.cs @@ -212,7 +212,13 @@ public enum CXCursorKind CXCursor_OMPParallelMasterDirective = 285, CXCursor_OMPDepobjDirective = 286, CXCursor_OMPScanDirective = 287, - CXCursor_LastStmt = CXCursor_OMPScanDirective, + CXCursor_OMPTileDirective = 288, + CXCursor_OMPCanonicalLoop = 289, + CXCursor_OMPInteropDirective = 290, + CXCursor_OMPDispatchDirective = 291, + CXCursor_OMPMaskedDirective = 292, + CXCursor_OMPUnrollDirective = 293, + CXCursor_LastStmt = CXCursor_OMPUnrollDirective, CXCursor_TranslationUnit = 300, CXCursor_FirstAttr = 400, CXCursor_UnexposedAttr = 400, diff --git a/sources/ClangSharp.Interop/CX_AttrKind.cs b/sources/ClangSharp.Interop/CX_AttrKind.cs index cc4d4d44..12a70ff3 100644 --- a/sources/ClangSharp.Interop/CX_AttrKind.cs +++ b/sources/ClangSharp.Interop/CX_AttrKind.cs @@ -30,6 +30,8 @@ public enum CX_AttrKind CX_AttrKind_UPtr, CX_AttrKind_FallThrough, CX_AttrKind_Likely, + CX_AttrKind_MustTail, + CX_AttrKind_OpenCLUnrollHint, CX_AttrKind_Suppress, CX_AttrKind_Unlikely, CX_AttrKind_NoMerge, @@ -49,10 +51,12 @@ public enum CX_AttrKind CX_AttrKind_PreserveMost, CX_AttrKind_RegCall, CX_AttrKind_StdCall, + CX_AttrKind_SwiftAsyncCall, CX_AttrKind_SwiftCall, CX_AttrKind_SysVABI, CX_AttrKind_ThisCall, CX_AttrKind_VectorCall, + CX_AttrKind_SwiftAsyncContext, CX_AttrKind_SwiftContext, CX_AttrKind_SwiftErrorResult, CX_AttrKind_SwiftIndirectResult, @@ -170,6 +174,7 @@ public enum CX_AttrKind CX_AttrKind_Leaf, CX_AttrKind_LockReturned, CX_AttrKind_LocksExcluded, + CX_AttrKind_M68kInterrupt, CX_AttrKind_MIGServerRoutine, CX_AttrKind_MSAllocator, CX_AttrKind_MSInheritance, @@ -200,6 +205,7 @@ public enum CX_AttrKind CX_AttrKind_NoInstrumentFunction, CX_AttrKind_NoMicroMips, CX_AttrKind_NoMips16, + CX_AttrKind_NoProfileFunction, CX_AttrKind_NoReturn, CX_AttrKind_NoSanitize, CX_AttrKind_NoSpeculativeLoadHardening, @@ -236,7 +242,6 @@ public enum CX_AttrKind CX_AttrKind_ObjCSubclassingRestricted, CX_AttrKind_OpenCLIntelReqdSubGroupSize, CX_AttrKind_OpenCLKernel, - CX_AttrKind_OpenCLUnrollHint, CX_AttrKind_OptimizeNone, CX_AttrKind_Override, CX_AttrKind_Owner, @@ -260,6 +265,7 @@ public enum CX_AttrKind CX_AttrKind_ReqdWorkGroupSize, CX_AttrKind_RequiresCapability, CX_AttrKind_Restrict, + CX_AttrKind_Retain, CX_AttrKind_ReturnTypestate, CX_AttrKind_ReturnsNonNull, CX_AttrKind_ReturnsTwice, @@ -271,8 +277,10 @@ public enum CX_AttrKind CX_AttrKind_SetTypestate, CX_AttrKind_SharedTrylockFunction, CX_AttrKind_SpeculativeLoadHardening, + CX_AttrKind_StandaloneDebug, CX_AttrKind_StrictFP, CX_AttrKind_SwiftAsync, + CX_AttrKind_SwiftAsyncError, CX_AttrKind_SwiftAsyncName, CX_AttrKind_SwiftAttr, CX_AttrKind_SwiftBridge, @@ -293,6 +301,7 @@ public enum CX_AttrKind CX_AttrKind_Uninitialized, CX_AttrKind_Unused, CX_AttrKind_Used, + CX_AttrKind_UsingIfExists, CX_AttrKind_Uuid, CX_AttrKind_VecReturn, CX_AttrKind_VecTypeHint, @@ -312,6 +321,7 @@ public enum CX_AttrKind CX_AttrKind_AbiTag, CX_AttrKind_Alias, CX_AttrKind_AlignValue, + CX_AttrKind_BuiltinAlias, CX_AttrKind_CalledOnce, CX_AttrKind_IFunc, CX_AttrKind_InitSeg, @@ -349,9 +359,9 @@ public enum CX_AttrKind CX_AttrKind_LastInheritableAttr = CX_AttrKind_XRayLogArgs, CX_AttrKind_FirstDeclOrTypeAttr = CX_AttrKind_AArch64VectorPcs, CX_AttrKind_LastDeclOrTypeAttr = CX_AttrKind_VectorCall, - CX_AttrKind_FirstInheritableParamAttr = CX_AttrKind_SwiftContext, + CX_AttrKind_FirstInheritableParamAttr = CX_AttrKind_SwiftAsyncContext, CX_AttrKind_LastInheritableParamAttr = CX_AttrKind_UseHandle, - CX_AttrKind_FirstParameterABIAttr = CX_AttrKind_SwiftContext, + CX_AttrKind_FirstParameterABIAttr = CX_AttrKind_SwiftAsyncContext, CX_AttrKind_LastParameterABIAttr = CX_AttrKind_SwiftIndirectResult, } } diff --git a/sources/ClangSharp.Interop/CX_CastKind.cs b/sources/ClangSharp.Interop/CX_CastKind.cs index 2f472c9f..51b320d1 100644 --- a/sources/ClangSharp.Interop/CX_CastKind.cs +++ b/sources/ClangSharp.Interop/CX_CastKind.cs @@ -31,6 +31,7 @@ public enum CX_CastKind CX_CK_PointerToIntegral, CX_CK_PointerToBoolean, CX_CK_ToVoid, + CX_CK_MatrixCast, CX_CK_VectorSplat, CX_CK_IntegralCast, CX_CK_IntegralToBoolean, diff --git a/sources/ClangSharp.Interop/CX_DeclKind.cs b/sources/ClangSharp.Interop/CX_DeclKind.cs index b587e218..b93314ab 100644 --- a/sources/ClangSharp.Interop/CX_DeclKind.cs +++ b/sources/ClangSharp.Interop/CX_DeclKind.cs @@ -19,6 +19,10 @@ public enum CX_DeclKind CX_DeclKind_Import, CX_DeclKind_LifetimeExtendedTemporary, CX_DeclKind_LinkageSpec, + CX_DeclKind_Using, + CX_DeclKind_UsingEnum, + CX_DeclKind_FirstBaseUsing = CX_DeclKind_Using, + CX_DeclKind_LastBaseUsing = CX_DeclKind_UsingEnum, CX_DeclKind_Label, CX_DeclKind_Namespace, CX_DeclKind_NamespaceAlias, @@ -67,7 +71,7 @@ public enum CX_DeclKind CX_DeclKind_UnresolvedUsingTypename, CX_DeclKind_FirstType = CX_DeclKind_Enum, CX_DeclKind_LastType = CX_DeclKind_UnresolvedUsingTypename, - CX_DeclKind_Using, + CX_DeclKind_UnresolvedUsingIfExists, CX_DeclKind_UsingDirective, CX_DeclKind_UsingPack, CX_DeclKind_UsingShadow, @@ -114,7 +118,7 @@ public enum CX_DeclKind CX_DeclKind_UnresolvedUsingValue, CX_DeclKind_FirstValue = CX_DeclKind_Binding, CX_DeclKind_LastValue = CX_DeclKind_UnresolvedUsingValue, - CX_DeclKind_FirstNamed = CX_DeclKind_Label, + CX_DeclKind_FirstNamed = CX_DeclKind_Using, CX_DeclKind_LastNamed = CX_DeclKind_UnresolvedUsingValue, CX_DeclKind_OMPAllocate, CX_DeclKind_OMPRequires, diff --git a/sources/ClangSharp.Interop/CX_StmtClass.cs b/sources/ClangSharp.Interop/CX_StmtClass.cs index 431f6f7a..b9c0d062 100644 --- a/sources/ClangSharp.Interop/CX_StmtClass.cs +++ b/sources/ClangSharp.Interop/CX_StmtClass.cs @@ -27,13 +27,16 @@ public enum CX_StmtClass CX_StmtClass_IndirectGotoStmt, CX_StmtClass_MSDependentExistsStmt, CX_StmtClass_NullStmt, + CX_StmtClass_OMPCanonicalLoop, CX_StmtClass_OMPAtomicDirective, CX_StmtClass_OMPBarrierDirective, CX_StmtClass_OMPCancelDirective, CX_StmtClass_OMPCancellationPointDirective, CX_StmtClass_OMPCriticalDirective, CX_StmtClass_OMPDepobjDirective, + CX_StmtClass_OMPDispatchDirective, CX_StmtClass_OMPFlushDirective, + CX_StmtClass_OMPInteropDirective, CX_StmtClass_OMPDistributeDirective, CX_StmtClass_OMPDistributeParallelForDirective, CX_StmtClass_OMPDistributeParallelForSimdDirective, @@ -61,6 +64,11 @@ public enum CX_StmtClass CX_StmtClass_OMPTeamsDistributeSimdDirective, CX_StmtClass_FirstOMPLoopDirective = CX_StmtClass_OMPDistributeDirective, CX_StmtClass_LastOMPLoopDirective = CX_StmtClass_OMPTeamsDistributeSimdDirective, + CX_StmtClass_OMPTileDirective, + CX_StmtClass_OMPUnrollDirective, + CX_StmtClass_FirstOMPLoopBasedDirective = CX_StmtClass_OMPDistributeDirective, + CX_StmtClass_LastOMPLoopBasedDirective = CX_StmtClass_OMPUnrollDirective, + CX_StmtClass_OMPMaskedDirective, CX_StmtClass_OMPMasterDirective, CX_StmtClass_OMPOrderedDirective, CX_StmtClass_OMPParallelDirective, @@ -233,6 +241,7 @@ public enum CX_StmtClass CX_StmtClass_PseudoObjectExpr, CX_StmtClass_RecoveryExpr, CX_StmtClass_RequiresExpr, + CX_StmtClass_SYCLUniqueStableNameExpr, CX_StmtClass_ShuffleVectorExpr, CX_StmtClass_SizeOfPackExpr, CX_StmtClass_SourceLocExpr, diff --git a/sources/ClangSharp.Interop/Extensions/CXCursor.cs b/sources/ClangSharp.Interop/Extensions/CXCursor.cs index f87be3ec..8aecccd5 100644 --- a/sources/ClangSharp.Interop/Extensions/CXCursor.cs +++ b/sources/ClangSharp.Interop/Extensions/CXCursor.cs @@ -421,6 +421,7 @@ public string CastKindSpelling CX_CastKind.CX_CK_PointerToIntegral => "PointerToIntegral", CX_CastKind.CX_CK_PointerToBoolean => "PointerToBoolean", CX_CastKind.CX_CK_ToVoid => "ToVoid", + CX_CastKind.CX_CK_MatrixCast => "MatrixCast", CX_CastKind.CX_CK_VectorSplat => "VectorSplat", CX_CastKind.CX_CK_IntegralCast => "IntegralCast", CX_CastKind.CX_CK_IntegralToBoolean => "IntegralToBoolean", diff --git a/sources/ClangSharp.Interop/clang.cs b/sources/ClangSharp.Interop/clang.cs index 5b71d4cd..184f836d 100644 --- a/sources/ClangSharp.Interop/clang.cs +++ b/sources/ClangSharp.Interop/clang.cs @@ -1352,14 +1352,14 @@ public static unsafe partial class clang [NativeTypeName("#define CINDEX_VERSION_MAJOR 0")] public const int CINDEX_VERSION_MAJOR = 0; - [NativeTypeName("#define CINDEX_VERSION_MINOR 61")] - public const int CINDEX_VERSION_MINOR = 61; + [NativeTypeName("#define CINDEX_VERSION_MINOR 62")] + public const int CINDEX_VERSION_MINOR = 62; [NativeTypeName("#define CINDEX_VERSION CINDEX_VERSION_ENCODE(CINDEX_VERSION_MAJOR, CINDEX_VERSION_MINOR)")] - public const int CINDEX_VERSION = (((0) * 10000) + ((61) * 1)); + public const int CINDEX_VERSION = (((0) * 10000) + ((62) * 1)); [NativeTypeName("#define CINDEX_VERSION_STRING CINDEX_VERSION_STRINGIZE(CINDEX_VERSION_MAJOR, CINDEX_VERSION_MINOR)")] - public static ReadOnlySpan CINDEX_VERSION_STRING => new byte[] { 0x30, 0x2E, 0x36, 0x31, 0x00 }; + public static ReadOnlySpan CINDEX_VERSION_STRING => new byte[] { 0x30, 0x2E, 0x36, 0x32, 0x00 }; [DllImport("libclang", CallingConvention = CallingConvention.Cdecl, EntryPoint = "clang_CXRewriter_create", ExactSpelling = true)] [return: NativeTypeName("CXRewriter")] diff --git a/sources/ClangSharp/Cursors/Decls/BaseUsingDecl.cs b/sources/ClangSharp/Cursors/Decls/BaseUsingDecl.cs new file mode 100644 index 00000000..2c366997 --- /dev/null +++ b/sources/ClangSharp/Cursors/Decls/BaseUsingDecl.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. + +using System; +using ClangSharp.Interop; + +namespace ClangSharp +{ + public class BaseUsingDecl : NamedDecl + { + private protected BaseUsingDecl(CXCursor handle, CXCursorKind expectedCursorKind, CX_DeclKind expectedDeclKind) : base(handle, expectedCursorKind, expectedDeclKind) + { + if (handle.DeclKind is > CX_DeclKind.CX_DeclKind_LastBaseUsing or < CX_DeclKind.CX_DeclKind_FirstBaseUsing) + { + throw new ArgumentOutOfRangeException(nameof(handle)); + } + } + } +} diff --git a/sources/ClangSharp/Cursors/Decls/UnresolvedUsingIfExistsDecl.cs b/sources/ClangSharp/Cursors/Decls/UnresolvedUsingIfExistsDecl.cs new file mode 100644 index 00000000..edd81a2d --- /dev/null +++ b/sources/ClangSharp/Cursors/Decls/UnresolvedUsingIfExistsDecl.cs @@ -0,0 +1,13 @@ +// Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. + +using ClangSharp.Interop; + +namespace ClangSharp +{ + public sealed class UnresolvedUsingIfExistsDecl : NamedDecl + { + internal UnresolvedUsingIfExistsDecl(CXCursor handle) : base(handle, CXCursorKind.CXCursor_UsingDeclaration, CX_DeclKind.CX_DeclKind_UnresolvedUsingIfExists) + { + } + } +} diff --git a/sources/ClangSharp/Cursors/Decls/UsingDecl.cs b/sources/ClangSharp/Cursors/Decls/UsingDecl.cs index 06254e85..344c80fa 100644 --- a/sources/ClangSharp/Cursors/Decls/UsingDecl.cs +++ b/sources/ClangSharp/Cursors/Decls/UsingDecl.cs @@ -4,7 +4,7 @@ namespace ClangSharp { - public sealed class UsingDecl : NamedDecl, IMergeable + public sealed class UsingDecl : BaseUsingDecl, IMergeable { internal UsingDecl(CXCursor handle) : base(handle, CXCursorKind.CXCursor_UsingDeclaration, CX_DeclKind.CX_DeclKind_Using) { diff --git a/sources/ClangSharp/Cursors/Decls/UsingEnumDecl.cs b/sources/ClangSharp/Cursors/Decls/UsingEnumDecl.cs new file mode 100644 index 00000000..ab874b88 --- /dev/null +++ b/sources/ClangSharp/Cursors/Decls/UsingEnumDecl.cs @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. + +using System; +using ClangSharp.Interop; + +namespace ClangSharp +{ + public sealed class UsingEnumDecl : BaseUsingDecl, IMergeable + { + private readonly Lazy _enumDecl; + + internal UsingEnumDecl(CXCursor handle) : base(handle, CXCursorKind.CXCursor_UnexposedDecl, CX_DeclKind.CX_DeclKind_UsingEnum) + { + _enumDecl = new Lazy(() => TranslationUnit.GetOrCreate(Handle.Definition)); + } + + public new UsingEnumDecl CanonicalDecl => (UsingEnumDecl)base.CanonicalDecl; + + public EnumDecl EnumDecl => _enumDecl.Value; + } +} diff --git a/sources/ClangSharpPInvokeGenerator/Properties/GenerateClangSharp.rsp b/sources/ClangSharpPInvokeGenerator/Properties/GenerateClangSharp.rsp index f4b5e196..c4915301 100644 --- a/sources/ClangSharpPInvokeGenerator/Properties/GenerateClangSharp.rsp +++ b/sources/ClangSharpPInvokeGenerator/Properties/GenerateClangSharp.rsp @@ -18,6 +18,6 @@ ClangSharp.Interop --remap MSGuidDeclParts=Guid --test-output -./tests/ClangSharp/Interop +./tests/ClangSharp.UnitTests/InteropTests --prefixStrip clangsharp_ diff --git a/sources/ClangSharpPInvokeGenerator/Properties/GenerateLLVM.rsp b/sources/ClangSharpPInvokeGenerator/Properties/GenerateLLVM.rsp index da2e4d0c..73241edd 100644 --- a/sources/ClangSharpPInvokeGenerator/Properties/GenerateLLVM.rsp +++ b/sources/ClangSharpPInvokeGenerator/Properties/GenerateLLVM.rsp @@ -37,6 +37,7 @@ llvm-c/Transforms/AggressiveInstCombine.h llvm-c/Transforms/Coroutines.h llvm-c/Transforms/InstCombine.h llvm-c/Transforms/IPO.h +llvm-c/Transforms/PassBuilder.h llvm-c/Transforms/PassManagerBuilder.h llvm-c/Transforms/Scalar.h llvm-c/Transforms/Utils.h From 8328ef58b32bb59f6a70bfd77dd740444c9d1a74 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Fri, 1 Oct 2021 19:40:25 -0700 Subject: [PATCH 3/8] Ensure that you can retrieve the current clangsharp version --- sources/ClangSharp.Interop/clangsharp.cs | 3 +++ sources/libClangSharp/ClangSharp.cpp | 4 ++++ sources/libClangSharp/ClangSharp.h | 2 ++ 3 files changed, 9 insertions(+) diff --git a/sources/ClangSharp.Interop/clangsharp.cs b/sources/ClangSharp.Interop/clangsharp.cs index 28a270ed..717c41e2 100644 --- a/sources/ClangSharp.Interop/clangsharp.cs +++ b/sources/ClangSharp.Interop/clangsharp.cs @@ -873,6 +873,9 @@ public static partial class clangsharp [return: NativeTypeName("int64_t")] public static extern long Cursor_getVtblIdx(CXCursor C); + [DllImport("libClangSharp", CallingConvention = CallingConvention.Cdecl, EntryPoint = "clangsharp_getVersion", ExactSpelling = true)] + public static extern CXString getVersion(); + [DllImport("libClangSharp", CallingConvention = CallingConvention.Cdecl, EntryPoint = "clangsharp_TemplateArgument_dispose", ExactSpelling = true)] public static extern void TemplateArgument_dispose(CX_TemplateArgument T); diff --git a/sources/libClangSharp/ClangSharp.cpp b/sources/libClangSharp/ClangSharp.cpp index 3960f01f..04801d90 100644 --- a/sources/libClangSharp/ClangSharp.cpp +++ b/sources/libClangSharp/ClangSharp.cpp @@ -4743,6 +4743,10 @@ int64_t clangsharp_Cursor_getVtblIdx(CXCursor C) { return -1; } +CXString clangsharp_getVersion() { + return cxstring::createDup("clangsharp version 13.0.0"); +} + void clangsharp_TemplateArgument_dispose(CX_TemplateArgument T) { if (T.xdata & 1) { return delete T.value; diff --git a/sources/libClangSharp/ClangSharp.h b/sources/libClangSharp/ClangSharp.h index 4f0b59b4..06f2c108 100644 --- a/sources/libClangSharp/ClangSharp.h +++ b/sources/libClangSharp/ClangSharp.h @@ -726,6 +726,8 @@ CLANGSHARP_LINKAGE int64_t clangsharp_Cursor_getDtorVtblIdx(CXCursor C, CX_Destr CLANGSHARP_LINKAGE int64_t clangsharp_Cursor_getVtblIdx(CXCursor C); +CLANGSHARP_LINKAGE CXString clangsharp_getVersion(); + CLANGSHARP_LINKAGE void clangsharp_TemplateArgument_dispose(CX_TemplateArgument T); CLANGSHARP_LINKAGE CXCursor clangsharp_TemplateArgument_getAsDecl(CX_TemplateArgument T); From 2ccfed3a972d0a881391be60ee940a7e5f27d665 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sat, 2 Oct 2021 08:20:29 -0700 Subject: [PATCH 4/8] Update MakeCXType and MakeCXCursor --- sources/libClangSharp/CXCursor.cpp | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/sources/libClangSharp/CXCursor.cpp b/sources/libClangSharp/CXCursor.cpp index 15e63b8d..7d785899 100644 --- a/sources/libClangSharp/CXCursor.cpp +++ b/sources/libClangSharp/CXCursor.cpp @@ -265,7 +265,7 @@ namespace clang::cxcursor { } CXCursor MakeCXCursor(const Stmt* S, const Decl* Parent, CXTranslationUnit TU, SourceRange RegionOfInterest) { - if (!S) { + if (!S || !TU) { return clang_getNullCursor(); } @@ -436,6 +436,7 @@ namespace clang::cxcursor { case Stmt::ObjCBoxedExprClass: case Stmt::ObjCSubscriptRefExprClass: case Stmt::RecoveryExprClass: + case Stmt::SYCLUniqueStableNameExprClass: K = CXCursor_UnexposedExpr; break; @@ -739,12 +740,21 @@ namespace clang::cxcursor { case Stmt::MSDependentExistsStmtClass: K = CXCursor_UnexposedStmt; break; + case Stmt::OMPCanonicalLoopClass: + K = CXCursor_OMPCanonicalLoop; + break; case Stmt::OMPParallelDirectiveClass: K = CXCursor_OMPParallelDirective; break; case Stmt::OMPSimdDirectiveClass: K = CXCursor_OMPSimdDirective; break; + case Stmt::OMPTileDirectiveClass: + K = CXCursor_OMPTileDirective; + break; + case Stmt::OMPUnrollDirectiveClass: + K = CXCursor_OMPUnrollDirective; + break; case Stmt::OMPForDirectiveClass: K = CXCursor_OMPForDirective; break; @@ -901,6 +911,15 @@ namespace clang::cxcursor { case Stmt::OMPTargetTeamsDistributeSimdDirectiveClass: K = CXCursor_OMPTargetTeamsDistributeSimdDirective; break; + case Stmt::OMPInteropDirectiveClass: + K = CXCursor_OMPInteropDirective; + break; + case Stmt::OMPDispatchDirectiveClass: + K = CXCursor_OMPDispatchDirective; + break; + case Stmt::OMPMaskedDirectiveClass: + K = CXCursor_OMPMaskedDirective; + break; case Stmt::BuiltinBitCastExprClass: K = CXCursor_BuiltinBitCastExpr; } From 476b1c89c748134011cf8c28b6d62845a20536c0 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sat, 9 Oct 2021 08:41:11 -0700 Subject: [PATCH 5/8] Remove FreeBSD 11, add FreeBSD 12/13 --- ...bClangSharp.runtime.freebsd.12-x64.nuspec} | 6 +++--- ...bClangSharp.runtime.freebsd.12-x86.nuspec} | 6 +++--- ...ibClangSharp.runtime.freebsd.13-x64.nuspec | 20 +++++++++++++++++++ ...ibClangSharp.runtime.freebsd.13-x86.nuspec | 20 +++++++++++++++++++ .../libClangSharp/libClangSharp/runtime.json | 18 +++++++++++++---- .../libclang.runtime.freebsd.12-x64.nuspec} | 6 +++--- .../libclang.runtime.freebsd.12-x86.nuspec} | 6 +++--- .../libclang.runtime.freebsd.13-x64.nuspec | 19 ++++++++++++++++++ .../libclang.runtime.freebsd.13-x86.nuspec | 19 ++++++++++++++++++ packages/libclang/libclang/runtime.json | 18 +++++++++++++---- 10 files changed, 118 insertions(+), 20 deletions(-) rename packages/libClangSharp/{libClangSharp.runtime.freebsd.11-x64/libClangSharp.runtime.freebsd.11-x64.nuspec => libClangSharp.runtime.freebsd.12-x64/libClangSharp.runtime.freebsd.12-x64.nuspec} (82%) rename packages/libClangSharp/{libClangSharp.runtime.freebsd.11-x86/libClangSharp.runtime.freebsd.11-x86.nuspec => libClangSharp.runtime.freebsd.12-x86/libClangSharp.runtime.freebsd.12-x86.nuspec} (82%) create mode 100644 packages/libClangSharp/libClangSharp.runtime.freebsd.13-x64/libClangSharp.runtime.freebsd.13-x64.nuspec create mode 100644 packages/libClangSharp/libClangSharp.runtime.freebsd.13-x86/libClangSharp.runtime.freebsd.13-x86.nuspec rename packages/libclang/{libclang.runtime.freebsd.11-x64/libclang.runtime.freebsd.11-x64.nuspec => libclang.runtime.freebsd.12-x64/libclang.runtime.freebsd.12-x64.nuspec} (81%) rename packages/libclang/{libclang.runtime.freebsd.11-x86/libclang.runtime.freebsd.11-x86.nuspec => libclang.runtime.freebsd.12-x86/libclang.runtime.freebsd.12-x86.nuspec} (81%) create mode 100644 packages/libclang/libclang.runtime.freebsd.13-x64/libclang.runtime.freebsd.13-x64.nuspec create mode 100644 packages/libclang/libclang.runtime.freebsd.13-x86/libclang.runtime.freebsd.13-x86.nuspec diff --git a/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x64/libClangSharp.runtime.freebsd.11-x64.nuspec b/packages/libClangSharp/libClangSharp.runtime.freebsd.12-x64/libClangSharp.runtime.freebsd.12-x64.nuspec similarity index 82% rename from packages/libClangSharp/libClangSharp.runtime.freebsd.11-x64/libClangSharp.runtime.freebsd.11-x64.nuspec rename to packages/libClangSharp/libClangSharp.runtime.freebsd.12-x64/libClangSharp.runtime.freebsd.12-x64.nuspec index a0de7d66..b046a7ec 100644 --- a/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x64/libClangSharp.runtime.freebsd.11-x64.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.freebsd.12-x64/libClangSharp.runtime.freebsd.12-x64.nuspec @@ -1,20 +1,20 @@ - libClangSharp.runtime.freebsd.11-x64 + libClangSharp.runtime.freebsd.12-x64 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true NCSA https://github.com/microsoft/clangsharp - freebsd 11 x64 native library for libClangSharp. + freebsd 12 x64 native library for libClangSharp. Copyright © Microsoft and Contributors - + diff --git a/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x86/libClangSharp.runtime.freebsd.11-x86.nuspec b/packages/libClangSharp/libClangSharp.runtime.freebsd.12-x86/libClangSharp.runtime.freebsd.12-x86.nuspec similarity index 82% rename from packages/libClangSharp/libClangSharp.runtime.freebsd.11-x86/libClangSharp.runtime.freebsd.11-x86.nuspec rename to packages/libClangSharp/libClangSharp.runtime.freebsd.12-x86/libClangSharp.runtime.freebsd.12-x86.nuspec index 9667519a..2ae0e806 100644 --- a/packages/libClangSharp/libClangSharp.runtime.freebsd.11-x86/libClangSharp.runtime.freebsd.11-x86.nuspec +++ b/packages/libClangSharp/libClangSharp.runtime.freebsd.12-x86/libClangSharp.runtime.freebsd.12-x86.nuspec @@ -1,20 +1,20 @@ - libClangSharp.runtime.freebsd.11-x86 + libClangSharp.runtime.freebsd.12-x86 13.0.0-beta1 Microsoft and Contributors Microsoft and Contributors true NCSA https://github.com/microsoft/clangsharp - freebsd 11 x86 native library for libClangSharp. + freebsd 12 x86 native library for libClangSharp. Copyright © Microsoft and Contributors - + diff --git a/packages/libClangSharp/libClangSharp.runtime.freebsd.13-x64/libClangSharp.runtime.freebsd.13-x64.nuspec b/packages/libClangSharp/libClangSharp.runtime.freebsd.13-x64/libClangSharp.runtime.freebsd.13-x64.nuspec new file mode 100644 index 00000000..7f948315 --- /dev/null +++ b/packages/libClangSharp/libClangSharp.runtime.freebsd.13-x64/libClangSharp.runtime.freebsd.13-x64.nuspec @@ -0,0 +1,20 @@ + + + + libClangSharp.runtime.freebsd.13-x64 + 13.0.0-beta1 + Microsoft and Contributors + Microsoft and Contributors + true + NCSA + https://github.com/microsoft/clangsharp + freebsd 13 x64 native library for libClangSharp. + Copyright © Microsoft and Contributors + + + + + + + + diff --git a/packages/libClangSharp/libClangSharp.runtime.freebsd.13-x86/libClangSharp.runtime.freebsd.13-x86.nuspec b/packages/libClangSharp/libClangSharp.runtime.freebsd.13-x86/libClangSharp.runtime.freebsd.13-x86.nuspec new file mode 100644 index 00000000..b3b85f51 --- /dev/null +++ b/packages/libClangSharp/libClangSharp.runtime.freebsd.13-x86/libClangSharp.runtime.freebsd.13-x86.nuspec @@ -0,0 +1,20 @@ + + + + libClangSharp.runtime.freebsd.13-x86 + 13.0.0-beta1 + Microsoft and Contributors + Microsoft and Contributors + true + NCSA + https://github.com/microsoft/clangsharp + freebsd 13 x86 native library for libClangSharp. + Copyright © Microsoft and Contributors + + + + + + + + diff --git a/packages/libClangSharp/libClangSharp/runtime.json b/packages/libClangSharp/libClangSharp/runtime.json index ee8dc457..04c79820 100644 --- a/packages/libClangSharp/libClangSharp/runtime.json +++ b/packages/libClangSharp/libClangSharp/runtime.json @@ -1,13 +1,23 @@ { "runtimes": { - "freebsd.11-x64": { + "freebsd.12-x64": { "libClangSharp": { - "libClangSharp.runtime.freebsd.11-x64": "13.0.0-beta1" + "libClangSharp.runtime.freebsd.12-x64": "13.0.0-beta1" } }, - "freebsd.11-x86": { + "freebsd.12-x86": { "libClangSharp": { - "libClangSharp.runtime.freebsd.11-x86": "13.0.0-beta1" + "libClangSharp.runtime.freebsd.12-x86": "13.0.0-beta1" + } + }, + "freebsd.13-x64": { + "libClangSharp": { + "libClangSharp.runtime.freebsd.13-x64": "13.0.0-beta1" + } + }, + "freebsd.13-x86": { + "libClangSharp": { + "libClangSharp.runtime.freebsd.13-x86": "13.0.0-beta1" } }, "linux-arm": { diff --git a/packages/libclang/libclang.runtime.freebsd.11-x64/libclang.runtime.freebsd.11-x64.nuspec b/packages/libclang/libclang.runtime.freebsd.12-x64/libclang.runtime.freebsd.12-x64.nuspec similarity index 81% rename from packages/libclang/libclang.runtime.freebsd.11-x64/libclang.runtime.freebsd.11-x64.nuspec rename to packages/libclang/libclang.runtime.freebsd.12-x64/libclang.runtime.freebsd.12-x64.nuspec index 1a355375..e082d246 100644 --- a/packages/libclang/libclang.runtime.freebsd.11-x64/libclang.runtime.freebsd.11-x64.nuspec +++ b/packages/libclang/libclang.runtime.freebsd.12-x64/libclang.runtime.freebsd.12-x64.nuspec @@ -1,19 +1,19 @@ - libclang.runtime.freebsd.11-x64 + libclang.runtime.freebsd.12-x64 13.0.0 Microsoft and Contributors Microsoft and Contributors true Apache-2.0 WITH LLVM-exception https://github.com/microsoft/clangsharp - freebsd 11 x64 native library for libclang. + freebsd 12 x64 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.freebsd.11-x86/libclang.runtime.freebsd.11-x86.nuspec b/packages/libclang/libclang.runtime.freebsd.12-x86/libclang.runtime.freebsd.12-x86.nuspec similarity index 81% rename from packages/libclang/libclang.runtime.freebsd.11-x86/libclang.runtime.freebsd.11-x86.nuspec rename to packages/libclang/libclang.runtime.freebsd.12-x86/libclang.runtime.freebsd.12-x86.nuspec index b1ec5ef1..0d005a4e 100644 --- a/packages/libclang/libclang.runtime.freebsd.11-x86/libclang.runtime.freebsd.11-x86.nuspec +++ b/packages/libclang/libclang.runtime.freebsd.12-x86/libclang.runtime.freebsd.12-x86.nuspec @@ -1,19 +1,19 @@ - libclang.runtime.freebsd.11-x86 + libclang.runtime.freebsd.12-x86 13.0.0 Microsoft and Contributors Microsoft and Contributors true Apache-2.0 WITH LLVM-exception https://github.com/microsoft/clangsharp - freebsd 11 x86 native library for libclang. + freebsd 12 x86 native library for libclang. Copyright © LLVM Project - + diff --git a/packages/libclang/libclang.runtime.freebsd.13-x64/libclang.runtime.freebsd.13-x64.nuspec b/packages/libclang/libclang.runtime.freebsd.13-x64/libclang.runtime.freebsd.13-x64.nuspec new file mode 100644 index 00000000..4d0b5b42 --- /dev/null +++ b/packages/libclang/libclang.runtime.freebsd.13-x64/libclang.runtime.freebsd.13-x64.nuspec @@ -0,0 +1,19 @@ + + + + libclang.runtime.freebsd.13-x64 + 13.0.0 + Microsoft and Contributors + Microsoft and Contributors + true + Apache-2.0 WITH LLVM-exception + https://github.com/microsoft/clangsharp + freebsd 13 x64 native library for libclang. + Copyright © LLVM Project + + + + + + + diff --git a/packages/libclang/libclang.runtime.freebsd.13-x86/libclang.runtime.freebsd.13-x86.nuspec b/packages/libclang/libclang.runtime.freebsd.13-x86/libclang.runtime.freebsd.13-x86.nuspec new file mode 100644 index 00000000..b3b6a728 --- /dev/null +++ b/packages/libclang/libclang.runtime.freebsd.13-x86/libclang.runtime.freebsd.13-x86.nuspec @@ -0,0 +1,19 @@ + + + + libclang.runtime.freebsd.13-x86 + 13.0.0 + Microsoft and Contributors + Microsoft and Contributors + true + Apache-2.0 WITH LLVM-exception + https://github.com/microsoft/clangsharp + freebsd 13 x86 native library for libclang. + Copyright © LLVM Project + + + + + + + diff --git a/packages/libclang/libclang/runtime.json b/packages/libclang/libclang/runtime.json index 398c3e3d..3d4f3c3c 100644 --- a/packages/libclang/libclang/runtime.json +++ b/packages/libclang/libclang/runtime.json @@ -1,13 +1,23 @@ 3{ "runtimes": { - "freebsd.11-x64": { + "freebsd.12-x64": { "libclang": { - "libclang.runtime.freebsd.11-x64": "13.0.0" + "libclang.runtime.freebsd.12-x64": "13.0.0" } }, - "freebsd.11-x86": { + "freebsd.12-x86": { "libclang": { - "libclang.runtime.freebsd.11-x86": "13.0.0" + "libclang.runtime.freebsd.12-x86": "13.0.0" + } + }, + "freebsd.13-x64": { + "libclang": { + "libclang.runtime.freebsd.13-x64": "13.0.0" + } + }, + "freebsd.13-x86": { + "libclang": { + "libclang.runtime.freebsd.13-x86": "13.0.0" } }, "linux-arm": { From fa027a055b314a0bbb01c099b3059dba476bc492 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sat, 9 Oct 2021 19:14:50 -0700 Subject: [PATCH 6/8] Updating libClang and libClangSharp dependencies to v13.0.0 and v13.0.0-beta1 --- Directory.Build.targets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index 1facae24..7e5adc52 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -33,8 +33,8 @@ - - + + From d459cd472bd67054d7d806d005b67212de921500 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sat, 9 Oct 2021 19:36:26 -0700 Subject: [PATCH 7/8] Minor fixups to support v13.0.0 --- Directory.Build.targets | 2 +- .../libclang.runtime.linux-arm64.nuspec | 1 - packages/libclang/libclang/libclang.nuspec | 2 +- packages/libclang/libclang/runtime.json | 2 +- .../ClangSharp.Interop/Extensions/CXCursor.cs | 2 +- .../Extensions/clang.ResolveLibrary.cs | 5 ++--- .../PInvokeGenerator.cs | 17 +++++++++++++++++ 7 files changed, 23 insertions(+), 8 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index 7e5adc52..4390bae9 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -33,7 +33,7 @@ - + diff --git a/packages/libclang/libclang.runtime.linux-arm64/libclang.runtime.linux-arm64.nuspec b/packages/libclang/libclang.runtime.linux-arm64/libclang.runtime.linux-arm64.nuspec index 862741cf..b347465f 100644 --- a/packages/libclang/libclang.runtime.linux-arm64/libclang.runtime.linux-arm64.nuspec +++ b/packages/libclang/libclang.runtime.linux-arm64/libclang.runtime.linux-arm64.nuspec @@ -1,4 +1,3 @@ - diff --git a/packages/libclang/libclang/libclang.nuspec b/packages/libclang/libclang/libclang.nuspec index ecab1f17..3496611d 100644 --- a/packages/libclang/libclang/libclang.nuspec +++ b/packages/libclang/libclang/libclang.nuspec @@ -2,7 +2,7 @@ libclang - 13.0.0 + 13.0.1 Microsoft and Contributors Microsoft and Contributors true diff --git a/packages/libclang/libclang/runtime.json b/packages/libclang/libclang/runtime.json index 3d4f3c3c..a2404a57 100644 --- a/packages/libclang/libclang/runtime.json +++ b/packages/libclang/libclang/runtime.json @@ -1,4 +1,4 @@ -3{ +{ "runtimes": { "freebsd.12-x64": { "libclang": { diff --git a/sources/ClangSharp.Interop/Extensions/CXCursor.cs b/sources/ClangSharp.Interop/Extensions/CXCursor.cs index 8aecccd5..25e8ad1f 100644 --- a/sources/ClangSharp.Interop/Extensions/CXCursor.cs +++ b/sources/ClangSharp.Interop/Extensions/CXCursor.cs @@ -562,7 +562,7 @@ public string DeclKindSpelling Debug.Assert(CX_DeclKind.CX_DeclKind_LastDeclarator == CX_DeclKind.CX_DeclKind_VarTemplatePartialSpecialization); Debug.Assert(CX_DeclKind.CX_DeclKind_FirstValue == CX_DeclKind.CX_DeclKind_Binding); Debug.Assert(CX_DeclKind.CX_DeclKind_LastValue == CX_DeclKind.CX_DeclKind_UnresolvedUsingValue); - Debug.Assert(CX_DeclKind.CX_DeclKind_FirstNamed == CX_DeclKind.CX_DeclKind_Label); + Debug.Assert(CX_DeclKind.CX_DeclKind_FirstNamed == CX_DeclKind.CX_DeclKind_Using); Debug.Assert(CX_DeclKind.CX_DeclKind_LastNamed == CX_DeclKind.CX_DeclKind_UnresolvedUsingValue); Debug.Assert(CX_DeclKind.CX_DeclKind_FirstDecl == CX_DeclKind.CX_DeclKind_AccessSpec); Debug.Assert(CX_DeclKind.CX_DeclKind_LastDecl == CX_DeclKind.CX_DeclKind_TranslationUnit); diff --git a/sources/ClangSharp.Interop/Extensions/clang.ResolveLibrary.cs b/sources/ClangSharp.Interop/Extensions/clang.ResolveLibrary.cs index a9cc8d98..9f35d802 100644 --- a/sources/ClangSharp.Interop/Extensions/clang.ResolveLibrary.cs +++ b/sources/ClangSharp.Interop/Extensions/clang.ResolveLibrary.cs @@ -17,7 +17,6 @@ static clang() private static IntPtr OnDllImport(string libraryName, Assembly assembly, DllImportSearchPath? searchPath) { - return TryResolveLibrary(libraryName, assembly, searchPath, out var nativeLibrary) ? nativeLibrary : libraryName.Equals("libclang") && TryResolveClang(assembly, searchPath, out nativeLibrary) @@ -29,8 +28,8 @@ private static IntPtr OnDllImport(string libraryName, Assembly assembly, DllImpo private static bool TryResolveClang(Assembly assembly, DllImportSearchPath? searchPath, out IntPtr nativeLibrary) { - return (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) && NativeLibrary.TryLoad("libclang.so.12", assembly, searchPath, out nativeLibrary)) - || (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) && NativeLibrary.TryLoad("libclang-12", assembly, searchPath, out nativeLibrary)) + return (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) && NativeLibrary.TryLoad("libclang.so.13", assembly, searchPath, out nativeLibrary)) + || (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) && NativeLibrary.TryLoad("libclang-13", assembly, searchPath, out nativeLibrary)) || (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) && NativeLibrary.TryLoad("libclang.so.1", assembly, searchPath, out nativeLibrary)) || NativeLibrary.TryLoad("libclang", assembly, searchPath, out nativeLibrary); } diff --git a/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs b/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs index 87c491b9..8e39c087 100644 --- a/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs +++ b/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs @@ -20,6 +20,9 @@ public sealed partial class PInvokeGenerator : IDisposable private const int DefaultStreamWriterBufferSize = 1024; private static readonly Encoding s_defaultStreamWriterEncoding = new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true); + private const string ExpectedClangVersion = "13.0.0"; + private const string ExpectedClangSharpVersion = "13.0.0"; + private readonly CXIndex _index; private readonly OutputBuilderFactory _outputBuilderFactory; private readonly Func _outputStreamFactory; @@ -52,6 +55,20 @@ public PInvokeGenerator(PInvokeGeneratorConfiguration config, Func { From aecf3170ea27055772f0d4bc716e3cd7da44c85c Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Sat, 9 Oct 2021 20:59:29 -0700 Subject: [PATCH 8/8] Ensure the returned name stays as "anonymous" rather than "unnamed" --- scripts/cibuild.sh | 2 +- sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/cibuild.sh b/scripts/cibuild.sh index a2665730..a161681b 100755 --- a/scripts/cibuild.sh +++ b/scripts/cibuild.sh @@ -8,4 +8,4 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli done ScriptRoot="$( cd -P "$( dirname "$SOURCE" )" && pwd )" -. "$ScriptRoot/build.sh" --ci "$@" +. "$ScriptRoot/build.sh" --restore --build --pack "$@" diff --git a/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs b/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs index 8e39c087..d69e41a0 100644 --- a/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs +++ b/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs @@ -1523,6 +1523,12 @@ private string GetTypeName(Cursor cursor, Cursor context, Type type, out string private string GetTypeName(Cursor cursor, Cursor context, Type rootType, Type type, out string nativeTypeName) { var name = type.AsString.Replace('\\', '/'); + + if (name.Contains("unnamed struct at")) + { + name = name.Replace("unnamed struct at", "anonymous struct at"); + } + nativeTypeName = name; if (type is ArrayType arrayType)