HomeSort by relevance Sort by last modified time
    Searched refs:Diagnostic (Results 1 - 25 of 85) sorted by null

1 2 3 4

  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ValidationType.java 19 import javax.tools.Diagnostic;
30 Optional<Diagnostic.Kind> diagnosticKind() {
33 return Optional.of(Diagnostic.Kind.ERROR);
35 return Optional.of(Diagnostic.Kind.WARNING);
ValidationReport.java 26 import javax.tools.Diagnostic;
27 import javax.tools.Diagnostic.Kind;
29 import static javax.tools.Diagnostic.Kind.ERROR;
30 import static javax.tools.Diagnostic.Kind.NOTE;
31 import static javax.tools.Diagnostic.Kind.WARNING;
40 * other elements that are contained within or related to the subject. Since {@link Diagnostic}
ComponentGenerator.java 32 import javax.tools.Diagnostic;
44 private final Diagnostic.Kind nullableValidationType;
51 Diagnostic.Kind nullableValidationType) {
  /frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
L.java 25 import javax.tools.Diagnostic;
26 import javax.tools.Diagnostic.Kind;
53 printMessage(null, Diagnostic.Kind.NOTE, String.format(msg, args));
59 printMessage(element, Diagnostic.Kind.NOTE, String.format(msg, args));
65 printMessage(null, Diagnostic.Kind.NOTE,
99 printMessage(null, Diagnostic.Kind.ERROR, fullMsg);
105 printMessage(element, Diagnostic.Kind.ERROR, fullMsg);
111 printMessage(null, Diagnostic.Kind.ERROR,
115 private static void printMessage(Element element, Diagnostic.Kind kind, String message) {
117 if (kind == Diagnostic.Kind.ERROR)
    [all...]
  /frameworks/compile/mclinker/include/mcld/LD/
DiagnosticPrinter.h 12 #include "mcld/LD/Diagnostic.h"
18 * \brief DiagnosticPrinter provides the interface to customize diagnostic
35 /// HandleDiagnostic - Handle this diagnostic, reporting it to the user or
38 const Diagnostic& pInfo);
TextDiagnosticPrinter.h 29 /// HandleDiagnostic - Handle this diagnostic, reporting it to the user or
32 const Diagnostic& pInfo);
Diagnostic.h 1 //===- Diagnostic.h -------------------------------------------------------===//
19 /** \class Diagnostic
20 * \brief Diagnostic provides current status to DiagnosticPrinters.
22 class Diagnostic {
24 explicit Diagnostic(DiagnosticEngine& pEngine);
26 ~Diagnostic();
79 // format - format this diagnostic into string, subsituting the formal
DiagnosticEngine.h 88 friend class Diagnostic;
  /frameworks/compile/mclinker/lib/LD/
DiagnosticPrinter.cpp 23 /// HandleDiagnostic - Handle this diagnostic, reporting it to the user or
26 const Diagnostic& pInfo) {
Diagnostic.cpp 1 //===- Diagnostic.cpp -----------------------------------------------------===//
9 #include "mcld/LD/Diagnostic.h"
22 // Diagnostic
23 Diagnostic::Diagnostic(DiagnosticEngine& pEngine) : m_Engine(pEngine) {
26 Diagnostic::~Diagnostic() {
29 // format - format this diagnostic into string, subsituting the formal
31 void Diagnostic::format(std::string& pOutStr) const {
38 const char* Diagnostic::findMatch(char pVal
    [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)
  /external/clang/include/clang/Basic/
Makefile 17 INPUT_TDS = $(wildcard $(PROJ_SRC_DIR)/Diagnostic*.td)
35 $(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic.td $(INPUT_TDS) $(CLANG_TBLGEN) $(ObjDir)/.dir
36 $(Echo) "Building Clang $(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) diagnostic tables with tblgen"
37 $(Verb) $(ClangTableGen) -gen-clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) -o $(call SYSPATH, $@) $<
39 $(ObjDir)/DiagnosticIndexName.inc.tmp : Diagnostic.td $(INPUT_TDS) $(CLANG_TBLGEN) $(ObjDir)/.dir
40 $(Echo) "Building Clang diagnostic name index with tblgen"
43 $(ObjDir)/DiagnosticGroups.inc.tmp : Diagnostic.td DiagnosticGroups.td $(INPUT_TDS) $(CLANG_TBLGEN) $(ObjDir)/.dir
44 $(Echo) "Building Clang diagnostic groups with tblgen
    [all...]
  /external/clang/include/clang/Frontend/
TextDiagnosticPrinter.h 1 //===--- TextDiagnosticPrinter.h - Text Diagnostic Client -------*- C++ -*-===//
10 // This is a concrete diagnostic client, which prints the diagnostics to
18 #include "clang/Basic/Diagnostic.h"
32 /// \brief Handle to the currently active text diagnostic emitter.
45 /// setPrefix - Set the diagnostic printer prefix string, which will be
53 const Diagnostic &Info) override;
TextDiagnosticBuffer.h 10 // This is a concrete diagnostic client, which buffers the diagnostic messages.
17 #include "clang/Basic/Diagnostic.h"
46 const Diagnostic &Info) override;
49 /// diagnostic engine.
ChainedDiagnosticConsumer.h 1 //===- ChainedDiagnosticConsumer.h - Chain Diagnostic Clients ---*- C++ -*-===//
13 #include "clang/Basic/Diagnostic.h"
19 /// ChainedDiagnosticConsumer - Chain two diagnostic clients so that diagnostics
20 /// go to the first client and then the second. The first diagnostic client
61 const Diagnostic &Info) override {
LogDiagnosticPrinter.h 1 //===--- LogDiagnosticPrinter.h - Log Diagnostic Client ---------*- C++ -*-===//
13 #include "clang/Basic/Diagnostic.h"
24 /// The primary message line of the diagnostic.
36 /// The ID of the diagnostic.
39 /// The Option Flag for the diagnostic
42 /// The level of the diagnostic.
80 const Diagnostic &Info) override;
  /frameworks/compile/slang/
slang_diagnostic_buffer.h 23 #include "clang/Basic/Diagnostic.h"
37 // diagnostic buffer, to avoid duplicates. This can happen because for a
48 const clang::Diagnostic &Info) override;
slang_diagnostic_buffer.cpp 37 clang::Diagnostic const &Info) {
66 slangAssert(0 && "Diagnostic not handled during diagnostic buffering!");
slang_rs_ast_replace.h 26 class Diagnostic;
  /external/clang/bindings/python/tests/cindex/
test_diagnostics.py 9 assert tu.diagnostics[0].severity == Diagnostic.Warning
19 assert tu.diagnostics[0].severity == Diagnostic.Warning
23 # assert tu.diagnostics[1].severity == Diagnostic.Note
31 assert tu.diagnostics[0].severity == Diagnostic.Warning
45 assert tu.diagnostics[0].severity == Diagnostic.Warning
68 assert d.severity == Diagnostic.Warning
  /external/clang/tools/libclang/
CIndexDiagnostic.cpp 10 |* Implements the diagnostic functions of the Clang C interface. *|
174 // -error-on-deserialized-decl, that will emit a diagnostic error,
179 // We check here if a new diagnostic was appended since the last time the
180 // diagnostic set was created, in which case we reset it.
249 void clang_disposeDiagnostic(CXDiagnostic Diagnostic) {
254 CXString clang_formatDiagnostic(CXDiagnostic Diagnostic, unsigned Options) {
255 if (!Diagnostic)
258 CXDiagnosticSeverity Severity = clang_getDiagnosticSeverity(Diagnostic);
268 clang_getSpellingLocation(clang_getDiagnosticLocation(Diagnostic),
278 unsigned N = clang_getDiagnosticNumRanges(Diagnostic);
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
TemplateCompiler.java 34 import javax.tools.Diagnostic;
146 List<Diagnostic<? extends JavaFileObject>> diagnostics, Exception cause)
152 for (Diagnostic<? extends JavaFileObject> diagnostic : diagnostics) {
153 message.append(diagnostic).append('\n');
  /external/clang/lib/Frontend/
TextDiagnosticPrinter.cpp 1 //===--- TextDiagnosticPrinter.cpp - Diagnostic Printer -------------------===//
10 // This diagnostic client prints out their diagnostic messages.
49 /// \brief Print any diagnostic option information to a raw_ostream.
51 /// This implements all of the logic for adding diagnostic options to a message
56 const Diagnostic &Info,
67 // report to the user what happened by inferring what the diagnostic engine
68 // did. Eventually it might make more sense to have the diagnostic engine
69 // include some "why" information in the diagnostic.
113 const Diagnostic &Info)
    [all...]
TextDiagnosticBuffer.cpp 10 // This is a concrete diagnostic client, which buffers the diagnostic messages.
23 const Diagnostic &Info) {
31 "Diagnostic not handled during diagnostic buffering!");
  /external/clang/include/clang/Rewrite/Frontend/
FixItRewriter.h 1 //===--- FixItRewriter.h - Fix-It Rewriter Diagnostic Client ----*- C++ -*-===//
10 // This is a diagnostic client adaptor that performs rewrites as
12 // then forwards any diagnostics to the adapted diagnostic client.
18 #include "clang/Basic/Diagnostic.h"
54 /// \brief If true, only pass the diagnostic to the actual diagnostic consumer
55 /// if it is an error or a fixit was applied as part of the diagnostic.
70 /// \brief The diagnostic client that performs the actual formatting
82 /// \brief Whether the previous diagnostic was not passed to the consumer.
121 /// HandleDiagnostic - Handle this diagnostic, reporting it to the user o
    [all...]

Completed in 457 milliseconds

1 2 3 4