[PATCH] D81077: If the identifier is unknown, return false.
Vassil Vassilev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 22 01:34:19 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG46ea465b5b74: Return false if the identifier is not in the global module index. (authored by v.g.vassilev).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Changed prior to commit:
https://reviews.llvm.org/D81077?vs=268121&id=272347#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81077/new/
https://reviews.llvm.org/D81077
Files:
clang/lib/Serialization/GlobalModuleIndex.cpp
Index: clang/lib/Serialization/GlobalModuleIndex.cpp
===================================================================
--- clang/lib/Serialization/GlobalModuleIndex.cpp
+++ clang/lib/Serialization/GlobalModuleIndex.cpp
@@ -321,7 +321,7 @@
= *static_cast<IdentifierIndexTable *>(IdentifierIndex);
IdentifierIndexTable::iterator Known = Table.find(Name);
if (Known == Table.end()) {
- return true;
+ return false;
}
SmallVector<unsigned, 2> ModuleIDs = *Known;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81077.272347.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200622/18362964/attachment.bin>
More information about the cfe-commits
mailing list