We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31a3f8 commit a8c958eCopy full SHA for a8c958e
clang/include/clang/AST/Type.h
@@ -3603,6 +3603,9 @@ class MemberPointerType : public Type, public llvm::FoldingSetNode {
3603
3604
NestedNameSpecifier *getQualifier() const { return Qualifier; }
3605
CXXRecordDecl *getCXXRecordDecl() const;
3606
+ /// Note: this can trigger extra deserialization when external AST sources are
3607
+ /// used. Prefer `getCXXRecordDecl()` unless you really need the most recent
3608
+ /// decl.
3609
CXXRecordDecl *getMostRecentCXXRecordDecl() const;
3610
3611
bool isSugared() const;
0 commit comments