clang API Documentation

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>
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.

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

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.