diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-10-29 05:49:41 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-10-29 05:49:41 +0000 |
commit | f6b936bc062e7490cfe956d58d47ba92b46e830f (patch) | |
tree | c8206c7550195f3ee9eed8057d98059eda1fbec2 /clang/lib/Tooling/Refactoring.cpp | |
parent | b1ffd99b6a262f674c4cf8ca81205f39baed6765 (diff) | |
download | bcm5719-llvm-f6b936bc062e7490cfe956d58d47ba92b46e830f.tar.gz bcm5719-llvm-f6b936bc062e7490cfe956d58d47ba92b46e830f.zip |
Debug Info: instead of calling addToContextOwner which constructs the context
after the DIE creation, we construct the context first.
This touches creation of namespaces and global variables. The purpose is to
handle all DIE creations similarly: constructs the context first, then creates
the DIE and immediately adds the DIE to its parent.
We use createAndAddDIE to wrap around "new DIE(".
llvm-svn: 193589
Diffstat (limited to 'clang/lib/Tooling/Refactoring.cpp')
0 files changed, 0 insertions, 0 deletions