This revision was automatically updated to reflect the committed changes. Closed by commit rGb0bf0b2e79e8: [Clang][AST][NFC] Resolve FIXME: Make CXXRecordDecl *Record const. (authored by gAlfonso-bit, committed by RKSimon).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107477/new/ https://reviews.llvm.org/D107477 Files: clang/include/clang/AST/ComparisonCategories.h Index: clang/include/clang/AST/ComparisonCategories.h =================================================================== --- clang/include/clang/AST/ComparisonCategories.h +++ clang/include/clang/AST/ComparisonCategories.h @@ -115,8 +115,7 @@ public: /// The declaration for the comparison category type from the /// standard library. - // FIXME: Make this const - CXXRecordDecl *Record = nullptr; + const CXXRecordDecl *Record = nullptr; /// The Kind of the comparison category type ComparisonCategoryType Kind;
Index: clang/include/clang/AST/ComparisonCategories.h =================================================================== --- clang/include/clang/AST/ComparisonCategories.h +++ clang/include/clang/AST/ComparisonCategories.h @@ -115,8 +115,7 @@ public: /// The declaration for the comparison category type from the /// standard library. - // FIXME: Make this const - CXXRecordDecl *Record = nullptr; + const CXXRecordDecl *Record = nullptr; /// The Kind of the comparison category type ComparisonCategoryType Kind;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits