diff options
| author | Justin Bogner <mail@justinbogner.com> | 2017-02-18 02:00:27 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2017-02-18 02:00:27 +0000 |
| commit | 7bc978b54372d141d8361888c59800445412874f (patch) | |
| tree | 5676c73cf42082eb7f8334afc3739c8a70e7e466 /clang-tools-extra/clang-query | |
| parent | c4ebb6402a35f3741292d2e5e0115d820c546247 (diff) | |
| download | bcm5719-llvm-7bc978b54372d141d8361888c59800445412874f.tar.gz bcm5719-llvm-7bc978b54372d141d8361888c59800445412874f.zip | |
OptDiag: Allow constructing DiagnosticLocation from DISubprograms
This avoids creating a DILocation just to represent a line number,
since creating Metadata is expensive. Creating a DiagnosticLocation
directly is much cheaper.
llvm-svn: 295531
Diffstat (limited to 'clang-tools-extra/clang-query')
0 files changed, 0 insertions, 0 deletions

