aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-04-14 02:34:09 +0000
committerRui Ueyama <ruiu@google.com>2015-04-14 02:34:09 +0000
commite75e50c045aa815a268a6d86de620aa484a0f774 (patch)
tree8ca5f131155f946e0d7dc5d663ef81832fb3fb12 /llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
parent7348ddaa74814cda8de8c2e33c5a4dee3b0ca3bc (diff)
downloadllvm-e75e50c045aa815a268a6d86de620aa484a0f774.zip
llvm-e75e50c045aa815a268a6d86de620aa484a0f774.tar.gz
llvm-e75e50c045aa815a268a6d86de620aa484a0f774.tar.bz2
Define make_dynamic_error_code(const char *).
The function took either StringRef or Twine. Since string literals are ambiguous when resolving the overloading, many code calls used this function with explicit type conversion. That led awkward code like make_dynamic_error_code(Twine("Error occurred")). This patch adds a function definition for string literals, so that you can directly call the function with literals. llvm-svn: 234841
Diffstat (limited to 'llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp')
0 files changed, 0 insertions, 0 deletions