Lines Matching full:diagnostics
147 Diagnostics *diagnostics, in DirectiveParser() argument
155 mDiagnostics(diagnostics), in DirectiveParser()
190 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNTERMINATED, block.location, in lex()
232 mDiagnostics->report(Diagnostics::PP_DIRECTIVE_INVALID_NAME, token->location, in parseDirective()
283 mDiagnostics->report(Diagnostics::PP_EOF_IN_DIRECTIVE, token->location, token->text); in parseDirective()
294 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in parseDefine()
299 mDiagnostics->report(Diagnostics::PP_MACRO_PREDEFINED_REDEFINED, token->location, in parseDefine()
305 mDiagnostics->report(Diagnostics::PP_MACRO_NAME_RESERVED, token->location, token->text); in parseDefine()
315 mDiagnostics->report(Diagnostics::PP_WARNING_MACRO_NAME_RESERVED, token->location, in parseDefine()
337 mDiagnostics->report(Diagnostics::PP_MACRO_DUPLICATE_PARAMETER_NAMES, in parseDefine()
349 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in parseDefine()
375 mDiagnostics->report(Diagnostics::PP_MACRO_REDEFINED, token->location, macro->name); in parseDefine()
388 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in parseUndef()
397 mDiagnostics->report(Diagnostics::PP_MACRO_PREDEFINED_UNDEFINED, token->location, in parseUndef()
403 mDiagnostics->report(Diagnostics::PP_MACRO_UNDEFINED_WHILE_INVOKED, token->location, in parseUndef()
416 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in parseUndef()
445 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_ELSE_WITHOUT_IF, token->location, in parseElse()
454 // No diagnostics. Just skip the whole line. in parseElse()
460 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_ELSE_AFTER_ELSE, token->location, in parseElse()
474 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNEXPECTED_TOKEN, token->location, in parseElse()
486 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_ELIF_WITHOUT_IF, token->location, in parseElif()
495 // No diagnostics. Just skip the whole line. in parseElif()
501 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_ELIF_AFTER_ELSE, token->location, in parseElif()
526 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_ENDIF_WITHOUT_IF, token->location, in parseEndif()
538 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNEXPECTED_TOKEN, token->location, in parseEndif()
611 mDiagnostics->report(Diagnostics::PP_UNRECOGNIZED_PRAGMA, token->location, name); in parsePragma()
642 mDiagnostics->report(Diagnostics::PP_INVALID_EXTENSION_NAME, token->location, in parseExtension()
652 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in parseExtension()
660 mDiagnostics->report(Diagnostics::PP_INVALID_EXTENSION_BEHAVIOR, in parseExtension()
670 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in parseExtension()
680 mDiagnostics->report(Diagnostics::PP_INVALID_EXTENSION_DIRECTIVE, token->location, in parseExtension()
688 mDiagnostics->report(Diagnostics::PP_NON_PP_TOKEN_BEFORE_EXTENSION_ESSL3, in parseExtension()
696 mDiagnostics->report(Diagnostics::PP_NON_PP_TOKEN_BEFORE_EXTENSION_WEBGL, in parseExtension()
701 mDiagnostics->report(Diagnostics::PP_NON_PP_TOKEN_BEFORE_EXTENSION_ESSL1, in parseExtension()
720 mDiagnostics->report(Diagnostics::PP_VERSION_NOT_FIRST_STATEMENT, token->location, in parseVersion()
746 mDiagnostics->report(Diagnostics::PP_INVALID_VERSION_NUMBER, token->location, in parseVersion()
752 mDiagnostics->report(Diagnostics::PP_INTEGER_OVERFLOW, token->location, in parseVersion()
776 mDiagnostics->report(Diagnostics::PP_INVALID_VERSION_DIRECTIVE, token->location, in parseVersion()
786 mDiagnostics->report(Diagnostics::PP_INVALID_VERSION_DIRECTIVE, token->location, in parseVersion()
793 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in parseVersion()
809 mDiagnostics->report(Diagnostics::PP_INVALID_VERSION_DIRECTIVE, token->location, in parseVersion()
816 mDiagnostics->report(Diagnostics::PP_VERSION_NOT_FIRST_LINE_ESSL3, token->location, in parseVersion()
843 mDiagnostics->report(Diagnostics::PP_INVALID_LINE_DIRECTIVE, token->location, token->text); in parseLine()
854 errorSettings.unexpectedIdentifier = Diagnostics::PP_INVALID_LINE_NUMBER; in parseLine()
861 errorSettings.unexpectedIdentifier = Diagnostics::PP_INVALID_FILE_NUMBER; in parseLine()
874 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in parseLine()
950 errorSettings.unexpectedIdentifier = Diagnostics::PP_CONDITIONAL_UNEXPECTED_TOKEN; in parseExpressionIf()
958 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNEXPECTED_TOKEN, token->location, in parseExpressionIf()
973 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in parseExpressionIfdef()
985 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNEXPECTED_TOKEN, token->location, in parseExpressionIfdef()