Home
last modified time | relevance | path

Searched refs:Diagnostics (Results 1 – 25 of 84) sorted by relevance

1234

/external/clang/lib/ASTMatchers/Dynamic/
DDiagnostics.cpp15 Diagnostics::ArgStream Diagnostics::pushContextFrame(ContextType Type, in pushContextFrame()
24 Diagnostics::Context::Context(ConstructMatcherEnum, Diagnostics *Error, in Context()
31 Diagnostics::Context::Context(MatcherArgEnum, Diagnostics *Error, in Context()
40 Diagnostics::Context::~Context() { Error->ContextStack.pop_back(); } in ~Context()
42 Diagnostics::OverloadContext::OverloadContext(Diagnostics *Error) in OverloadContext()
45 Diagnostics::OverloadContext::~OverloadContext() { in ~OverloadContext()
48 Diagnostics::ErrorContent &Dest = Error->Errors[BeginIndex]; in ~OverloadContext()
56 void Diagnostics::OverloadContext::revertErrors() { in revertErrors()
61 Diagnostics::ArgStream &Diagnostics::ArgStream::operator<<(const Twine &Arg) { in operator <<()
66 Diagnostics::ArgStream Diagnostics::addError(SourceRange Range, in addError()
[all …]
DParser.cpp60 explicit CodeTokenizer(StringRef MatcherCode, Diagnostics *Error) in CodeTokenizer()
66 CodeTokenizer(StringRef MatcherCode, Diagnostics *Error, in CodeTokenizer()
255 Diagnostics *Error;
365 Diagnostics::Context Ctx(Diagnostics::Context::MatcherArg, Error, in parseMatcherExpressionImpl()
425 Diagnostics::Context Ctx(Diagnostics::Context::ConstructMatcher, Error, in parseMatcherExpressionImpl()
525 const NamedValueMap *NamedValues, Diagnostics *Error) in Parser()
538 ArrayRef<ParserValue> Args, Diagnostics *Error) { in actOnMatcherExpression()
559 VariantValue *Value, Diagnostics *Error) { in parseExpression()
574 Diagnostics Error; in completeExpression()
594 Diagnostics *Error) { in parseMatcherExpression()
DMarshallers.h109 Diagnostics *Error) const = 0;
167 Diagnostics *Error);
185 Diagnostics *Error) const override {
283 ArrayRef<ParserValue> Args, Diagnostics *Error) {
325 Diagnostics *Error);
339 Diagnostics *Error) const override {
419 Diagnostics *Error) {
430 Diagnostics *Error) {
443 Diagnostics *Error) {
498 Diagnostics *Error) const override {
[all …]
/external/clang/include/clang/Sema/
DDelayedDiagnostic.h241 SmallVector<DelayedDiagnostic, 4> Diagnostics; variable
249 i = Diagnostics.begin(), e = Diagnostics.end(); i != e; ++i) in ~DelayedDiagnosticPool()
254 : Parent(Other.Parent), Diagnostics(std::move(Other.Diagnostics)) { in DelayedDiagnosticPool()
255 Other.Diagnostics.clear(); in DelayedDiagnosticPool()
259 Diagnostics = std::move(Other.Diagnostics);
260 Other.Diagnostics.clear();
268 return (Diagnostics.empty() && (!Parent || Parent->empty())); in empty()
273 Diagnostics.push_back(diag); in add()
278 if (pool.Diagnostics.empty()) return; in steal()
280 if (Diagnostics.empty()) { in steal()
[all …]
/external/clang/include/clang/ASTMatchers/Dynamic/
DParser.h87 Diagnostics *Error) = 0;
135 Diagnostics *Error) override;
164 Diagnostics *Error);
167 Diagnostics *Error) { in parseMatcherExpression()
171 parseMatcherExpression(StringRef MatcherCode, Diagnostics *Error) { in parseMatcherExpression()
189 VariantValue *Value, Diagnostics *Error);
191 VariantValue *Value, Diagnostics *Error) { in parseExpression()
195 Diagnostics *Error) { in parseExpression()
229 Diagnostics *Error);
246 Diagnostics *const Error;
DDiagnostics.h51 class Diagnostics {
106 Context(ConstructMatcherEnum, Diagnostics *Error, StringRef MatcherName,
110 Context(MatcherArgEnum, Diagnostics *Error, StringRef MatcherName,
115 Diagnostics *const Error;
124 OverloadContext(Diagnostics* Error);
131 Diagnostics *const Error;
DRegistry.h111 Diagnostics *Error);
123 Diagnostics *Error);
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp43 Diagnostics *Error = nullptr) { in constructMatcher()
44 Diagnostics DummyError; in constructMatcher()
56 Diagnostics *Error = nullptr) { in constructMatcher()
57 Diagnostics DummyError; in constructMatcher()
70 Diagnostics *Error = nullptr) { in constructMatcher()
71 Diagnostics DummyError; in constructMatcher()
394 std::unique_ptr<Diagnostics> Error(new Diagnostics()); in TEST_F()
398 Error.reset(new Diagnostics()); in TEST_F()
402 Error.reset(new Diagnostics()); in TEST_F()
406 Error.reset(new Diagnostics()); in TEST_F()
[all …]
DParserTest.cpp38 Diagnostics Error; in parse()
56 Diagnostics *Error) override { in actOnMatcherExpression()
172 Diagnostics Error; in TEST()
217 Diagnostics Error; in ParseWithError()
224 Diagnostics Error; in ParseMatcherWithError()
/external/clang/lib/Index/
DSimpleFormatContext.h39 Diagnostics(new DiagnosticsEngine(new DiagnosticIDs, in SimpleFormatContext()
43 Sources(*Diagnostics, Files), in SimpleFormatContext()
45 Diagnostics->setClient(new IgnoringDiagConsumer, true); in SimpleFormatContext()
65 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; variable
/external/clang/include/clang/Frontend/
DCompilerInstance.h76 IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; variable
326 bool hasDiagnostics() const { return Diagnostics != nullptr; } in hasDiagnostics()
330 assert(Diagnostics && "Compiler instance has no diagnostics!"); in getDiagnostics()
331 return *Diagnostics; in getDiagnostics()
338 assert(Diagnostics && Diagnostics->getClient() && in getDiagnosticClient()
340 return *Diagnostics->getClient(); in getDiagnosticClient()
523 if (Diagnostics) in getPCHContainerWriter()
524 Diagnostics->Report(diag::err_module_format_unhandled) << Format; in getPCHContainerWriter()
537 if (Diagnostics) in getPCHContainerReader()
538 Diagnostics->Report(diag::err_module_format_unhandled) << Format; in getPCHContainerReader()
/external/clang/tools/libclang/
DCIndexDiagnostic.h28 std::vector<std::unique_ptr<CXDiagnosticImpl>> Diagnostics; variable
37 return Diagnostics.size(); in getNumDiagnostics()
42 return Diagnostics[i].get(); in getDiagnostic()
48 return Diagnostics.empty(); in empty()
DCIndexDiagnostic.cpp37 Diagnostics.push_back(std::move(D)); in appendDiagnostic()
164 if (TU->Diagnostics && checkIfChanged) { in lazyCreateDiags()
183 Set = static_cast<CXDiagnosticSetImpl*>(TU->Diagnostics); in lazyCreateDiags()
188 TU->Diagnostics = nullptr; in lazyCreateDiags()
192 if (!TU->Diagnostics) { in lazyCreateDiags()
194 TU->Diagnostics = Set; in lazyCreateDiags()
204 return static_cast<CXDiagnosticSetImpl*>(TU->Diagnostics); in lazyCreateDiags()
/external/clang/lib/Tooling/
DTooling.cpp50 clang::DiagnosticsEngine *Diagnostics, const char *BinaryName, in newDriver() argument
53 BinaryName, llvm::sys::getDefaultTargetTriple(), *Diagnostics, VFS); in newDriver()
62 clang::DiagnosticsEngine *Diagnostics, in getCC1Arguments() argument
71 Diagnostics->Report(clang::diag::err_fe_expected_compiler_job) in getCC1Arguments()
80 Diagnostics->Report(clang::diag::err_fe_expected_clang_command); in getCC1Arguments()
89 clang::DiagnosticsEngine *Diagnostics, in newInvocation() argument
95 *Diagnostics); in newInvocation()
237 DiagnosticsEngine Diagnostics( in run() local
242 newDriver(&Diagnostics, BinaryName, Files->getVirtualFileSystem())); in run()
248 &Diagnostics, Compilation.get()); in run()
[all …]
DRefactoring.cpp43 DiagnosticsEngine Diagnostics( in runAndSave() local
46 SourceManager Sources(Diagnostics, getFiles()); in runAndSave()
/external/clang/unittests/Tooling/
DRewriterTestContext.h39 Diagnostics(IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), in RewriterTestContext()
46 Sources(Diagnostics, Files), Rewrite(Sources, Options) { in RewriterTestContext()
47 Diagnostics.setClient(&DiagnosticPrinter, false); in RewriterTestContext()
115 DiagnosticsEngine Diagnostics; variable
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp153 DiagnosticsEngine &Diagnostics = CI.getDiagnostics(); in ExecuteAction() local
154 DiagnosticConsumer *Client = Diagnostics.getClient(); in ExecuteAction()
155 if (Diagnostics.ownsClient()) in ExecuteAction()
156 OwnedClient = Diagnostics.takeClient(); in ExecuteAction()
159 Diagnostics.setClient(Client, false); in ExecuteAction()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/
DMessages.Designer.cs23 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
31 …[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811…
/external/clang/tools/clang-format-vs/ClangFormat/
DResources.Designer.cs23 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
31 …[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811…
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1/Resources/
DAppResources.Designer.cs24 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
33 …[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811…
/external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1/Resources/
DAppResources.Designer.cs24 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
33 …[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811…
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DErrorManager.cs39 using StackTrace = System.Diagnostics.StackTrace;
40 using StackFrame = System.Diagnostics.StackFrame;
/external/clang/tools/clang-fuzzer/
DClangFuzzer.cpp32 DiagnosticsEngine Diagnostics( in LLVMFuzzerTestOneInput() local
36 tooling::newInvocation(&Diagnostics, CC1Args)); in LLVMFuzzerTestOneInput()
/external/opencv3/samples/wp8/OpenCVXaml/OpenCVXaml/Resources/
DAppResources.Designer.cs24 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
33 …[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811…
/external/clang/lib/Rewrite/
DRewriter.cpp404 AtomicallyMovedFile(DiagnosticsEngine &Diagnostics, StringRef Filename, in AtomicallyMovedFile() argument
406 : Diagnostics(Diagnostics), Filename(Filename), AllWritten(AllWritten) { in AtomicallyMovedFile()
412 Diagnostics.Report(clang::diag::err_unable_to_make_temp) in AtomicallyMovedFile()
426 Diagnostics.Report(clang::diag::err_unable_to_rename_temp) in ~AtomicallyMovedFile()
438 DiagnosticsEngine &Diagnostics; member in __anon184271e10111::AtomicallyMovedFile

1234