blob: ff54001db2ab4f920c5b5f2f668bbced3ed62331 [file] [log] [blame]
Hans Wennborg0472f8c2020-04-23 19:27:271// 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
16namespace logging {
17
18BASE_EXPORT void LogErrorNotReached(const char* file, int line) {
19 LogMessage(file, line, LOG_ERROR).stream() << "NOTREACHED() hit.";
20}
21
22} // namespace logging