Home
last modified time | relevance | path

Searched +full:- +full:- +full:fatal +full:- +full:warnings (Results 1 – 25 of 622) sorted by relevance

12345678910>>...25

/external/clang/test/Driver/
Dfatal-warnings.c1 // RUN: %clang -### %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -Wa,--fatal-warnings 2>…
2 // RUN: not %clang %s -c -o %t.o -target i686-pc-linux-gnu -integrated-as -Wa,--fatal-warnings 2>&1…
3 // FileCheck --check-prefix=CHECK-AS %s -input-file %t.log
5 // CHECK: "-cc1" {{.*}} "-massembler-fatal-warnings"
6 // CHECK-AS: error: .warning argument must be a string
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/DebugInfo/GSYM/
DDwarfTransformer.h1 //===- DwarfTransformer.h ---------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
39 /// \param OS The stream to log warnings and non fatal issues to.
48 /// error if something fatal is encountered.
50 /// \returns An error indicating any fatal issues that happen when parsing
69 /// \param Strm The thread specific log stream for any non fatal errors and
70 /// warnings. Once a thread has finished parsing an entire compile unit, all
DObjectFileTransformer.h1 //===- ObjectFileTransformer.h ----------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
35 /// \param Log The stream to log warnings and non fatal issues to.
40 /// \returns An error indicating any fatal issues that happen when parsing
/external/python/cpython2/Lib/distutils/tests/
Dsupport.py9 import warnings
12 from distutils.log import DEBUG, INFO, WARN, ERROR, FATAL
18 with warnings.catch_warnings():
19 warnings.simplefilter("ignore")
28 self.threshold = log.set_threshold(log.FATAL)
29 # catching warnings
31 # we won't need such monkey-patch anymore
42 if level not in (DEBUG, INFO, WARN, ERROR, FATAL):
59 """Mix-in class that handles temporary directories for test cases.
105 - a Distribution instance using keywords
[all …]
/external/libnl/.github/workflows/
Dci.yml1 name: libnl3-ci
11 clang-format:
12 runs-on: ubuntu-latest
16 - name: Install packages
18 sudo dnf install -y \
19 clang-tools-extra \
22 - name: Check out repository code
25 - name: Setup git
27 git config --global --add safe.directory "$PWD"
29 - name: Formatting with clang-format
[all …]
/external/toolchain-utils/compiler_wrapper/
Ddisable_werror_flag_test.go2 // Use of this source code is governed by a BSD-style license that can be
22 const arbitraryWerrorStderr = "error: foo [-Werror,-Wfoo]"
40 t.Fatal(err)
56 if err := verifyArgCount(cmd, 0, "-Wno-error"); err != nil {
62 if err := verifyArgCount(cmd, 1, "-Wno-error"); err != nil {
83 if err := verifyArgCount(cmd, 0, "-Wno-error"); err != nil {
86 fmt.Fprint(stderr, "error: foo [-Wfoo]")
89 if err := verifyArgCount(cmd, 1, "-Wno-error=foo"); err != nil {
92 if err := verifyArgCount(cmd, 1, "-Wno-error"); err != nil {
114 if err := verifyArgCount(cmd, 0, "-Wno-error"); err != nil {
[all …]
/external/clang/include/clang/Basic/
DDiagnostic.h1 //===--- Diagnostic.h - C Language Family Diagnostic Handling ---*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
11 /// \brief Defines the Diagnostic-related interfaces.
13 //===----------------------------------------------------------------------===//
129 /// \brief Concrete class used by the front-end to report problems and issues.
131 /// This massages the diagnostics (e.g. handling things like "report warnings
147 Fatal = DiagnosticIDs::Fatal enumerator
172 bool IgnoreAllWarnings; // Ignore all warnings: -w
173 bool WarningsAsErrors; // Treat warnings like errors.
174 bool EnableAllWarnings; // Enable all warnings.
[all …]
DDiagnosticIDs.h1 //===--- DiagnosticIDs.h - Diagnostic IDs Handling --------------*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
11 /// \brief Defines the Diagnostic IDs-related interfaces.
13 //===----------------------------------------------------------------------===//
58 /// Enum values that allow the client to map NOTEs, WARNINGs, and EXTENSIONs
61 /// map ERRORs to Error or Fatal (stop emitting diagnostics after this one).
68 Fatal = 5 ///< Present this diagnostic as a fatal error. enumerator
72 /// kind of diagnostic (for instance, for -W/-R flags).
75 ///< problem. Can be made fatal by -Werror.
120 Ignored, Note, Remark, Warning, Error, Fatal enumerator
[all …]
/external/autotest/utils/frozen_chromite/lib/
Dcros_logging.py1 # -*- coding: utf-8 -*-
3 # Use of this source code is governed by a BSD-style license that can be
14 DEBUG: Enabled on the CLI with --debug. This is the noisiest logging level.
18 INFO: Enabled on the CLI with --verbose. Logging at this level should contain
19 relatively fine-grained info about the steps the process is performing, but
29 ERROR: Problems that are fatal to a specific operation or script, e.g.
32 CRITICAL/FATAL: Rarely needed. These should reflect an extraordinary error that
35 WARNING, ERROR, CRITICAL/FATAL: These levels are always included in the above
37 levels is rarely desirable, but the --log-level argument can be used to do so.
43 # pylint: disable=unused-wildcard-import, wildcard-import
[all …]
/external/llvm/utils/
Dclang-parse-diagnostics-file11 Utility for dumping Clang-style logged diagnostics.\
13 parser.add_option("-a", "--all", action="store_true", dest="all",
15 parser.add_option("-e", "--error", action="store_true", dest="error",
17 parser.add_option("-f", "--fatal", action="store_true", dest="fatal",
18 default=False, help="dump 'fatal error' messages.")
19 parser.add_option("-i", "--ignored", action="store_true", dest="ignored",
21 parser.add_option("-n", "--note", action="store_true", dest="note",
23 parser.add_option("-w", "--warning", action="store_true", dest="warning",
30 levels = {'error': False, 'fatal error': False, 'ignored': False,
34 if opts.fatal:
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/
Dcommon.pyx.pxi7 # http://www.apache.org/licenses/LICENSE-2.0
15 import warnings
38 Failure to deserialize is a fatal error.
49 Failure to serialize is a fatal error.
52 message = message.encode('utf-8')
67 def _repr(self) -> str:
70 def __repr__(self) -> str:
73 def __str__(self) -> str:
102 perform certain clean-up logic, and then re-raise it.
114 if 'Non-thread-safe operation' in str(runtime_error):
[all …]
/external/clang/lib/Basic/
DWarnings.cpp1 //===--- Warnings.cpp - C-Language Front-end ------------------------------===//
8 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
15 // a number of -Wfoo options and their variants, which are driven by TableGen-
16 // generated data, and the special cases -pedantic, -pedantic-errors, -w,
17 // -Werror and -Wfatal-errors.
19 // Each warning option controls any number of actual warnings.
21 // -Wfoo, -Wno-foo, -Werror=foo, -Wfatal-errors=foo
33 // EmitUnknownDiagWarning - Emit a warning and typo hint for unknown warning
47 Diags.setSuppressSystemWarnings(true); // Default to -Wno-system-headers in ProcessWarningOptions()
[all …]
DDiagnosticIDs.cpp1 //===--- DiagnosticIDs.cpp - Diagnostic IDs Handling ----------------------===//
8 //===----------------------------------------------------------------------===//
10 // This file implements the Diagnostic IDs-related interfaces.
12 //===----------------------------------------------------------------------===//
24 //===----------------------------------------------------------------------===//
26 //===----------------------------------------------------------------------===//
96 /// GetDiagInfo - Return the StaticDiagInfoRec entry for the specified DiagID,
125 unsigned ID = DiagID - DIAG_START_COMMON - 1; in GetDiagInfo()
128 Offset += NUM_BUILTIN_##PREV##_DIAGNOSTICS - DIAG_START_##PREV - 1; \ in GetDiagInfo()
129 ID -= DIAG_START_##NAME - DIAG_START_##PREV; \ in GetDiagInfo()
[all …]
/external/cronet/third_party/googletest/src/googlemock/include/gmock/internal/
Dgmock-internal-utils.h30 // Google Mock - a framework for writing C++ mock classes.
49 #include "gmock/internal/gmock-port.h"
72 // Converts an identifier name to a space-separated list of lower-case
73 // words. Each maximum substring of the form [A-Za-z][a-z]*|\d+ is
99 // same as unsigned short when the compiler option /Zc:wchar_t- is
109 // is bool, an integer type (excluding bool), a floating-point type,
147 // All standard floating-point types.
165 // reference) built-in arithmetic types, kFromKind is the kind of
167 // implementation-defined when the above pre-condition is violated.
171 // clang-format off
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCTargetOptionsCommandFlags.inc1 //===-- MCTargetOptionsCommandFlags.h --------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file contains machine code-specific flags that are shared between
12 //===----------------------------------------------------------------------===//
21 static cl::opt<bool> RelaxAll("mc-relax-all",
26 "incremental-linker-compatible",
31 static cl::opt<int> DwarfVersion("dwarf-version", cl::desc("Dwarf version"),
34 static cl::opt<bool> ShowMCInst("asm-show-inst",
38 static cl::opt<bool> FatalWarnings("fatal-warnings",
[all …]
/external/libcxx/utils/libcxx/test/
Dconfig.py1 #===----------------------------------------------------------------------===##
8 #===----------------------------------------------------------------------===##
30 # out-of-tree build situation).
37 lit_config.fatal(
53 # Extract the value of a numeric macro such as __cplusplus or a feature-test
59 # pylint: disable=redefined-outer-name
102 self.lit_config.fatal(
112 '--param=%s=%s' % (env_var, val, name, conf_val))
168 self.lit_config.note('Using warnings: %s' % self.cxx.warning_flags)
199 selt.lit_config.fatal("Cannot infer how to create a Valgrind "
[all …]
/external/llvm/include/llvm/MC/
DMCTargetOptionsCommandFlags.h1 //===-- MCTargetOptionsCommandFlags.h --------------------------*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
10 // This file contains machine code-specific flags that are shared between
13 //===----------------------------------------------------------------------===//
23 "asm-instrumentation", cl::desc("Instrumentation of inline assembly and "
32 cl::opt<bool> RelaxAll("mc-relax-all",
37 "incremental-linker-compatible",
42 cl::opt<int> DwarfVersion("dwarf-version", cl::desc("Dwarf version"),
45 cl::opt<bool> ShowMCInst("asm-show-inst",
49 cl::opt<bool> FatalWarnings("fatal-warnings",
[all …]
/external/clang/lib/Frontend/
DTextDiagnosticBuffer.cpp1 //===--- TextDiagnosticBuffer.cpp - Buffer Text Diagnostics ---------------===//
8 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
19 /// HandleDiagnostic - Store the errors, warnings, and notes that are
24 // Default implementation (Warnings/errors count). in HandleDiagnostic()
36 Warnings.emplace_back(Info.getLocation(), Buf.str()); in HandleDiagnostic()
42 case DiagnosticsEngine::Fatal: in HandleDiagnostic()
52 << it->second; in FlushDiagnostics()
55 << it->second; in FlushDiagnostics()
58 << it->second; in FlushDiagnostics()
[all …]
/external/llvm/test/tools/llvm-mc/
Dfatal_warnings.test1 # RUN: not llvm-mc --fatal-warnings %s 2>&1 | FileCheck %s
/external/libaom/third_party/googletest/src/googlemock/include/gmock/internal/
Dgmock-internal-utils.h30 // Google Mock - a framework for writing C++ mock classes.
49 #include "gmock/internal/gmock-port.h"
72 // Converts an identifier name to a space-separated list of lower-case
73 // words. Each maximum substring of the form [A-Za-z][a-z]*|\d+ is
99 // same as unsigned short when the compiler option /Zc:wchar_t- is
109 // is bool, an integer type (excluding bool), a floating-point type,
147 // All standard floating-point types.
165 // reference) built-in arithmetic types, kFromKind is the kind of
167 // implementation-defined when the above pre-condition is violated.
171 // clang-format off
[all …]
/external/mesa3d/src/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/Retired/
DcheckLinks.py3 # Copyright 2015-2023 The Khronos Group Inc.
5 # SPDX-License-Identifier: Apache-2.0
7 # checkLinks.py - validate link/reference API constructs in files
12 # -follow attempt to follow include:: directives. This script is not an
14 # -info print some internal diagnostics.
15 # -paramcheck attempt to validate param: names against the surrounding
18 # -fatal unvalidatable links cause immediate error exit from the script.
23 # API, e.g. 'makeAllExts checklinks'; otherwise many false-flagged errors
33 curLine = -1
45 print('-------------------------------')
[all …]
/external/freetype/
D.gitlab-ci.yml4 - build
6 # FIXME: Use --werror once warnings are fixed.
8 MESON_ARGS: --fatal-meson-warnings --default-library=both
9 MESON_ARGS_WINDOWS: ${MESON_ARGS} --force-fallback-for=zlib
14 image: "registry.freedesktop.org/gstreamer/gstreamer/amd64/windows:2022-07-29.3-main"
17 - 'docker'
18 - 'windows'
19 - '2022'
20 - 'gstreamer-windows'
24 # https://gitlab.freedesktop.org/freetype/docker-images/container_registry/20896
[all …]
/external/libepoxy/.github/workflows/
Dmsvc-env.yml11 runs-on: windows-latest
13 PYTHONIOENCODING: "utf-8"
15 - uses: actions/checkout@master
16 - uses: actions/setup-python@v1
17 - uses: seanmiddleditch/gha-setup-vsdevenv@master
18 - uses: BSFishy/meson-build@v1.0.1
22 options: --verbose --fatal-meson-warnings
23 meson-version: 0.54.3
/external/clang/test/Misc/
Dwarning-flags-enabled.c1 // RUN: diagtool show-enabled %s | FileCheck %s
3 // This shows warnings which are on by default.
11 // RUN: diagtool show-enabled -Wno-everything %s | count 0
14 // RUN: diagtool show-enabled -Wno-everything -Wobjc-root-class %s | FileCheck -check-prefix CHECK-
15 // RUN: diagtool show-enabled -Wno-everything -Werror=objc-root-class %s | FileCheck -check-prefix …
16 // RUN: diagtool show-enabled -Wno-everything -Wfatal-errors=objc-root-class %s | FileCheck -check-
18 // CHECK-WARN: W warn_objc_root_class_missing [-Wobjc-root-class]
19 // CHECK-ERROR: E warn_objc_root_class_missing [-Wobjc-root-class]
20 // CHECK-FATAL: F warn_objc_root_class_missing [-Wobjc-root-class]
22 // RUN: diagtool show-enabled --no-levels -Wno-everything -Wobjc-root-class %s | FileCheck -check-p…
[all …]
/external/angle/src/common/
Dlog_utils.h3 // Use of this source code is governed by a BSD-style license that can be
74 // compiler warnings like "value computed is not used" and "statement has no effect".
85 // Used by ANGLE_LOG_IS_ON to lazy-evaluate stream arguments.
92 // C is the type of characters - either char for ANSI or wchar_t for wide char.
194 // ostream::operator<<(int) and ostream non-member streaming functions
216 #define FATAL() ANGLE_LOG(FATAL) macro
252 // object with a non-trivial destructor (LogMessage). On MSVC x86 (checked on 2015 Update 3), this
256 // templated operator<< also works to avoid these instructions. However, this causes warnings on
258 // they become defined-but-unreferenced functions. A reinterpret_cast of 0 to an ostream* also is
267 : (FATAL() << "\t! Assert failed in " << __FUNCTION__ << " (" << __FILE__ \
[all …]

12345678910>>...25