[Clang][AST][NFC] Resolve FIXME: Make CXXRecordDecl *Record const.
authorAlfsonso Gregory <gfunni234@gmail.com>
Thu, 19 Aug 2021 15:36:05 +0000 (16:36 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 19 Aug 2021 15:36:32 +0000 (16:36 +0100)
Differential Revision: https://reviews.llvm.org/D107477

clang/include/clang/AST/ComparisonCategories.h

index b41e934..fb648b3 100644 (file)
@@ -115,8 +115,7 @@ private:
 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;