]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
Convert StringMap to using StringRef for its APIs.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 23 Jul 2009 18:17:34 +0000 (18:17 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 23 Jul 2009 18:17:34 +0000 (18:17 +0000)
commit6316fbcb04af00fe76b6526fab09f51484014b3e
tree8b18f95c06e96a5e23713880efa491c02372f40c
parentb53cc014d0f47b898c9daca34566c16dda6c4c1e
Convert StringMap to using StringRef for its APIs.
 - Yay for '-'s and simplifications!

 - I kept StringMap::GetOrCreateValue for compatibility purposes, this can
   eventually go away. Likewise the StringMapEntry Create functions still follow
   the old style.

 - NIFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76888 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/ADT/StringMap.h
include/llvm/Support/StringPool.h
lib/Analysis/LibCallSemantics.cpp
lib/CodeGen/GCMetadata.cpp
lib/Support/StringMap.cpp
lib/Support/StringPool.cpp
lib/Transforms/Scalar/SimplifyLibCalls.cpp
lib/VMCore/LLVMContextImpl.cpp
lib/VMCore/ValueSymbolTable.cpp
tools/llvm-mc/AsmLexer.cpp
tools/lto/LTOModule.cpp
unittests/ADT/StringMapTest.cpp