@@ -6401,6 +6401,9 @@ class TagType : public TypeWithKeyword {
6401
6401
bool IsInjected, const Type *CanonicalType);
6402
6402
6403
6403
public:
6404
+ // FIXME: Temporarily renamed from `getDecl` in order to facilitate
6405
+ // rebasing, due to change in behaviour. This should be renamed back
6406
+ // to `getDecl` once the change is settled.
6404
6407
TagDecl *getOriginalDecl () const { return decl; }
6405
6408
6406
6409
NestedNameSpecifier getQualifier () const ;
@@ -6466,6 +6469,9 @@ class RecordType final : public TagType {
6466
6469
using TagType::TagType;
6467
6470
6468
6471
public:
6472
+ // FIXME: Temporarily renamed from `getDecl` in order to facilitate
6473
+ // rebasing, due to change in behaviour. This should be renamed back
6474
+ // to `getDecl` once the change is settled.
6469
6475
RecordDecl *getOriginalDecl () const {
6470
6476
return reinterpret_cast <RecordDecl *>(TagType::getOriginalDecl ());
6471
6477
}
@@ -6483,6 +6489,9 @@ class EnumType final : public TagType {
6483
6489
using TagType::TagType;
6484
6490
6485
6491
public:
6492
+ // FIXME: Temporarily renamed from `getDecl` in order to facilitate
6493
+ // rebasing, due to change in behaviour. This should be renamed back
6494
+ // to `getDecl` once the change is settled.
6486
6495
EnumDecl *getOriginalDecl () const {
6487
6496
return reinterpret_cast <EnumDecl *>(TagType::getOriginalDecl ());
6488
6497
}
@@ -6515,6 +6524,9 @@ class InjectedClassNameType final : public TagType {
6515
6524
bool IsInjected, const Type *CanonicalType);
6516
6525
6517
6526
public:
6527
+ // FIXME: Temporarily renamed from `getDecl` in order to facilitate
6528
+ // rebasing, due to change in behaviour. This should be renamed back
6529
+ // to `getDecl` once the change is settled.
6518
6530
CXXRecordDecl *getOriginalDecl () const {
6519
6531
return reinterpret_cast <CXXRecordDecl *>(TagType::getOriginalDecl ());
6520
6532
}
0 commit comments