HomeSort by relevance Sort by last modified time
    Searched full:diagnostic (Results 1 - 25 of 943) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Preprocessor/
pragma_diagnostic_output.c 2 // CHECK: #pragma GCC diagnostic warning "-Wall"
3 #pragma GCC diagnostic warning "-Wall"
4 // CHECK: #pragma GCC diagnostic ignored "-Wall"
5 #pragma GCC diagnostic ignored "-Wall"
6 // CHECK: #pragma GCC diagnostic error "-Wall"
7 #pragma GCC diagnostic error "-Wall"
8 // CHECK: #pragma GCC diagnostic fatal "-Wall"
9 #pragma GCC diagnostic fatal "-Wall"
10 // CHECK: #pragma GCC diagnostic push
11 #pragma GCC diagnostic pus
    [all...]
pushable-diagnostics.c 3 #pragma clang diagnostic pop // expected-warning{{pragma diagnostic pop could not pop, no matching push}}
5 #pragma clang diagnostic puhs // expected-warning {{pragma diagnostic expected 'error', 'warning', 'ignored', 'fatal', 'push', or 'pop'}}
9 #pragma clang diagnostic push
10 #pragma clang diagnostic ignored "-Wmultichar"
13 #pragma clang diagnostic pop
17 #pragma clang diagnostic pop // expected-warning{{pragma diagnostic pop could not pop, no matching push}}
pragma_diagnostic.c 7 #pragma GCC diagnostic warning "-Wundef"
12 #pragma GCC diagnostic ignored "-Wun" "def"
17 #pragma GCC diagnostic error "-Wundef"
24 #pragma GCC diagnostic foo "-Wundef" // expected-warning {{pragma diagnostic expected 'error', 'warning', 'ignored', 'fatal', 'push', or 'pop'}}
26 #pragma GCC diagnostic error 42 // expected-error {{expected string literal in pragma diagnostic}}
28 #pragma GCC diagnostic error "-Wundef" 42 // expected-warning {{unexpected token in pragma diagnostic}}
29 #pragma GCC diagnostic error "invalid-name" // expected-warning {{pragma diagnostic expected option name (e.g. "-Wundef" (…)
    [all...]
_Pragma-in-macro-arg.c 4 #define A(desc) _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wparentheses\"") _Pragma("clang diagnostic pop")
6 B(_Pragma("clang diagnostic ignored \"-Wparentheses\""))
16 INACTIVE(_Pragma("clang diagnostic ignored \"-Wconversion\""))
18 #define IGNORE_CONV _Pragma("clang diagnostic ignored \"-Wconversion\"") _Pragma("clang diagnostic ignored \"-Wconversion\"")
24 IGNORE_POPPUSH(_Pragma("clang diagnostic pop"), _Pragma("clang diagnostic push"),
25 _Pragma("clang diagnostic ignored \"-Wconversion\""), int q = (double)1.0)
    [all...]
_Pragma-location.c 19 #define __PRAGMA_PUSH_NO_EXTRA_ARG_WARNINGS _Pragma("clang diagnostic push") \
20 _Pragma("clang diagnostic ignored \"-Wformat-extra-args\"")
21 #define __PRAGMA_POP_NO_EXTRA_ARG_WARNINGS _Pragma("clang diagnostic pop")
24 1;_Pragma("clang diagnostic push") \
25 _Pragma("clang diagnostic ignored \"-Wformat-extra-args\"")
26 _Pragma("clang diagnostic pop")
35 // CHECK-NEXT: #pragma clang diagnostic push
36 // CHECK-NEXT: #pragma clang diagnostic ignored "-Wformat-extra-args"
37 // CHECK-NEXT: #pragma clang diagnostic pop
41 // CHECK-NEXT: #pragma clang diagnostic pus
    [all...]
pragma_diagnostic_sections.cpp 7 #pragma clang diagnostic push
8 #pragma clang diagnostic ignored "-Wtautological-compare"
10 #pragma clang diagnostic pop
17 #pragma clang diagnostic push
18 #pragma clang diagnostic ignored "-Wtautological-compare"
23 #pragma clang diagnostic pop
34 #pragma clang diagnostic push
35 #pragma clang diagnostic ignored "-Wunused-macros"
37 #pragma clang diagnostic pop
41 #pragma clang diagnostic pus
    [all...]
  /external/clang/test/Index/Inputs/
pragma_disable_warning.h 1 #pragma clang diagnostic ignored "-Wunused-parameter"
  /external/clang/test/TableGen/
DiagnosticBase.inc 1 // Define the diagnostic mappings.
8 // Define the diagnostic classes.
23 class Diagnostic<string text, DiagClass DC, DiagMapping defaultmapping> {
31 class Error<string str> : Diagnostic<str, CLASS_ERROR, MAP_ERROR>;
32 class Warning<string str> : Diagnostic<str, CLASS_WARNING, MAP_WARNING>;
33 class Extension<string str> : Diagnostic<str, CLASS_EXTENSION, MAP_IGNORE>;
34 class ExtWarn<string str> : Diagnostic<str, CLASS_EXTENSION, MAP_WARNING>;
35 class Note<string str> : Diagnostic<str, CLASS_NOTE, MAP_FATAL/*ignored*/>;
  /external/clang/test/Misc/
emit-html.c 21 // Diagnostic push/pop is stateful, so re-lexing a file can cause problems
23 _Pragma("clang diagnostic push")
24 _Pragma("clang diagnostic ignored \"-Wformat-extra-args\"")
25 _Pragma("clang diagnostic pop")
  /external/eigen/Eigen/src/Core/util/
ReenableStupidWarnings.h 10 #pragma clang diagnostic pop
  /external/clang/test/Frontend/
warning-mapping-5.c 1 // Check that #pragma diagnostic warning overrides -Werror. This matches GCC's
6 #pragma clang diagnostic warning "-Wsign-compare"
  /external/clang/test/Lexer/
pragma-operators.cpp 21 #define pragma_L _Pragma(L"GCC diagnostic push")
23 #define pragma_u _Pragma(u"GCC diagnostic pop")
25 #define pragma_R _Pragma(R"(clang diagnostic ignored "-Wunused")")
26 #define pragma_UR _Pragma(UR"(clang diagnostic error "-Wunused")")
29 // CHECK: #pragma GCC diagnostic push
31 // CHECK: #pragma GCC diagnostic pop
33 // CHECK: #pragma clang diagnostic ignored "-Wunused"
34 // CHECK: #pragma clang diagnostic error "-Wunused"
  /external/clang/include/clang/Basic/
CMakeLists.txt 2 clang_tablegen(Diagnostic${component}Kinds.inc
4 SOURCE Diagnostic.td
19 SOURCE Diagnostic.td
23 SOURCE Diagnostic.td
DiagnosticIDs.h 1 //===--- DiagnosticIDs.h - Diagnostic IDs Handling --------------*- C++ -*-===//
11 /// \brief Defines the Diagnostic IDs-related interfaces.
27 // Import the diagnostic enums themselves.
64 MAP_IGNORE = 1, ///< Map this diagnostic to nothing, ignore it.
65 MAP_WARNING = 2, ///< Map this diagnostic to a warning.
66 MAP_ERROR = 3, ///< Map this diagnostic to an error.
67 MAP_FATAL = 4 ///< Map this diagnostic to a fatal error.
108 /// \brief Used for handling and querying diagnostic IDs. Can be used and shared
112 /// Level The level of the diagnostic, after it has been through mapping.
125 /// \brief Return an ID for a diagnostic with the specified message and level
    [all...]
Diagnostic.td 1 //===--- Diagnostic.td - C Language Family Diagnostic Handling ------------===//
11 // and diagnostic control.
15 // Define the diagnostic mappings.
22 // Define the diagnostic classes.
29 // Diagnostic Categories. These can be applied to groups or individual
35 // Diagnostic Groups.
45 // This defines all of the named diagnostic categories.
48 // This defines all of the named diagnostic groups.
53 class Diagnostic<string text, DiagClass DC, DiagMapping defaultmapping>
    [all...]
Diagnostic.h 1 //===--- Diagnostic.h - C Language Family Diagnostic Handling ---*- C++ -*-===//
11 /// \brief Defines the Diagnostic-related interfaces.
40 /// \brief Annotates a diagnostic with some code that should be
47 /// suppressing the diagnostic output can still result in successful
134 /// \brief The level of the diagnostic, after it has been through mapping.
195 /// Mapping info is packed into four bits per diagnostic. The low three
201 /// A new DiagState is created and kept around when diagnostic pragmas modify
202 /// the state so that we know what is the diagnostic state at any given
226 /// \brief Represents a point in source where the diagnostic state wa
    [all...]
  /external/clang/test/Index/
pragma-diag-reparse.c 1 #pragma clang diagnostic ignored "-Wtautological-compare"
6 #pragma clang diagnostic push
7 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
9 #pragma clang diagnostic pop
  /external/clang/test/PCH/
pth.c 4 #error This is the only diagnostic
6 // CHECK: This is the only diagnostic
pragma-diag-section.cpp 11 #pragma clang diagnostic push
12 #pragma clang diagnostic ignored "-Wtautological-compare"
20 #pragma clang diagnostic pop
  /external/bison/m4/
extern-inline.m4 15 It suppresses GCC's bogus "no previous prototype for 'FOO'" diagnostic,
33 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
49 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
52 _Pragma ("GCC diagnostic push") \
53 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
54 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
57 _Pragma ("GCC diagnostic pop")
  /prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/
diagnostic.h 26 #include "diagnostic-core.h"
28 /* A diagnostic is described by the MESSAGE to send, the FILE and LINE of
30 list in diagnostic.def. */
38 /* The kind of diagnostic it is about. */
40 /* Which OPT_* directly controls this diagnostic. */
44 /* Each time a diagnostic's classification is changed with a pragma,
60 the context of a diagnostic message. */
63 /* Where most of the diagnostic formatting work is done. */
82 options), this array may contain a new kind that the diagnostic
91 classification for a given diagnostic, given the location of th
    [all...]
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/
diagnostic.h 26 #include "diagnostic-core.h"
28 /* A diagnostic is described by the MESSAGE to send, the FILE and LINE of
30 list in diagnostic.def. */
38 /* The kind of diagnostic it is about. */
40 /* Which OPT_* directly controls this diagnostic. */
44 /* Each time a diagnostic's classification is changed with a pragma,
60 the context of a diagnostic message. */
63 /* Where most of the diagnostic formatting work is done. */
82 options), this array may contain a new kind that the diagnostic
91 classification for a given diagnostic, given the location of th
    [all...]
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/
diagnostic.h 26 #include "diagnostic-core.h"
28 /* A diagnostic is described by the MESSAGE to send, the FILE and LINE of
30 list in diagnostic.def. */
38 /* The kind of diagnostic it is about. */
40 /* Which OPT_* directly controls this diagnostic. */
44 /* Each time a diagnostic's classification is changed with a pragma,
60 the context of a diagnostic message. */
63 /* Where most of the diagnostic formatting work is done. */
82 options), this array may contain a new kind that the diagnostic
91 classification for a given diagnostic, given the location of th
    [all...]
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/
diagnostic.h 26 #include "diagnostic-core.h"
28 /* A diagnostic is described by the MESSAGE to send, the FILE and LINE of
30 list in diagnostic.def. */
38 /* The kind of diagnostic it is about. */
40 /* Which OPT_* directly controls this diagnostic. */
44 /* Each time a diagnostic's classification is changed with a pragma,
60 the context of a diagnostic message. */
63 /* Where most of the diagnostic formatting work is done. */
82 options), this array may contain a new kind that the diagnostic
91 classification for a given diagnostic, given the location of th
    [all...]
  /external/clang/utils/
find-unused-diagnostics.sh 4 # in Diagnostic*.td files but not used in sources.
7 # Gather all diagnostic identifiers from the .td files.
8 ALL_DIAGS=$(grep -E --only-matching --no-filename '(err_|warn_|ext_|note_)[a-z_]+' ./include/clang/Basic/Diagnostic*.td)

Completed in 959 milliseconds

1 2 3 4 5 6 7 8 91011>>