author Tom Schuster <>
Fri, 28 Feb 2020 12:13:49 +0000
changeset 516105 fc9d28ae4655254a6ef8a57ac6577545b2a42ca7
parent 514334 026489b7bda6781b49a5b6bf7f4604894e3458dd
permissions -rw-r--r--
Bug 1549641 - Add devtools test for overwritten name and message in error object r=bzbarsky I had problems running this test locally and it turns out cssErrorReportingEnabled is not set/unset correctly. Thanks to Boris for pointing that out. Differential Revision:

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at */

#ifndef DiagnosticsMatcher_h__
#define DiagnosticsMatcher_h__

#include ""

class DiagnosticsMatcher {
  DiagnosticsMatcher(CompilerInstance &CI);

  ASTConsumerPtr makeASTConsumer() { return AstMatcher.newASTConsumer(); }

#define CHECK(cls, name) cls cls##_{name};
#include ""
#undef CHECK
  MatchFinder AstMatcher;