1 // Copyright 2020 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "base/notreached.h"
6 
7 // This is a widely included header and its size has significant impact on
8 // build time. Try not to raise this limit unless absolutely necessary. See
9 // https://chromium.googlesource.com/chromium/src/+/HEAD/docs/wmax_tokens.md
10 #ifndef NACL_TC_REV
11 #pragma clang max_tokens_here 17000
12 #endif
13 
14 #include "base/logging.h"
15 
16 namespace logging {
17 
LogErrorNotReached(const char * file,int line)18 BASE_EXPORT void LogErrorNotReached(const char* file, int line) {
19   LogMessage(file, line, LOG_ERROR).stream() << "NOTREACHED() hit.";
20 }
21 
22 }  // namespace logging
23