diff options
author | Roman Tereshin <rtereshin@apple.com> | 2018-06-01 23:15:09 +0000 |
---|---|---|
committer | Roman Tereshin <rtereshin@apple.com> | 2018-06-01 23:15:09 +0000 |
commit | cf88ffaaf919726e9188c029e8b2a8aab1106684 (patch) | |
tree | e87c36c25c49ee470871bb643c0560de14c7dbbd /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4b3701a7a7a9c28f2a7fff23392cc8c3cda4ebd0 (diff) | |
download | bcm5719-llvm-cf88ffaaf919726e9188c029e8b2a8aab1106684.tar.gz bcm5719-llvm-cf88ffaaf919726e9188c029e8b2a8aab1106684.zip |
[DebugInfo] Refactoring DIType::setFlags to DIType::cloneWithFlags, NFC
and using the latter in DIBuilder::createArtificialType and
DIBuilder::createObjectPointerType methods as well as introducing
mirroring DISubprogram::cloneWithFlags and
DIBuilder::createArtificialSubprogram methods.
The primary goal here is to add createArtificialSubprogram to support
a pass downstream while keeping the method consistent with the
existing ones and making sure we don't encourage changing already
created DI-nodes.
Reviewed By: aprantl
Differential Revision: https://reviews.llvm.org/D47615
llvm-svn: 333806
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions