A verbatim ccache:disable string disables ccache when compiling some
ccache sources, which is unnecessary.
// String to look for when checking whether to disable ccache for the input
// file.
-const char k_ccache_disable_token[] = "ccache:disable";
+const char k_ccache_disable_token[] = {
+ 'c', 'c', 'a', 'c', 'h', 'e', ':', 'd', 'i', 's', 'a', 'b', 'l', 'e', '\0'};
namespace {
// A cacheable call resulted in a miss when attempting direct mode lookup.
FIELD(direct_cache_miss, nullptr),
- // Ccache was disabled by a ccache:disable string in the source code file.
+ // Ccache was disabled by a comment in the source code file.
FIELD(disabled, "Ccache disabled", FLAG_UNCACHEABLE),
// Failure reading a file specified by extra_files_to_hash/CCACHE_EXTRAFILES.