================
@@ -2882,22 +2882,22 @@ class alignas(TypeAlignment) Type : public
ExtQualsTypeCommonBase {
/// Retrieves the CXXRecordDecl that this type refers to, either
/// because the type is a RecordType or because it is the injected-class-name
/// type of a class template or class template partial specialization.
- CXXRecordDecl *getAsCXXRecordDecl() const;
- CXXRecordDecl *castAsCXXRecordDecl() const;
+ inline CXXRecordDecl *getAsCXXRecordDecl() const;
----------------
mizvekov wrote:
We can't inline it here, because then we would need to include `DeclCXX.h`, but
that depends on `TypeBase.h`, so that would be circular.
https://github.com/llvm/llvm-project/pull/155051
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits