Searched refs:Diagnostic (Results 1 - 25 of 43) sorted by relevance

12

/external/clang/utils/
H A Dfind-unused-diagnostics.sh4 # in Diagnostic*.td files but not used in sources.
8 ALL_DIAGS=$(grep -E --only-matching --no-filename '(err_|warn_|ext_|note_)[a-z_]+' ./include/clang/Basic/Diagnostic*.td)
/external/clang/bindings/python/tests/cindex/
H A Dtest_diagnostics.py9 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/include/clang/Basic/
H A DMakefile17 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
43 $(ObjDir)/DiagnosticGroups.inc.tmp : Diagnostic.td DiagnosticGroups.td $(INPUT_TDS) $(CLANG_TBLGEN) $(ObjDir)/.dir
H A DDiagnostic.h1 //===--- Diagnostic.h - C Language Family Diagnostic Handling ---*- C++ -*-===//
11 /// \brief Defines the Diagnostic-related interfaces.
720 friend class Diagnostic;
793 /// @name Diagnostic Emission
1116 // Diagnostic
1122 class Diagnostic {
1126 explicit Diagnostic(const DiagnosticsEngine *DO) : DiagObj(DO) {}
1127 Diagnostic(const DiagnosticsEngine *DO, StringRef storedDiagMessage)
1252 StoredDiagnostic(DiagnosticsEngine::Level Level, const Diagnostic
[all...]
H A DPartialDiagnostic.h1 //===--- PartialDiagnostic.h - Diagnostic "closures" ------------*- C++ -*-===//
19 #include "clang/Basic/Diagnostic.h"
210 PartialDiagnostic(const Diagnostic &Other, StorageAllocator &Allocator)
318 Diagnostic(&Diags).FormatDiagnostic(Buf);
/external/clang/include/clang/Frontend/
H A DTextDiagnosticBuffer.h17 #include "clang/Basic/Diagnostic.h"
46 const Diagnostic &Info) override;
H A DTextDiagnosticPrinter.h1 //===--- TextDiagnosticPrinter.h - Text Diagnostic Client -------*- C++ -*-===//
18 #include "clang/Basic/Diagnostic.h"
53 const Diagnostic &Info) override;
H A DChainedDiagnosticConsumer.h1 //===- ChainedDiagnosticConsumer.h - Chain Diagnostic Clients ---*- C++ -*-===//
13 #include "clang/Basic/Diagnostic.h"
56 const Diagnostic &Info) override {
H A DLogDiagnosticPrinter.h1 //===--- LogDiagnosticPrinter.h - Log Diagnostic Client ---------*- C++ -*-===//
13 #include "clang/Basic/Diagnostic.h"
75 const Diagnostic &Info) override;
H A DDiagnosticRenderer.h1 //===--- DiagnosticRenderer.h - Diagnostic Pretty-Printing ------*- C++ -*-===//
19 #include "clang/Basic/Diagnostic.h"
31 typedef llvm::PointerUnion<const Diagnostic *,
146 DiagOrStoredDiag D = (Diagnostic *)nullptr);
H A DVerifyDiagnosticConsumer.h1 //===- VerifyDiagnosticConsumer.h - Verifying Diagnostic Client -*- C++ -*-===//
13 #include "clang/Basic/Diagnostic.h"
272 const Diagnostic &Info) override;
/external/clang/tools/libclang/
H A DCIndexDiagnostic.cpp250 void clang_disposeDiagnostic(CXDiagnostic Diagnostic) { argument
255 CXString clang_formatDiagnostic(CXDiagnostic Diagnostic, unsigned Options) { argument
256 if (!Diagnostic)
259 CXDiagnosticSeverity Severity = clang_getDiagnosticSeverity(Diagnostic);
269 clang_getSpellingLocation(clang_getDiagnosticLocation(Diagnostic),
279 unsigned N = clang_getDiagnosticNumRanges(Diagnostic);
283 CXSourceRange Range = clang_getDiagnosticRange(Diagnostic, I);
316 CXString Text = clang_getDiagnosticSpelling(Diagnostic);
329 CXString OptionName = clang_getDiagnosticOption(Diagnostic, nullptr);
342 if (unsigned CategoryID = clang_getDiagnosticCategory(Diagnostic)) {
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
H A DTemplateCompiler.java34 import javax.tools.Diagnostic;
146 List<Diagnostic<? extends JavaFileObject>> diagnostics, Exception cause)
152 for (Diagnostic<? extends JavaFileObject> diagnostic : diagnostics) {
/external/clang/lib/Basic/
H A DAndroid.mk28 Diagnostic.cpp \
H A DDiagnostic.cpp1 //===--- Diagnostic.cpp - C Language Family Diagnostic Handling -----------===//
10 // This file implements the Diagnostic-related interfaces.
15 #include "clang/Basic/Diagnostic.h"
337 Diagnostic Info(this, storedDiag.getMessage());
352 Diagnostic Info(this);
384 const Diagnostic &Info) {
433 static void HandleSelectModifier(const Diagnostic &DInfo, unsigned ValNo,
575 static void HandlePluralModifier(const Diagnostic &DInfo, unsigned ValNo,
614 void Diagnostic
[all...]
/external/clang/lib/Frontend/
H A DTextDiagnosticPrinter.cpp1 //===--- TextDiagnosticPrinter.cpp - Diagnostic Printer -------------------===//
56 const Diagnostic &Info,
113 const Diagnostic &Info) {
H A DTextDiagnosticBuffer.cpp23 const Diagnostic &Info) {
31 "Diagnostic not handled during diagnostic buffering!");
H A DLogDiagnosticPrinter.cpp1 //===--- LogDiagnosticPrinter.cpp - Log Diagnostic Printer ----------------===//
111 const Diagnostic &Info) {
/external/clang/include/clang/Rewrite/Frontend/
H A DFixItRewriter.h1 //===--- FixItRewriter.h - Fix-It Rewriter Diagnostic Client ----*- C++ -*-===//
18 #include "clang/Basic/Diagnostic.h"
120 const Diagnostic &Info) override;
/external/clang/
H A Dclang-tblgen-rules.mk174 ifneq ($(filter Diagnostic%Kinds.inc,$(TBLGEN_TABLES)),)
175 LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/include/clang/Basic/,$(filter Diagnostic%Kinds.inc,$(TBLGEN_TABLES)))
176 $(intermediates)/include/clang/Basic/Diagnostic%Kinds.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE)
177 $(intermediates)/include/clang/Basic/Diagnostic%Kinds.inc: \
178 $(CLANG_ROOT_PATH)/include/clang/Basic/Diagnostic.td \
179 $(CLANG_ROOT_PATH)/include/clang/Basic/Diagnostic%Kinds.td \
181 $(call transform-host-clang-td-to-out,clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc,%,$(@F)))
187 $(intermediates)/include/clang/Basic/DiagnosticGroups.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Diagnostic.td $(CLANG_ROOT_PATH)/include/clang/Basic/DiagnosticGroups.td | $(CLANG_TBLGEN)
194 $(intermediates)/include/clang/Basic/DiagnosticIndexName.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Diagnostic.td | $(CLANG_TBLGEN)
/external/clang/include/clang/Sema/
H A DDelayedDiagnostic.h152 DD.ForbiddenTypeData.Diagnostic = diagnostic;
186 return ForbiddenTypeData.Diagnostic;
223 unsigned Diagnostic; member in struct:clang::sema::DelayedDiagnostic::FTD
H A DTemplateDeduction.h181 /// \brief Indicates whether a diagnostic is stored in Diagnostic.
191 char Diagnostic[sizeof(PartialDiagnosticAt)]; member in union:clang::DeductionFailureInfo::__anon17631
/external/llvm/lib/Support/
H A DSourceMgr.cpp205 void SourceMgr::PrintMessage(raw_ostream &OS, const SMDiagnostic &Diagnostic, argument
209 DiagHandler(Diagnostic, DiagContext);
213 if (Diagnostic.getLoc().isValid()) {
214 unsigned CurBuf = FindBufferContainingLoc(Diagnostic.getLoc());
219 Diagnostic.print(nullptr, OS, ShowColors);
/external/lldb/include/lldb/Core/
H A DClangForward.h56 class Diagnostic;
/external/clang/bindings/python/clang/
H A Dcindex.py295 class Diagnostic(object): class in inherits:object
297 A Diagnostic is a single instance of a Clang diagnostic. It includes the
386 return "<Diagnostic severity %r, location %r, spelling %r>" % (
2400 return Diagnostic(diag)
2797 Diagnostic),
2834 [Diagnostic]),
2994 [Diagnostic],
2998 [Diagnostic],
3003 [Diagnostic, c_uint, POINTER(SourceRange)],
3008 [Diagnostic],
[all...]

Completed in 299 milliseconds

12