diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-12-03 19:26:56 -0800 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-12-08 15:25:03 -0800 |
commit | caab41c08e36872d91dddd4a05a5d98948802ac7 (patch) | |
tree | 1e24e0ae07014365e87b575efa8bec83d762c6ef /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | e8021f34e1bae8537aba3c834ff0a9a73ad93405 (diff) | |
download | llvm-caab41c08e36872d91dddd4a05a5d98948802ac7.zip llvm-caab41c08e36872d91dddd4a05a5d98948802ac7.tar.gz llvm-caab41c08e36872d91dddd4a05a5d98948802ac7.tar.bz2 |
ADT: Add hash_value overload for Optional
Add a `hash_value` for Optional so that other data structures with
optional fields can easily hash them. I have a use for this in an
upcoming patch.
Differential Revision: https://reviews.llvm.org/D92676
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions