Lines Matching refs:mDiagnostics
154 mDiagnostics(diagnostics), in DirectiveParser()
183 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNTERMINATED, block.location, in lex()
218 mDiagnostics->report(Diagnostics::PP_DIRECTIVE_INVALID_NAME, token->location, in parseDirective()
269 mDiagnostics->report(Diagnostics::PP_EOF_IN_DIRECTIVE, token->location, token->text); in parseDirective()
280 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in parseDefine()
285 mDiagnostics->report(Diagnostics::PP_MACRO_PREDEFINED_REDEFINED, token->location, in parseDefine()
291 mDiagnostics->report(Diagnostics::PP_MACRO_NAME_RESERVED, token->location, token->text); in parseDefine()
301 mDiagnostics->report(Diagnostics::PP_WARNING_MACRO_NAME_RESERVED, token->location, in parseDefine()
323 mDiagnostics->report(Diagnostics::PP_MACRO_DUPLICATE_PARAMETER_NAMES, in parseDefine()
335 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in parseDefine()
361 mDiagnostics->report(Diagnostics::PP_MACRO_REDEFINED, token->location, macro->name); in parseDefine()
374 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in parseUndef()
383 mDiagnostics->report(Diagnostics::PP_MACRO_PREDEFINED_UNDEFINED, token->location, in parseUndef()
389 mDiagnostics->report(Diagnostics::PP_MACRO_UNDEFINED_WHILE_INVOKED, token->location, in parseUndef()
402 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in parseUndef()
431 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_ELSE_WITHOUT_IF, token->location, in parseElse()
446 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_ELSE_AFTER_ELSE, token->location, in parseElse()
460 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNEXPECTED_TOKEN, token->location, in parseElse()
472 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_ELIF_WITHOUT_IF, token->location, in parseElif()
487 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_ELIF_AFTER_ELSE, token->location, in parseElif()
512 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_ENDIF_WITHOUT_IF, token->location, in parseEndif()
524 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNEXPECTED_TOKEN, token->location, in parseEndif()
597 mDiagnostics->report(Diagnostics::PP_UNRECOGNIZED_PRAGMA, token->location, name); in parsePragma()
628 mDiagnostics->report(Diagnostics::PP_INVALID_EXTENSION_NAME, token->location, in parseExtension()
638 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in parseExtension()
646 mDiagnostics->report(Diagnostics::PP_INVALID_EXTENSION_BEHAVIOR, in parseExtension()
656 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in parseExtension()
666 mDiagnostics->report(Diagnostics::PP_INVALID_EXTENSION_DIRECTIVE, token->location, in parseExtension()
674 mDiagnostics->report(Diagnostics::PP_NON_PP_TOKEN_BEFORE_EXTENSION_ESSL3, in parseExtension()
682 mDiagnostics->report(Diagnostics::PP_NON_PP_TOKEN_BEFORE_EXTENSION_WEBGL, in parseExtension()
687 mDiagnostics->report(Diagnostics::PP_NON_PP_TOKEN_BEFORE_EXTENSION_ESSL1, in parseExtension()
706 mDiagnostics->report(Diagnostics::PP_VERSION_NOT_FIRST_STATEMENT, token->location, in parseVersion()
732 mDiagnostics->report(Diagnostics::PP_INVALID_VERSION_NUMBER, token->location, in parseVersion()
738 mDiagnostics->report(Diagnostics::PP_INTEGER_OVERFLOW, token->location, in parseVersion()
762 mDiagnostics->report(Diagnostics::PP_INVALID_VERSION_DIRECTIVE, token->location, in parseVersion()
772 mDiagnostics->report(Diagnostics::PP_INVALID_VERSION_DIRECTIVE, token->location, in parseVersion()
779 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in parseVersion()
795 mDiagnostics->report(Diagnostics::PP_INVALID_VERSION_DIRECTIVE, token->location, in parseVersion()
802 mDiagnostics->report(Diagnostics::PP_VERSION_NOT_FIRST_LINE_ESSL3, token->location, in parseVersion()
823 MacroExpander macroExpander(mTokenizer, mMacroSet, mDiagnostics, mSettings, false); in parseLine()
830 mDiagnostics->report(Diagnostics::PP_INVALID_LINE_DIRECTIVE, token->location, token->text); in parseLine()
835 ExpressionParser expressionParser(¯oExpander, mDiagnostics); in parseLine()
861 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in parseLine()
931 MacroExpander macroExpander(mTokenizer, mMacroSet, mDiagnostics, mSettings, true); in parseExpressionIf()
932 ExpressionParser expressionParser(¯oExpander, mDiagnostics); in parseExpressionIf()
945 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNEXPECTED_TOKEN, token->location, in parseExpressionIf()
960 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in parseExpressionIfdef()
972 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNEXPECTED_TOKEN, token->location, in parseExpressionIfdef()