Skip to content

Commit abed4e3

Browse files
authored
LLVM and LLVM-SPIRV-Translator pulldown
LLVM: c858deb LLVM-SPIRV-Translator: KhronosGroup/SPIRV-LLVM-Translator@207924d
2 parents 03208c0 + 6459009 commit abed4e3

File tree

8,552 files changed

+420322
-138312
lines changed

Some content is hidden

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

8,552 files changed

+420322
-138312
lines changed

.arclint

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"linters": {
3+
"clang-format": {
4+
"type": "script-and-regex",
5+
"script-and-regex.script": "utils/arcanist/clang-format.sh",
6+
"script-and-regex.regex": "/^(?P<severity>[[:alpha:]]+)\n(?P<message>[^\n]+)\n(====|(?P<line>\\d),(?P<char>\\d)\n(?P<original>.*)>>>>\n(?P<replacement>.*)<<<<\n)$/s",
7+
"include": [
8+
"(\\.(cc|cpp|h)$)"
9+
]
10+
}
11+
}
12+
}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Home for Intel LLVM-based projects:
77
- oneAPI Data Parallel C++ compiler - see **sycl** branch. More information on
88
oneAPI and DPC++ is available at
99
([https://www.oneapi.com/](https://www.oneapi.com/))
10-
- [![Linux Post Commit Checks](https://github.com/intel/llvm/workflows/Linux%20Post%20Commit%20Checks/badge.svg)](https://github.com/intel/llvm/actions?query=workflow%3A%22Linux+Post+Commit+Checks%22) [![Generate Doxygen documentation](https://github.com/intel/llvm/workflows/Generate%20Doxygen%20documentation/badge.svg)](https://github.com/intel/llvm/actions?query=workflow%3A%22Generate+Doxygen+documentation%22)
10+
- [![Linux Post Commit Checks](https://github.com/intel/llvm/workflows/Linux%20Post%20Commit%20Checks/badge.svg)](https://github.com/intel/llvm/actions?query=workflow%3A%22Linux+Post+Commit+Checks%22)
11+
[![Generate Doxygen documentation](https://github.com/intel/llvm/workflows/Generate%20Doxygen%20documentation/badge.svg)](https://github.com/intel/llvm/actions?query=workflow%3A%22Generate+Doxygen+documentation%22)
1112

1213

1314

clang-tools-extra/clang-change-namespace/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
set(LLVM_LINK_COMPONENTS
2-
support
2+
FrontendOpenMP
3+
Support
34
)
45

56
add_clang_library(clangChangeNamespace

clang-tools-extra/clang-change-namespace/ChangeNamespace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ void ChangeNamespaceTool::replaceQualifiedSymbolInDeclContext(
832832
std::string AliasName = NamespaceAlias->getNameAsString();
833833
std::string AliasQualifiedName =
834834
NamespaceAlias->getQualifiedNameAsString();
835-
// We only consider namespace aliases define in the global namepspace or
835+
// We only consider namespace aliases define in the global namespace or
836836
// in namespaces that are directly visible from the reference, i.e.
837837
// ancestor of the `OldNs`. Note that declarations in ancestor namespaces
838838
// but not visible in the new namespace is filtered out by

clang-tools-extra/clang-change-namespace/ChangeNamespace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace change_namespace {
2727
// reference needs to be fully-qualified, this adds a "::" prefix to the
2828
// namespace specifiers unless the new namespace is the global namespace.
2929
// For classes, only classes that are declared/defined in the given namespace in
30-
// speficifed files will be moved: forward declarations will remain in the old
30+
// specified files will be moved: forward declarations will remain in the old
3131
// namespace.
3232
// For example, changing "a" to "x":
3333
// Old code:
@@ -138,7 +138,7 @@ class ChangeNamespaceTool : public ast_matchers::MatchFinder::MatchCallback {
138138
llvm::Regex FilePatternRE;
139139
// Information about moved namespaces grouped by file.
140140
// Since we are modifying code in old namespaces (e.g. add namespace
141-
// spedifiers) as well as moving them, we store information about namespaces
141+
// specifiers) as well as moving them, we store information about namespaces
142142
// to be moved and only move them after all modifications are finished (i.e.
143143
// in `onEndOfTranslationUnit`).
144144
std::map<std::string, std::vector<MoveNamespace>> MoveNamespaces;

clang-tools-extra/clang-change-namespace/tool/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
22

33
set(LLVM_LINK_COMPONENTS
4+
FrontendOpenMP
45
Support
56
)
67

clang-tools-extra/clang-doc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
set(LLVM_LINK_COMPONENTS
22
support
33
BitstreamReader
4+
FrontendOpenMP
45
)
56

67
add_clang_library(clangDoc

clang-tools-extra/clang-doc/Generators.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void Generator::addInfoToIndex(Index &Idx, const doc::Info *Info) {
8282
// pointing.
8383
auto It = std::find(I->Children.begin(), I->Children.end(), R.USR);
8484
if (It != I->Children.end()) {
85-
// If it is found, just change I to point the namespace refererence found.
85+
// If it is found, just change I to point the namespace reference found.
8686
I = &*It;
8787
} else {
8888
// If it is not found a new reference is created

clang-tools-extra/clang-doc/Representation.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ void Info::mergeBase(Info &&Other) {
187187
// Unconditionally extend the description, since each decl may have a comment.
188188
std::move(Other.Description.begin(), Other.Description.end(),
189189
std::back_inserter(Description));
190-
std::sort(Description.begin(), Description.end());
190+
llvm::sort(Description);
191191
auto Last = std::unique(Description.begin(), Description.end());
192192
Description.erase(Last, Description.end());
193193
}
@@ -202,7 +202,7 @@ void SymbolInfo::merge(SymbolInfo &&Other) {
202202
DefLoc = std::move(Other.DefLoc);
203203
// Unconditionally extend the list of locations, since we want all of them.
204204
std::move(Other.Loc.begin(), Other.Loc.end(), std::back_inserter(Loc));
205-
std::sort(Loc.begin(), Loc.end());
205+
llvm::sort(Loc);
206206
auto Last = std::unique(Loc.begin(), Loc.end());
207207
Loc.erase(Last, Loc.end());
208208
mergeBase(std::move(Other));
@@ -314,7 +314,7 @@ bool Index::operator<(const Index &Other) const {
314314
}
315315

316316
void Index::sort() {
317-
std::sort(Children.begin(), Children.end());
317+
llvm::sort(Children);
318318
for (auto &C : Children)
319319
C.sort();
320320
}

clang-tools-extra/clang-doc/Serialize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ populateParentNamespaces(llvm::SmallVector<Reference, 4> &Namespaces,
3636
// <root>/A/B
3737
//
3838
// namespace A {
39-
// namesapce B {
39+
// namespace B {
4040
//
4141
// class C {};
4242
//

0 commit comments

Comments
 (0)