LLVM API Documentation
Public Member Functions | |
TableGenStringKey (const std::string &str) | |
TableGenStringKey (const char *str) | |
const std::string & | str () const |
Friends | |
hash_code | hash_value (const TableGenStringKey &Value) |
TableGenStringKey - This is a wrapper for std::string suitable for using as a key to a DenseMap. Because there isn't a particularly good way to indicate tombstone or empty keys for strings, we want to wrap std::string to indicate that this is a "special" string not expected to take on certain values (those of the tombstone and empty keys). This makes things a little safer as it clarifies that DenseMap is really not appropriate for general strings.
Definition at line 43 of file Record.cpp.
|
inline |
Definition at line 45 of file Record.cpp.
|
inline |
Definition at line 46 of file Record.cpp.
|
inline |
Definition at line 48 of file Record.cpp.
Referenced by llvm::DenseMapInfo< TableGenStringKey >::isEqual().
|
friend |
Definition at line 50 of file Record.cpp.