[DenseMap] Add a C++17-style try_emplace method.
This provides an elegant pattern to solve the "construct if not in map already" problem we have many times in LLVM. Without try_emplace we either have to rely on a sentinel value (nullptr) or do two lookups. llvm-svn: 276277
Loading
Please register or sign in to comment