diff options
author | Djordje Todorovic <djordje.todorovic@syrmia.com> | 2021-02-21 23:20:37 -0800 |
---|---|---|
committer | Djordje Todorovic <djtodoro@cisco.com> | 2021-02-22 00:31:29 -0800 |
commit | 52113451fbee6c34a6024cf82186709431ff6f3a (patch) | |
tree | b5b32a29fd4a2efb95db752283361b3bac6f486c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 97184ab99c46e35ae94f828ee90f5d6af2c47e11 (diff) | |
download | llvm-52113451fbee6c34a6024cf82186709431ff6f3a.zip llvm-52113451fbee6c34a6024cf82186709431ff6f3a.tar.gz llvm-52113451fbee6c34a6024cf82186709431ff6f3a.tar.bz2 |
[NFC][llvm-dwarfdump] Don't calculate unnecessary stats
Small optimization of the code -- No need to calculate any stats
for NULL nodes, and also no need to call the collectStatsForDie()
if it is the CU itself.
Differential Revision: https://reviews.llvm.org/D96871
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions