Skip to content

Commit 1d0d304

Browse files
Merge branch 'llvm:main' into cfi-show
2 parents 319a490 + b9e546d commit 1d0d304

File tree

730 files changed

+25692
-16380
lines changed

Some content is hidden

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

730 files changed

+25692
-16380
lines changed

.ci/all_requirements.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ ml-dtypes==0.5.1 ; python_version < "3.13" \
194194
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
195195
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
196196
# via -r mlir/python/requirements.txt
197-
nanobind==2.7.0 \
198-
--hash=sha256:73b12d0e751d140d6c1bf4b215e18818a8debfdb374f08dc3776ad208d808e74 \
199-
--hash=sha256:f9f1b160580c50dcf37b6495a0fd5ec61dc0d95dae5f8004f87dd9ad7eb46b34
197+
nanobind==2.9.2 \
198+
--hash=sha256:c37957ffd5eac7eda349cff3622ecd32e5ee1244ecc912c99b5bc8188bafd16e \
199+
--hash=sha256:e7608472de99d375759814cab3e2c94aba3f9ec80e62cfef8ced495ca5c27d6e
200200
# via -r mlir/python/requirements.txt
201201
numpy==2.0.2 \
202202
--hash=sha256:0123ffdaa88fa4ab64835dcbde75dcdf89c453c922f18dced6e27c90d1d0ec5a \
@@ -383,6 +383,10 @@ swig==4.3.1 \
383383
--hash=sha256:efec16327029f682f649a26da726bb0305be8800bd0f1fa3e81bf0769cf5b476 \
384384
--hash=sha256:fc496c0d600cf1bb2d91e28d3d6eae9c4301e5ea7a0dec5a4281b5efed4245a8
385385
# via -r lldb/test/requirements.txt
386+
typing-extensions==4.15.0 \
387+
--hash=sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466 \
388+
--hash=sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548
389+
# via -r mlir/python/requirements.txt
386390
urllib3==2.5.0 \
387391
--hash=sha256:3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760 \
388392
--hash=sha256:e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
/runtimes/ @llvm/reviewers-libcxx
1818

1919
/llvm/lib/Analysis/BasicAliasAnalysis.cpp @nikic
20+
/llvm/lib/Analysis/HashRecognize.cpp @artagnon @pfusik
2021
/llvm/lib/Analysis/InstructionSimplify.cpp @nikic
2122
/llvm/lib/Analysis/LazyValueInfo.cpp @nikic
2223
/llvm/lib/Analysis/ScalarEvolution.cpp @nikic

clang-tools-extra/clang-tidy/ClangTidyCheck.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ ClangTidyCheck::OptionsView::get(StringRef LocalName) const {
6262
return std::nullopt;
6363
}
6464

65-
static const llvm::StringSet<> DeprecatedGlobalOptions{
66-
"StrictMode",
67-
"IgnoreMacros",
68-
};
69-
7065
static ClangTidyOptions::OptionMap::const_iterator
7166
findPriorityOption(const ClangTidyOptions::OptionMap &Options,
7267
StringRef NamePrefix, StringRef LocalName,
@@ -78,13 +73,6 @@ findPriorityOption(const ClangTidyOptions::OptionMap &Options,
7873
}
7974
auto IterLocal = Options.find((NamePrefix + LocalName).str());
8075
auto IterGlobal = Options.find(LocalName);
81-
// FIXME: temporary solution for deprecation warnings, should be removed
82-
// after 22.x. Warn configuration deps on deprecation global options.
83-
if (IterLocal == Options.end() && IterGlobal != Options.end() &&
84-
DeprecatedGlobalOptions.contains(LocalName))
85-
Context->configurationDiag(
86-
"global option '%0' is deprecated, please use '%1%0' instead.")
87-
<< LocalName << NamePrefix;
8876
if (IterLocal == Options.end())
8977
return IterGlobal;
9078
if (IterGlobal == Options.end())

clang-tools-extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ AST_MATCHER(Decl, isFromStdNamespaceOrSystemHeader) {
3232
ArgumentCommentCheck::ArgumentCommentCheck(StringRef Name,
3333
ClangTidyContext *Context)
3434
: ClangTidyCheck(Name, Context),
35-
StrictMode(Options.getLocalOrGlobal("StrictMode", false)),
35+
StrictMode(Options.get("StrictMode", false)),
3636
IgnoreSingleArgument(Options.get("IgnoreSingleArgument", false)),
3737
CommentBoolLiterals(Options.get("CommentBoolLiterals", false)),
3838
CommentIntegerLiterals(Options.get("CommentIntegerLiterals", false)),

clang-tools-extra/clang-tidy/bugprone/LambdaFunctionNameCheck.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ AST_MATCHER(CXXMethodDecl, isInLambda) { return Node.getParent()->isLambda(); }
6464
LambdaFunctionNameCheck::LambdaFunctionNameCheck(StringRef Name,
6565
ClangTidyContext *Context)
6666
: ClangTidyCheck(Name, Context),
67-
IgnoreMacros(
68-
Options.getLocalOrGlobal("IgnoreMacros", DefaultIgnoreMacros)) {}
67+
IgnoreMacros(Options.get("IgnoreMacros", DefaultIgnoreMacros)) {}
6968

7069
void LambdaFunctionNameCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
7170
Options.store(Opts, "IgnoreMacros", IgnoreMacros);

clang-tools-extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static bool isPossiblyBitMask(const EnumDecl *EnumDec) {
106106
SuspiciousEnumUsageCheck::SuspiciousEnumUsageCheck(StringRef Name,
107107
ClangTidyContext *Context)
108108
: ClangTidyCheck(Name, Context),
109-
StrictMode(Options.getLocalOrGlobal("StrictMode", false)) {}
109+
StrictMode(Options.get("StrictMode", false)) {}
110110

111111
void SuspiciousEnumUsageCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
112112
Options.store(Opts, "StrictMode", StrictMode);

clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace clang::tidy::cppcoreguidelines {
1515

1616
AvoidDoWhileCheck::AvoidDoWhileCheck(StringRef Name, ClangTidyContext *Context)
1717
: ClangTidyCheck(Name, Context),
18-
IgnoreMacros(Options.getLocalOrGlobal("IgnoreMacros", false)) {}
18+
IgnoreMacros(Options.get("IgnoreMacros", false)) {}
1919

2020
void AvoidDoWhileCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
2121
Options.store(Opts, "IgnoreMacros", IgnoreMacros);

clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static bool hasVolatileQualifier(QualType Type) {
3232
ProTypeConstCastCheck::ProTypeConstCastCheck(StringRef Name,
3333
ClangTidyContext *Context)
3434
: ClangTidyCheck(Name, Context),
35-
StrictMode(Options.getLocalOrGlobal("StrictMode", false)) {}
35+
StrictMode(Options.get("StrictMode", false)) {}
3636

3737
void ProTypeConstCastCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
3838
Options.store(Opts, "StrictMode", StrictMode);

clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace clang::tidy::cppcoreguidelines {
1717
ProTypeStaticCastDowncastCheck::ProTypeStaticCastDowncastCheck(
1818
StringRef Name, ClangTidyContext *Context)
1919
: ClangTidyCheck(Name, Context),
20-
StrictMode(Options.getLocalOrGlobal("StrictMode", true)) {}
20+
StrictMode(Options.get("StrictMode", true)) {}
2121

2222
void ProTypeStaticCastDowncastCheck::storeOptions(
2323
ClangTidyOptions::OptionMap &Opts) {

clang-tools-extra/clang-tidy/llvm/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ add_clang_library(clangTidyLLVMModule STATIC
1212
PreferStaticOverAnonymousNamespaceCheck.cpp
1313
TwineLocalCheck.cpp
1414
UseNewMLIROpBuilderCheck.cpp
15+
UseRangesCheck.cpp
1516

1617
LINK_LIBS
1718
clangTidy

0 commit comments

Comments
 (0)