Skip to content

Commit 34456ef

Browse files
authored
Merge branch 'llvm:main' into llvm-jitlink
2 parents 0270bd9 + 80a5332 commit 34456ef

File tree

237 files changed

+7085
-4091
lines changed

Some content is hidden

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

237 files changed

+7085
-4091
lines changed

.github/actions/push-container/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ runs:
2424
latest_name=$(echo $image_name | sed 's/:[a-f0-9]\+$/:latest/g')
2525
podman tag $image_name $latest_name
2626
echo "Pushing $image_name ..."
27-
podman push $image_name
27+
podman push --compression-format=zstd $image_name
2828
echo "Pushing $latest_name ..."
29-
podman push $latest_name
29+
podman push --compression-format=zstd $latest_name
3030
}
3131
3232
podman login -u ${{ github.actor }} -p $GITHUB_TOKEN ghcr.io

bolt/lib/Core/BinaryBasicBlock.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
namespace llvm {
2323
namespace bolt {
2424

25-
constexpr uint32_t BinaryBasicBlock::INVALID_OFFSET;
26-
2725
bool operator<(const BinaryBasicBlock &LHS, const BinaryBasicBlock &RHS) {
2826
return LHS.Index < RHS.Index;
2927
}

bolt/lib/Core/DynoStats.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ PrintDynoOpcodeStat("print-dyno-opcode-stats",
5151
namespace llvm {
5252
namespace bolt {
5353

54-
constexpr const char *DynoStats::Desc[];
55-
5654
bool DynoStats::operator<(const DynoStats &Other) const {
5755
return std::lexicographical_compare(
5856
&Stats[FIRST_DYNO_STAT], &Stats[LAST_DYNO_STAT],

bolt/lib/Profile/DataAggregator.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ std::vector<SectionNameAndRange> getTextSections(const BinaryContext *BC) {
159159
}
160160
}
161161

162-
constexpr uint64_t DataAggregator::KernelBaseAddr;
163-
164162
DataAggregator::~DataAggregator() { deleteTempFiles(); }
165163

166164
namespace {

bolt/lib/Rewrite/RewriteInstance.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ cl::bits<GadgetScannerKind> GadgetScannersToRun(
295295
} // namespace opts
296296

297297
// FIXME: implement a better way to mark sections for replacement.
298-
constexpr const char *RewriteInstance::SectionsToOverwrite[];
299298
std::vector<std::string> RewriteInstance::DebugSectionsToOverwrite = {
300299
".debug_abbrev", ".debug_aranges", ".debug_line", ".debug_line_str",
301300
".debug_loc", ".debug_loclists", ".debug_ranges", ".debug_rnglists",

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@ static const std::vector<std::pair<BlockId, std::vector<RecordId>>>
303303

304304
// AbbreviationMap
305305

306-
constexpr unsigned char BitCodeConstants::Signature[];
307-
308306
void ClangDocBitcodeWriter::AbbreviationMap::add(RecordId RID,
309307
unsigned AbbrevID) {
310308
assert(RecordIdNameMap[RID] && "Unknown RecordId.");

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ class IfPreprocessorCallbacks final : public PPCallbacks {
9191
Check.diag(
9292
DirectiveLoc,
9393
"preprocessor condition can be written more concisely using '#%0'")
94-
<< FixItHint::CreateReplacement(DirectiveLoc, Replacements[Inverted])
94+
<< FixItHint::CreateReplacement(
95+
CharSourceRange::getCharRange(DirectiveLoc,
96+
ConditionRange.getBegin()),
97+
(Replacements[Inverted].str() + " "))
9598
<< FixItHint::CreateReplacement(ConditionRange, Macro)
9699
<< Replacements[Inverted];
97100
}

clang-tools-extra/clangd/ClangdLSPServer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,6 @@ class ClangdLSPServer::MessageHandler : public Transport::MessageHandler {
456456

457457
ClangdLSPServer &Server;
458458
};
459-
constexpr int ClangdLSPServer::MessageHandler::MaxReplayCallbacks;
460459

461460
// call(), notify(), and reply() wrap the Transport, adding logging and locking.
462461
void ClangdLSPServer::callMethod(StringRef Method, llvm::json::Value Params,

clang-tools-extra/clangd/FileDistance.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ static llvm::SmallString<128> canonicalize(llvm::StringRef Path) {
5454
return Result;
5555
}
5656

57-
constexpr const unsigned FileDistance::Unreachable;
5857
const llvm::hash_code FileDistance::RootHash =
5958
llvm::hash_value(llvm::StringRef("/"));
6059

clang-tools-extra/clangd/FuzzyMatch.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@
6262
namespace clang {
6363
namespace clangd {
6464

65-
constexpr int FuzzyMatcher::MaxPat;
66-
constexpr int FuzzyMatcher::MaxWord;
67-
6865
static char lower(char C) { return C >= 'A' && C <= 'Z' ? C + ('a' - 'A') : C; }
6966
// A "negative infinity" score that won't overflow.
7067
// We use this to mark unreachable states and forbidden solutions.

0 commit comments

Comments
 (0)