forked from OSchip/llvm-project
[Lex] TokenConcatenation now takes const Preprocessor
Differential Revision: https://reviews.llvm.org/D52502 llvm-svn: 344262
This commit is contained in:
parent
c83d283a2e
commit
c8ae649658
|
@ -79,9 +79,9 @@ class FieldNode {
|
|||
protected:
|
||||
const FieldRegion *FR;
|
||||
|
||||
/// FieldNodes are never meant to be created on the heap, see
|
||||
/// FindUninitializedFields::addFieldToUninits().
|
||||
/* non-virtual */ ~FieldNode() = default;
|
||||
// TODO: This destructor shouldn't be virtual, but breaks buildbots with
|
||||
// -Werror -Wnon-virtual-dtor.
|
||||
virtual ~FieldNode() = default;
|
||||
|
||||
public:
|
||||
FieldNode(const FieldRegion *FR) : FR(FR) {}
|
||||
|
|
Loading…
Reference in New Issue