clang  17.0.0git
Classes | Namespaces
TypeOrdering.h File Reference
#include "clang/AST/CanonicalType.h"
#include "clang/AST/Type.h"
#include <functional>
Include dependency graph for TypeOrdering.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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


 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.