[PATCH] D73202: Make AST reading work better with LLVM_APPEND_VC_REV=NO

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 22 08:02:29 PST 2020


thakis marked an inline comment as done.
thakis added inline comments.


================
Comment at: clang/lib/Frontend/CompilerInvocation.cpp:3645
   // CityHash, but this will do for now.
   hash_code code = hash_value(getClangFullRepositoryVersion());
 
----------------
Arguably, we should omit the full repo version from the hash: There's no reason to use a new cache dir just because someone fixed a typo in the (say) mlir docs. We'd also be better about remembering to bump clang::serialization::VERSION_MAJOR/MINOR in that case.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73202/new/

https://reviews.llvm.org/D73202





More information about the cfe-commits mailing list