[clang-tools-extra] [clang] remove ClassScopeFunctionSpecializationDecl (PR #66636)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 18 17:55:53 PDT 2023


================
@@ -4086,7 +4073,7 @@ FunctionDecl *Sema::SubstSpaceshipAsEqualEqual(CXXRecordDecl *RD,
   Decl *R;
   if (auto *MD = dyn_cast<CXXMethodDecl>(Spaceship)) {
     R = Instantiator.VisitCXXMethodDecl(
-        MD, nullptr, std::nullopt,
+        MD, nullptr,
----------------
shafik wrote:

To be consistent with [bugprone-argument-comment](https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html)

https://github.com/llvm/llvm-project/pull/66636


More information about the cfe-commits mailing list