Suppress a clang-tidy warning in the MATCHER_P macro
This commit is contained in:
		@@ -5544,6 +5544,7 @@ PolymorphicMatcher<internal::ExceptionMatcherImpl<Err>> ThrowsMessage(
 | 
			
		||||
                                                                               \
 | 
			
		||||
     private:                                                                  \
 | 
			
		||||
      ::std::string FormatDescription(bool negation) const {                   \
 | 
			
		||||
        /* NOLINTNEXTLINE readability-redundant-string-init */                 \
 | 
			
		||||
        ::std::string gmock_description = (description);                       \
 | 
			
		||||
        if (!gmock_description.empty()) {                                      \
 | 
			
		||||
          return gmock_description;                                            \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user