reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaDeclCXX.cpp
 7075     assert(!MD->isStatic() && "comparison function cannot be a static member");
 7076     if (!MD->isConst()) {
 7078       if (FunctionTypeLoc Loc = MD->getFunctionTypeLoc())
 7080       Diag(MD->getLocation(), diag::err_defaulted_comparison_non_const)
 7084       const auto *FPT = MD->getType()->castAs<FunctionProtoType>();
 7087       MD->setType(Context.getFunctionType(FPT->getReturnType(),