Merge pull request #1377 from davidben/clang-cl
Also define GTEST_ATTRIBUTE_PRINTF_ in clang-cl.
This commit is contained in:
		
						commit
						bf08b69717
					
				@ -879,7 +879,7 @@ using ::std::tuple_size;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// Use this annotation before a function that takes a printf format string.
 | 
			
		||||
#if defined(__GNUC__) && !defined(COMPILER_ICC)
 | 
			
		||||
#if (defined(__GNUC__) || defined(__clang__)) && !defined(COMPILER_ICC)
 | 
			
		||||
# if defined(__MINGW_PRINTF_FORMAT)
 | 
			
		||||
// MinGW has two different printf implementations. Ensure the format macro
 | 
			
		||||
// matches the selected implementation. See
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user