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

1 2 3

  /frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
L.java 23 import javax.tools.Diagnostic;
24 import javax.tools.Diagnostic.Kind;
51 printMessage(Diagnostic.Kind.NOTE, String.format(msg, args));
57 printMessage(Diagnostic.Kind.NOTE,
87 printMessage(Diagnostic.Kind.ERROR, fullMsg);
93 printMessage(Diagnostic.Kind.ERROR,
97 private static void printMessage(Diagnostic.Kind kind, String message) {
99 if (kind == Diagnostic.Kind.ERROR) {
109 public void printMessage(Diagnostic.Kind kind, String message);
  /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;
DiagnosticRenderer.h 1 //===--- DiagnosticRenderer.h - Diagnostic Pretty-Printing ------*- C++ -*-===//
19 #include "clang/Basic/Diagnostic.h"
31 typedef llvm::PointerUnion<const Diagnostic *,
34 /// \brief Class to encapsulate the logic for formatting a diagnostic message.
39 /// diagnostic, including all of the macro backtraces, caret diagnostics, FixIt
51 /// \brief The location of the previous diagnostic if known.
54 /// diagnostic location, or that location itself is invalid or comes from
61 /// root locations rather than diagnostic locations.
64 /// \brief The level of the last diagnostic emitted.
66 /// The level of the last diagnostic emitted. Used to detect level change
    [all...]
  /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...]
  /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"
50 /// \brief If true, only pass the diagnostic to the actual diagnostic consumer
51 /// if it is an error or a fixit was applied as part of the diagnostic.
66 /// \brief The diagnostic client that performs the actual formatting
78 /// \brief Whether the previous diagnostic was not passed to the consumer.
117 /// HandleDiagnostic - Handle this diagnostic, reporting it to the user o
    [all...]
  /external/lldb/include/lldb/Core/
ClangForward.h 56 class Diagnostic;
  /frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
ProcessMethodAdapters.java 46 import javax.tools.Diagnostic;
217 processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR,
224 processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR,
229 processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR,
233 processingEnv.getMessager().printMessage(Diagnostic.Kind.NOTE,
  /cts/tools/dex-tools/test/dex/reader/util/
JavaSourceToDexUtil.java 25 import javax.tools.Diagnostic;
98 for (Diagnostic<? extends JavaFileObject> dia : diacol.getDiagnostics()) {

Completed in 443 milliseconds

1 2 3