forked from mirrors/gecko-dev
		
	 f8bf50c79e
			
		
	
	
		f8bf50c79e
		
	
	
	
	
		
			
			Removing a bit of the ugly :) MozReview-Commit-ID: ATf2b2oh1F1 --HG-- extra : rebase_source : da6e36533c2b2ec8820c728953b0c0544c5a085e
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			535 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			535 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /* 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 http://mozilla.org/MPL/2.0/. */
 | |
| 
 | |
| #include "DiagnosticsMatcher.h"
 | |
| 
 | |
| DiagnosticsMatcher::DiagnosticsMatcher(CompilerInstance &CI) {
 | |
| #define CHECK(cls, name)                                                       \
 | |
|   cls##_.registerMatchers(&AstMatcher);                                        \
 | |
|   cls##_.registerPPCallbacks(CI);
 | |
| #include "Checks.inc"
 | |
| #undef CHECK
 | |
| }
 |