diff --git a/clang/include/clang/Tooling/NodeIntrospection.h b/clang/include/clang/Tooling/NodeIntrospection.h index a04c08823339d..9fe10c6592431 100644 --- a/clang/include/clang/Tooling/NodeIntrospection.h +++ b/clang/include/clang/Tooling/NodeIntrospection.h @@ -67,6 +67,10 @@ struct RangeLessThan { } // namespace internal +// Note that this container stores unique results in a deterministic, but +// unspecified order. Clients which desire a particular order, such as +// alphabetical, should sort results after retrieval, because the order +// is dependent on how the LocationCalls are formatted. template using UniqueMultiMap = std::set, internal::RangeLessThan>;