[Lex] TokenConcatenation now takes const Preprocessor

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

llvm-svn: 343573
This commit is contained in:
Eric Liu 2018-10-02 10:28:50 +00:00
parent c41902807e
commit 09c34d77e0
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) {}