Skip to content

Commit a8c958e

Browse files
committed
add comment
1 parent b31a3f8 commit a8c958e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/include/clang/AST/Type.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3603,6 +3603,9 @@ class MemberPointerType : public Type, public llvm::FoldingSetNode {
36033603

36043604
NestedNameSpecifier *getQualifier() const { return Qualifier; }
36053605
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.
36063609
CXXRecordDecl *getMostRecentCXXRecordDecl() const;
36073610

36083611
bool isSugared() const;

0 commit comments

Comments
 (0)