Go to the source code of this file.
|
| bool | llvm::json::fromJSON (const Value &value, JSONSimpleTraceBundleDescription &bundle, Path path) |
| static Error | createInvalidPlugInError (StringRef plugin_name) |
| template<typename V> |
| static std::optional< V > | Lookup (StringMap< V > &map, StringRef k) |
| | Helper functions for fetching data in maps and returning Optionals or pointers instead of iterators for simplicity.
|
| template<typename V> |
| static V * | LookupAsPtr (StringMap< V > &map, StringRef k) |
| template<typename K, typename V> |
| static std::optional< V > | Lookup (DenseMap< K, StringMap< V > > &map, K k1, StringRef k2) |
| | Similar to the methods above but it looks for an item in a map of maps.
|
| template<typename K, typename V> |
| static V * | LookupAsPtr (DenseMap< K, StringMap< V > > &map, K k1, StringRef k2) |
| | Similar to the methods above but it looks for an item in a map of maps.
|
◆ createInvalidPlugInError()
| Error createInvalidPlugInError |
( |
StringRef | plugin_name | ) |
|
|
static |
◆ Lookup() [1/2]
template<typename K, typename V>
| std::optional< V > Lookup |
( |
DenseMap< K, StringMap< V > > & | map, |
|
|
K | k1, |
|
|
StringRef | k2 ) |
|
static |
Similar to the methods above but it looks for an item in a map of maps.
Definition at line 69 of file Trace.cpp.
References Lookup().
◆ Lookup() [2/2]
template<typename V>
| std::optional< V > Lookup |
( |
StringMap< V > & | map, |
|
|
StringRef | k ) |
|
static |
◆ LookupAsPtr() [1/2]
template<typename K, typename V>
| V * LookupAsPtr |
( |
DenseMap< K, StringMap< V > > & | map, |
|
|
K | k1, |
|
|
StringRef | k2 ) |
|
static |
Similar to the methods above but it looks for an item in a map of maps.
Definition at line 79 of file Trace.cpp.
References LookupAsPtr().
◆ LookupAsPtr() [2/2]
template<typename V>
| V * LookupAsPtr |
( |
StringMap< V > & | map, |
|
|
StringRef | k ) |
|
static |