Skip to content

Commit 99e3a74

Browse files
committed
Merge from '"main"' to '"sycl-web"' (6 commits)
CONFLICT (content): Merge conflict in clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp CONFLICT (content): Merge conflict in clang/lib/Driver/ToolChains/Clang.cpp
2 parents 1502b4b + 35ebe4c commit 99e3a74

File tree

434 files changed

+13617
-8255
lines changed

Some content is hidden

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

434 files changed

+13617
-8255
lines changed

clang-tools-extra/clangd/Headers.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ class IncludeStructure {
125125
// populates the structure.
126126
std::unique_ptr<PPCallbacks> collect(const SourceManager &SM);
127127

128-
void setMainFileEntry(const FileEntry *Entry) {
129-
assert(Entry && Entry->isValid());
130-
this->MainFileEntry = Entry;
131-
}
132-
133128
// HeaderID identifies file in the include graph. It corresponds to a
134129
// FileEntry rather than a FileID, but stays stable across preamble & main
135130
// file builds.

clang/cmake/caches/Fuchsia-stage2.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unkn
120120
set(RUNTIMES_${target}_CMAKE_MODULE_LINKER_FLAGS "-fuse-ld=lld" CACHE STRING "")
121121
set(RUNTIMES_${target}_CMAKE_EXE_LINKER_FLAGS "-fuse-ld=lld" CACHE STRING "")
122122
set(RUNTIMES_${target}_COMPILER_RT_USE_BUILTINS_LIBRARY ON CACHE BOOL "")
123+
set(RUNTIMES_${target}_COMPILER_RT_CAN_EXECUTE_TESTS ON CACHE BOOL "")
123124
set(RUNTIMES_${target}_LIBUNWIND_ENABLE_SHARED OFF CACHE BOOL "")
124125
set(RUNTIMES_${target}_LIBUNWIND_USE_COMPILER_RT ON CACHE BOOL "")
125126
set(RUNTIMES_${target}_LIBCXXABI_USE_COMPILER_RT ON CACHE BOOL "")
@@ -269,6 +270,7 @@ set(LLVM_TOOLCHAIN_TOOLS
269270
llvm-ifs
270271
llvm-gsymutil
271272
llvm-lib
273+
llvm-libtool-darwin
272274
llvm-lipo
273275
llvm-mt
274276
llvm-nm

clang/docs/ClangFormattedStatus.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ tree in terms of conformance to :doc:`ClangFormat` as of: October 02, 2021 15:06
5959
- `1`
6060
- `0`
6161
- :good:`100%`
62-
* - clang/examples/clang-interpreter
63-
- `1`
64-
- `0`
65-
- `1`
66-
- :none:`0%`
6762
* - clang/examples/PrintFunctionNames
6863
- `1`
6964
- `0`

clang/examples/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ if(NOT CLANG_BUILD_EXAMPLES)
33
set(EXCLUDE_FROM_ALL ON)
44
endif()
55

6-
add_subdirectory(clang-interpreter)
76
add_subdirectory(PrintFunctionNames)
87
add_subdirectory(AnnotateFunctions)
98
add_subdirectory(Attribute)

clang/examples/clang-interpreter/CMakeLists.txt

Lines changed: 0 additions & 93 deletions
This file was deleted.

clang/examples/clang-interpreter/README.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

clang/examples/clang-interpreter/Test.cxx

Lines changed: 0 additions & 33 deletions
This file was deleted.

clang/include/clang/AST/ASTContext.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,8 +1091,6 @@ class ASTContext : public RefCountedBase<ASTContext> {
10911091
CanQualType HalfTy; // [OpenCL 6.1.1.1], ARM NEON
10921092
CanQualType BFloat16Ty;
10931093
CanQualType Float16Ty; // C11 extension ISO/IEC TS 18661-3
1094-
CanQualType FloatComplexTy, DoubleComplexTy, LongDoubleComplexTy;
1095-
CanQualType Float128ComplexTy;
10961094
CanQualType VoidPtrTy, NullPtrTy;
10971095
CanQualType DependentTy, OverloadTy, BoundMemberTy, UnknownAnyTy;
10981096
CanQualType BuiltinFnTy;

clang/include/clang/AST/DeclObjC.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1955,6 +1955,13 @@ class ObjCIvarDecl : public FieldDecl {
19551955
const ObjCIvarDecl *getNextIvar() const { return NextIvar; }
19561956
void setNextIvar(ObjCIvarDecl *ivar) { NextIvar = ivar; }
19571957

1958+
ObjCIvarDecl *getCanonicalDecl() override {
1959+
return cast<ObjCIvarDecl>(FieldDecl::getCanonicalDecl());
1960+
}
1961+
const ObjCIvarDecl *getCanonicalDecl() const {
1962+
return const_cast<ObjCIvarDecl *>(this)->getCanonicalDecl();
1963+
}
1964+
19581965
void setAccessControl(AccessControl ac) { DeclAccess = ac; }
19591966

19601967
AccessControl getAccessControl() const { return AccessControl(DeclAccess); }

clang/include/clang/Basic/LangOptions.def

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ LANGOPT(OpenMPCUDAReductionBufNum , 32, 1024, "Number of the reduction records i
244244
LANGOPT(OpenMPTargetNewRuntime , 1, 0, "Use the new bitcode library for OpenMP offloading")
245245
LANGOPT(OpenMPTargetDebug , 32, 0, "Enable debugging in the OpenMP offloading device RTL")
246246
LANGOPT(OpenMPOptimisticCollapse , 1, 0, "Use at most 32 bits to represent the collapsed loop nest counter.")
247+
LANGOPT(OpenMPThreadSubscription , 1, 0, "Assume work-shared loops do not have more iterations than participating threads.")
248+
LANGOPT(OpenMPTeamSubscription , 1, 0, "Assume distributed loops do not have more iterations than participating teams.")
247249
LANGOPT(RenderScript , 1, 0, "RenderScript")
248250

249251
LANGOPT(CUDAIsDevice , 1, 0, "compiling for CUDA device")

0 commit comments

Comments
 (0)