Home
last modified time | relevance | path

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

12345

/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.h130 Diagnostics *Error) const = 0;
188 Diagnostics *Error);
206 Diagnostics *Error) const override {
304 ArrayRef<ParserValue> Args, Diagnostics *Error) {
346 Diagnostics *Error);
361 Diagnostics *Error) const override {
440 Diagnostics *Error) {
451 Diagnostics *Error) {
464 Diagnostics *Error) {
519 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/swiftshader/src/OpenGL/compiler/preprocessor/
DDirectiveParser.cpp152 DefinedParser(Lexer *lexer, const MacroSet *macroSet, Diagnostics *diagnostics) in DefinedParser()
178 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in lex()
190 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, in lex()
206 Diagnostics *mDiagnostics;
211 Diagnostics *diagnostics, in DirectiveParser()
250 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNTERMINATED, in lex()
285 mDiagnostics->report(Diagnostics::PP_DIRECTIVE_INVALID_NAME, in parseDirective()
336 mDiagnostics->report(Diagnostics::PP_EOF_IN_DIRECTIVE, in parseDirective()
348 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, in parseDefine()
354 mDiagnostics->report(Diagnostics::PP_MACRO_PREDEFINED_REDEFINED, in parseDefine()
[all …]
DDiagnosticsBase.cpp22 Diagnostics::~Diagnostics() in ~Diagnostics()
26 void Diagnostics::report(ID id, const SourceLocation &loc, const std::string &text) in report()
31 bool Diagnostics::isError(ID id) in isError()
43 Diagnostics::Severity Diagnostics::severity(ID id) in severity()
55 const char *Diagnostics::message(ID id) in message()
DExpressionParser.y79 pp::Diagnostics* diagnostics;
221 context->diagnostics->report(pp::Diagnostics::PP_UNDEFINED_SHIFT,
246 context->diagnostics->report(pp::Diagnostics::PP_UNDEFINED_SHIFT,
274 context->diagnostics->report(pp::Diagnostics::PP_DIVISION_BY_ZERO,
300 context->diagnostics->report(pp::Diagnostics::PP_DIVISION_BY_ZERO,
369 context->diagnostics->report(pp::Diagnostics::PP_INTEGER_OVERFLOW,
431 context->diagnostics->report(pp::Diagnostics::PP_INVALID_EXPRESSION, in yyerror()
438 ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics) in ExpressionParser()
467 mDiagnostics->report(Diagnostics::PP_OUT_OF_MEMORY, token->location, ""); in parse()
472 mDiagnostics->report(Diagnostics::PP_INTERNAL_ERROR, token->location, ""); in parse()
DPreprocessor.cpp31 Diagnostics *diagnostics;
37 PreprocessorImpl(Diagnostics *diag, in PreprocessorImpl()
48 Preprocessor::Preprocessor(Diagnostics *diagnostics, in Preprocessor()
93 mImpl->diagnostics->report(Diagnostics::PP_INVALID_NUMBER, in lex()
97 mImpl->diagnostics->report(Diagnostics::PP_INVALID_CHARACTER, in lex()
DMacroExpander.cpp98 Diagnostics *diagnostics, in MacroExpander()
145 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in lex()
157 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in lex()
378 mDiagnostics->report(Diagnostics::PP_MACRO_UNTERMINATED_INVOCATION, identifier.location, in collectMacroArgs()
428 Diagnostics::ID id = args->size() < macro.parameters.size() ? in collectMacroArgs()
429 Diagnostics::PP_MACRO_TOO_FEW_ARGS : in collectMacroArgs()
430 Diagnostics::PP_MACRO_TOO_MANY_ARGS; in collectMacroArgs()
444 mDiagnostics->report(Diagnostics::PP_MACRO_INVOCATION_CHAIN_TOO_DEEP, in collectMacroArgs()
459 mDiagnostics->report(Diagnostics::PP_OUT_OF_MEMORY, token.location, token.text); in collectMacroArgs()
477 mDiagnostics->report(Diagnostics::PP_OUT_OF_MEMORY, token.location, token.text); in replaceMacroParams()
DExpressionParser.h31 Diagnostics::ID unexpectedIdentifier;
35 ExpressionParser(Lexer *lexer, Diagnostics *diagnostics);
45 Diagnostics *mDiagnostics;
DTokenizer.h25 class Diagnostics; variable
32 Diagnostics *diagnostics;
44 Tokenizer(Diagnostics *diagnostics);
DDirectiveParser.h26 class Diagnostics; variable
35 Diagnostics *diagnostics,
89 Diagnostics *mDiagnostics;
DMacroExpander.h28 class Diagnostics; variable
34 …MacroExpander(Lexer *lexer, MacroSet *macroSet, Diagnostics *diagnostics, bool parseDefined, int a…
75 Diagnostics *mDiagnostics;
/external/swiftshader/src/OpenGL/compiler/
DDirectiveHandler.cpp52 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, msg, "", ""); in handleError()
87 mDiagnostics.report(pp::Diagnostics::PP_UNRECOGNIZED_PRAGMA, loc, name); in handlePragma()
92 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handlePragma()
106 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension()
115 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension()
121 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension()
141 pp::Diagnostics::Severity severity = pp::Diagnostics::PP_ERROR; in handleExtension()
144 severity = pp::Diagnostics::PP_ERROR; in handleExtension()
149 severity = pp::Diagnostics::PP_WARNING; in handleExtension()
172 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleVersion()
/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;
/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 …]
/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/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/lib/Format/
DTokenAnalyzer.h46 std::unique_ptr<DiagnosticsEngine> Diagnostics, in Environment() argument
50 VirtualSM(std::move(VirtualSM)), Diagnostics(std::move(Diagnostics)) {} in Environment()
77 std::unique_ptr<DiagnosticsEngine> Diagnostics; variable
/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.cpp51 clang::DiagnosticsEngine *Diagnostics, const char *BinaryName, in newDriver() argument
55 *Diagnostics, std::move(VFS)); in newDriver()
64 clang::DiagnosticsEngine *Diagnostics, in getCC1Arguments() argument
73 Diagnostics->Report(clang::diag::err_fe_expected_compiler_job) in getCC1Arguments()
82 Diagnostics->Report(clang::diag::err_fe_expected_clang_command); in getCC1Arguments()
91 clang::DiagnosticsEngine *Diagnostics, in newInvocation() argument
97 *Diagnostics); in newInvocation()
245 DiagnosticsEngine Diagnostics( in run() local
250 newDriver(&Diagnostics, BinaryName, Files->getVirtualFileSystem())); in run()
256 &Diagnostics, Compilation.get()); in run()
[all …]
/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/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs13 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
59 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
281 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
392 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
503 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
614 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
725 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
836 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
947 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]

12345