[PATCH] D17920: Query the StringMap only once when creating MDString (NFC)

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 13:34:08 PDT 2016


joker.eph updated this revision to Diff 51334.
joker.eph added a comment.

Use a NonMoveableNonCopyableType with the StringMap.


http://reviews.llvm.org/D17920

Files:
  include/llvm/ADT/StringMap.h
  include/llvm/IR/Metadata.h
  lib/IR/Metadata.cpp
  unittests/ADT/StringMapTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17920.51334.patch
Type: text/x-patch
Size: 8006 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160322/075c0a14/attachment-0001.bin>


More information about the llvm-commits mailing list