diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2023-03-09 17:25:59 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2023-03-09 17:29:36 +0800 |
commit | db987b9589be1eb604fcb74c85b410469e31485f (patch) | |
tree | 01b5331b3633a6b12b55a680feebaa681b0edfbe /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | 6b545db83c5a4e2c79e0b289e840be2c5fbbf327 (diff) | |
download | llvm-db987b9589be1eb604fcb74c85b410469e31485f.zip llvm-db987b9589be1eb604fcb74c85b410469e31485f.tar.gz llvm-db987b9589be1eb604fcb74c85b410469e31485f.tar.bz2 |
[Modules] Remove unnecessary check when generating name lookup table in ASTWriter
Close https://github.com/llvm/llvm-project/issues/61065.
We will avoid writing the names from external AST naturally. But
currently its check is often false positive since we may have already
marked the declarations as external but
DeclContext::hasNeedToReconcileExternalVisibleStorage would be false
after reconciling.
Tested with libcxx's modular build.
This patch can improve 8% compilation time in an internal workloads.
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions