[Lex] TokenConcatenation now takes const Preprocessor

Differential Revision: https://reviews.llvm.org/D52502

llvm-svn: 344262
This commit is contained in:
Eric Liu 2018-10-11 17:35:29 +00:00
parent c83d283a2e
commit c8ae649658
1 changed files with 3 additions and 3 deletions

View File

@ -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) {}