Make it easier to initialize small maps inline. Note that DenseMap already has an initializer_list constructor.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Sounds good
llvm/unittests/ADT/DenseMapTest.cpp | ||
---|---|---|
551 | I'd probably test this with = rather than () style syntax - to demonstrate that it's intentional/verify that implicit construction works |
I'd probably test this with = rather than () style syntax - to demonstrate that it's intentional/verify that implicit construction works