[PATCH] D41005: Reuse preamble even if an unsaved file does not exist

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 13 01:39:50 PST 2018


ilya-biryukov added inline comments.


================
Comment at: lib/Frontend/PrecompiledPreamble.cpp:459
+    if (moveOnNoError(VFS->status(RB.first), Status)) {
+      OverriddenFiles[Status.getUniqueID()] = PreambleHash;
+    } else {
----------------
NIT: remove braces around single-statement branches, they are usually omitted in the LLVM code


Repository:
  rC Clang

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

https://reviews.llvm.org/D41005





More information about the cfe-commits mailing list