llvm.org GIT mirror llvm / 10d8971
Really fix -Wnon-virtual-dtor warnings; gcc needs the dtors to be explicitly marked as virtual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154131 91177308-0d34-0410-b5e6-96231b3b80d8 Kaelyn Uhrain 8 years ago
1 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
148148 OwningPtr &Doc;
149149 SMRange SourceRange;
150150
151 ~Node();
151 virtual ~Node();
152152
153153 private:
154154 unsigned int TypeID;
169169 }
170170
171171 protected:
172 ~NullNode();
172 virtual ~NullNode();
173173 };
174174
175175 /// @brief A scalar node is an opaque datum that can be presented as a
205205 }
206206
207207 protected:
208 ~ScalarNode();
208 virtual ~ScalarNode();
209209
210210 private:
211211 StringRef Value;
255255 }
256256
257257 protected:
258 ~KeyValueNode();
258 virtual ~KeyValueNode();
259259
260260 private:
261261 Node *Key;
374374 }
375375
376376 protected:
377 ~MappingNode();
377 virtual ~MappingNode();
378378
379379 private:
380380 MappingType Type;
440440 }
441441
442442 protected:
443 ~SequenceNode();
443 virtual ~SequenceNode();
444444
445445 private:
446446 SequenceType SeqType;
468468 }
469469
470470 protected:
471 ~AliasNode();
471 virtual ~AliasNode();
472472
473473 private:
474474 StringRef Name;