Skip to content

Commit e7c7fc7

Browse files
authored
Merge branch 'sycl' into private/bb-sycl/Lin_GPU_RT_Uplift_21.13.19438
2 parents 06866e9 + 830bca1 commit e7c7fc7

File tree

4,129 files changed

+377435
-72660
lines changed

Some content is hidden

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

4,129 files changed

+377435
-72660
lines changed

.github/workflows/clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Get clang-format first
13-
run: sudo apt-get install -yqq clang-format-9
13+
run: sudo apt-get install -yqq clang-format
1414

1515
- uses: actions/checkout@v2
1616
with:

.github/workflows/linux_post_commit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
check:
99
runs-on: ubuntu-18.04
10+
if: github.repository == 'intel/llvm'
1011
strategy:
1112
fail-fast: false
1213
matrix:

.github/workflows/sync-main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ name: automatic sync main branch from llvm-project to llvm
22

33
on:
44
schedule:
5-
- cron: '*/10 * * * *'
5+
- cron: '0 */1 * * *'
66
jobs:
77
sync:
88
runs-on: ubuntu-latest
9+
if: github.repository == 'intel/llvm'
910
steps:
1011
- uses: actions/checkout@v2
1112
with:

buildbot/dependency.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ocl_cpu_rt_ver=2021.11.3.0.09
44
# https://github.com/intel/llvm/releases/download/2021-WW11/win-oclcpuexp-2021.11.3.0.09_rel.zip
55
ocl_cpu_rt_ver_win=2021.11.3.0.09
66
# Same GPU driver supports Level Zero and OpenCL
7-
# https://github.com/intel/compute-runtime/releases/tag/21.13.19438
87
ocl_gpu_rt_ver=21.13.19438
98
# Same GPU driver supports Level Zero and OpenCL
109
# https://downloadmirror.intel.com/30266/a08/igfx_win10_100.9316.zip

clang-tools-extra/clang-move/tool/ClangMove.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ namespace {
3030
std::error_code CreateNewFile(const llvm::Twine &path) {
3131
int fd = 0;
3232
if (std::error_code ec = llvm::sys::fs::openFileForWrite(
33-
path, fd, llvm::sys::fs::CD_CreateAlways, llvm::sys::fs::OF_Text))
33+
path, fd, llvm::sys::fs::CD_CreateAlways,
34+
llvm::sys::fs::OF_TextWithCRLF))
3435
return ec;
3536

3637
return llvm::sys::Process::SafelyCloseFileDescriptor(fd);

clang-tools-extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,7 @@ void BracesAroundStatementsCheck::storeOptions(
105105
}
106106

107107
void BracesAroundStatementsCheck::registerMatchers(MatchFinder *Finder) {
108-
Finder->addMatcher(
109-
ifStmt(unless(allOf(isConstexpr(), isInTemplateInstantiation())))
110-
.bind("if"),
111-
this);
108+
Finder->addMatcher(ifStmt().bind("if"), this);
112109
Finder->addMatcher(whileStmt().bind("while"), this);
113110
Finder->addMatcher(doStmt().bind("do"), this);
114111
Finder->addMatcher(forStmt().bind("for"), this);

clang-tools-extra/clang-tidy/readability/BracesAroundStatementsCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ class BracesAroundStatementsCheck : public ClangTidyCheck {
5555
template <typename IfOrWhileStmt>
5656
SourceLocation findRParenLoc(const IfOrWhileStmt *S, const SourceManager &SM,
5757
const ASTContext *Context);
58+
llvm::Optional<TraversalKind> getCheckTraversalKind() const override {
59+
return TK_IgnoreUnlessSpelledInSource;
60+
}
5861

5962
private:
6063
std::set<const Stmt *> ForceBracesStmts;

clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ void ElseAfterReturnCheck::registerPPCallbacks(const SourceManager &SM,
171171
void ElseAfterReturnCheck::registerMatchers(MatchFinder *Finder) {
172172
const auto InterruptsControlFlow = stmt(anyOf(
173173
returnStmt().bind(InterruptingStr), continueStmt().bind(InterruptingStr),
174-
breakStmt().bind(InterruptingStr),
175-
expr(ignoringImplicit(cxxThrowExpr().bind(InterruptingStr)))));
174+
breakStmt().bind(InterruptingStr), cxxThrowExpr().bind(InterruptingStr)));
176175
Finder->addMatcher(
177176
compoundStmt(
178177
forEach(ifStmt(unless(isConstexpr()),

clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ class ElseAfterReturnCheck : public ClangTidyCheck {
2828
Preprocessor *ModuleExpanderPP) override;
2929
void registerMatchers(ast_matchers::MatchFinder *Finder) override;
3030
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;
31+
llvm::Optional<TraversalKind> getCheckTraversalKind() const override {
32+
return TK_IgnoreUnlessSpelledInSource;
33+
}
3134

3235
using ConditionalBranchMap =
3336
llvm::DenseMap<FileID, SmallVector<SourceRange, 1>>;

clang-tools-extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,7 @@ void InconsistentDeclarationParameterNameCheck::storeOptions(
294294

295295
void InconsistentDeclarationParameterNameCheck::registerMatchers(
296296
MatchFinder *Finder) {
297-
Finder->addMatcher(functionDecl(unless(isImplicit()), hasOtherDeclarations())
298-
.bind("functionDecl"),
297+
Finder->addMatcher(functionDecl(hasOtherDeclarations()).bind("functionDecl"),
299298
this);
300299
}
301300

0 commit comments

Comments
 (0)