[PATCH] D46890: [LLVM-C] Use Length-Providing Value Name Getters and Setters

Robert Widmann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 15 09:32:52 PDT 2018


CodaFi created this revision.
CodaFi added a reviewer: whitequark.
Herald added a reviewer: deadalnix.
Herald added a subscriber: llvm-commits.

- Provide LLVMValueGetName and LLVMValueSetName that return and take the length of the provided C string respectively
- Deprecate LLVMGetValueName and LLVMSetValueName


Repository:
  rL LLVM

https://reviews.llvm.org/D46890

Files:
  include/llvm-c/Core.h
  lib/IR/Core.cpp
  tools/llvm-c-test/echo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46890.146857.patch
Type: text/x-patch
Size: 4678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180515/7af7e215/attachment.bin>


More information about the llvm-commits mailing list