[PATCH] D47615: [DebugInfo] Refactoring DIType::setFlags to DIType::cloneWithFlags

Roman Tereshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 14:25:21 PDT 2018


rtereshin updated this revision to Diff 149547.
rtereshin retitled this revision from "[DebugInfo] Adding DISubprogram::setFlags identical to DIType::setFlags" to "[DebugInfo] Refactoring DIType::setFlags to DIType::cloneWithFlags".
rtereshin edited the summary of this revision.
rtereshin added a comment.

making sure we don't expose setters on already created DI nodes + adding a test


Repository:
  rL LLVM

https://reviews.llvm.org/D47615

Files:
  include/llvm/IR/DIBuilder.h
  include/llvm/IR/DebugInfoMetadata.h
  lib/IR/DIBuilder.cpp
  unittests/IR/IRBuilderTest.cpp
  unittests/IR/MetadataTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47615.149547.patch
Type: text/x-patch
Size: 7542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180601/3e2426a6/attachment.bin>


More information about the llvm-commits mailing list