clang 18.0.0git
Classes | Namespaces
TypeOrdering.h File Reference

Allows QualTypes to be sorted and hence used in maps and sets. More...

#include "clang/AST/CanonicalType.h"
#include "clang/AST/Type.h"
#include <functional>

Go to the source code of this file.

Classes

struct  clang::QualTypeOrdering
 Function object that provides a total ordering on QualType values. More...
 
struct  llvm::DenseMapInfo< clang::QualType >
 
struct  llvm::DenseMapInfo< clang::CanQualType >
 

Namespaces

namespace  clang
 
namespace  llvm
 YAML serialization mapping.
 

Detailed Description

Allows QualTypes to be sorted and hence used in maps and sets.

Defines clang::QualTypeOrdering, a total ordering on clang::QualType, and hence enables QualType values to be sorted and to be used in std::maps, std::sets, llvm::DenseMaps, and llvm::DenseSets.

Definition in file TypeOrdering.h.