[PATCH] D65445: [CrossTU] Handle case when no USR could be generated during Decl search.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 30 06:19:57 PDT 2019
balazske created this revision.
Herald added subscribers: cfe-commits, gamesh411, Szelethus, dkrupp.
Herald added a reviewer: martong.
Herald added a project: clang.
When searching for a declaration to be loaded the "lookup name" for every
other Decl is computed. If the USR can not be determined here should be
not an assert, instead skip this Decl.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D65445
Files:
clang/include/clang/CrossTU/CrossTranslationUnit.h
clang/lib/CrossTU/CrossTranslationUnit.cpp
clang/test/Analysis/Inputs/ctu-other.cpp
clang/test/Analysis/Inputs/ctu-other.cpp.externalDefMap.txt
clang/test/Analysis/ctu-main.cpp
clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65445.212327.patch
Type: text/x-patch
Size: 6046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190730/142f960c/attachment.bin>
More information about the cfe-commits
mailing list