[PATCH] D19679: Method pool in modules: sync up out of date selectors before writing the module

Adrian Prantl via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 13:24:59 PDT 2016


aprantl added inline comments.

================
Comment at: include/clang/Serialization/ASTReader.h:657
@@ +656,3 @@
+  /// Whether a selector is out of date. We mark a selector as out of date
+  // if we load another module after the method pool entry was pulled in.
+  llvm::DenseMap<Selector, bool> SelectorOutOfDate;
----------------
///

================
Comment at: test/Modules/method_pool_write.m:3
@@ +2,3 @@
+// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs %s -verify
+// expected-no-diagnostics
+
----------------
Is there anything meaningful that could be CHECKed in the output?


http://reviews.llvm.org/D19679





More information about the cfe-commits mailing list