#include "clang/AST/ComparisonCategories.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/Type.h"
#include "llvm/ADT/SmallVector.h"
#include <optional>
usingnamespaceclang;
std::optional<ComparisonCategoryType>
clang::getComparisonCategoryForBuiltinCmp(QualType T) { … }
bool ComparisonCategoryInfo::ValueInfo::hasValidIntValue() const { … }
llvm::APSInt ComparisonCategoryInfo::ValueInfo::getIntValue() const { … }
ComparisonCategoryInfo::ValueInfo *ComparisonCategoryInfo::lookupValueInfo(
ComparisonCategoryResult ValueKind) const { … }
static const NamespaceDecl *lookupStdNamespace(const ASTContext &Ctx,
NamespaceDecl *&StdNS) { … }
static const CXXRecordDecl *lookupCXXRecordDecl(const ASTContext &Ctx,
const NamespaceDecl *StdNS,
ComparisonCategoryType Kind) { … }
const ComparisonCategoryInfo *
ComparisonCategories::lookupInfo(ComparisonCategoryType Kind) const { … }
const ComparisonCategoryInfo *
ComparisonCategories::lookupInfoForType(QualType Ty) const { … }
const ComparisonCategoryInfo &ComparisonCategories::getInfoForType(QualType Ty) const { … }
QualType ComparisonCategoryInfo::getType() const { … }
StringRef ComparisonCategories::getCategoryString(ComparisonCategoryType Kind) { … }
StringRef ComparisonCategories::getResultString(ComparisonCategoryResult Kind) { … }
std::vector<ComparisonCategoryResult>
ComparisonCategories::getPossibleResultsForType(ComparisonCategoryType Type) { … }