forked from OSchip/llvm-project
parent
5529a244e1
commit
c2055486eb
|
@ -2,10 +2,10 @@
|
|||
|
||||
#include "llvm/Support/Format.h"
|
||||
|
||||
using namespace llvm;
|
||||
namespace clang {
|
||||
namespace clangd {
|
||||
namespace json {
|
||||
using namespace llvm;
|
||||
|
||||
void Expr::copyFrom(const Expr &M) {
|
||||
Type = M.Type;
|
||||
|
|
|
@ -154,7 +154,7 @@ public:
|
|||
ObjectKey(const llvm::formatv_object_base &V) : ObjectKey(V.str()) {}
|
||||
|
||||
ObjectKey(const ObjectKey &C) { *this = C; }
|
||||
ObjectKey(ObjectKey &&C) = default;
|
||||
ObjectKey(ObjectKey &&C) : ObjectKey(static_cast<const ObjectKey &&>(C)) {}
|
||||
ObjectKey &operator=(const ObjectKey &C) {
|
||||
if (C.Owned) {
|
||||
Owned.reset(new std::string(*C.Owned));
|
||||
|
|
Loading…
Reference in New Issue