aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@syrmia.com>2021-02-21 23:20:37 -0800
committerDjordje Todorovic <djtodoro@cisco.com>2021-02-22 00:31:29 -0800
commit52113451fbee6c34a6024cf82186709431ff6f3a (patch)
treeb5b32a29fd4a2efb95db752283361b3bac6f486c /clang/lib/Frontend/CompilerInvocation.cpp
parent97184ab99c46e35ae94f828ee90f5d6af2c47e11 (diff)
downloadllvm-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