diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-18 20:30:45 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-18 20:30:45 +0000 |
| commit | 89b075e53a42fdcf22f249bbe64b064ca5f4ae84 (patch) | |
| tree | 8a14fadc958539395583414e675f098bf882cb19 /llvm/lib/IR/DebugLoc.cpp | |
| parent | 67bf4bd3161fe335da6d7918d00b66828d6f9b92 (diff) | |
| download | bcm5719-llvm-89b075e53a42fdcf22f249bbe64b064ca5f4ae84.tar.gz bcm5719-llvm-89b075e53a42fdcf22f249bbe64b064ca5f4ae84.zip | |
IR: Drop the scope in DI template parameters
The scope/context is always the compile unit, which we replace with
`nullptr` anyway (via `getNonCompileUnitScope()`). Drop it explicitly.
I noticed this field was always null while writing testcase upgrade
scripts to transition to the new hierarchy. Seems wasteful to
transition it over if it's already out-of-use.
llvm-svn: 229740
Diffstat (limited to 'llvm/lib/IR/DebugLoc.cpp')
0 files changed, 0 insertions, 0 deletions

