File tree Expand file tree Collapse file tree 5 files changed +0
-10
lines changed Expand file tree Collapse file tree 5 files changed +0
-10
lines changed Original file line number Diff line number Diff 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-
308306void ClangDocBitcodeWriter::AbbreviationMap::add (RecordId RID,
309307 unsigned AbbrevID) {
310308 assert (RecordIdNameMap[RID] && " Unknown RecordId." );
Original file line number Diff line number Diff 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.
462461void ClangdLSPServer::callMethod (StringRef Method, llvm::json::Value Params,
Original file line number Diff line number Diff 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;
5857const llvm::hash_code FileDistance::RootHash =
5958 llvm::hash_value (llvm::StringRef(" /" ));
6059
Original file line number Diff line number Diff line change 6262namespace clang {
6363namespace clangd {
6464
65- constexpr int FuzzyMatcher::MaxPat;
66- constexpr int FuzzyMatcher::MaxWord;
67-
6865static 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.
Original file line number Diff line number Diff line change 1111namespace clang {
1212namespace clangd {
1313
14- constexpr uint32_t SymbolLocation::Position::MaxLine;
15- constexpr uint32_t SymbolLocation::Position::MaxColumn;
16-
1714void SymbolLocation::Position::setLine (uint32_t L) {
1815 if (L > MaxLine)
1916 L = MaxLine;
You can’t perform that action at this time.
0 commit comments