lib/Sema/SemaDeclAttr.cpp
static bool checkAttributeNumArgs(Sema &S, const ParsedAttr &AL, unsigned Num) {
  return checkAttributeNumArgsImpl(S, AL, Num,
                                   diag::err_attribute_wrong_number_arguments,
                                   std::not_equal_to<unsigned>());
}
/// Check if the attribute has exactly as many args as Num. May
/// output an error.
Check if the attribute has exactly as many args as Num. May
output an error.
Check if the attribute has exactly as many args as Num . May output an error .
static bool checkAttributeNumArgs(Sema &S, const ParsedAttr &AL, unsigned Num) {
  return checkAttributeNumArgsImpl(S, AL, Num,
                                   diag::err_attribute_wrong_number_arguments,
                                   std::not_equal_to<unsigned>());
}
static bool checkAttributeNumArgs ( Sema & S , const ParsedAttr & AL , unsigned Num ) { return checkAttributeNumArgsImpl ( S , AL , Num , diag :: err_attribute_wrong_number_arguments , std :: not_equal_to < unsigned > ( ) ) ; }
Check if the attribute has exactly as many args as Num.
Check if the attribute has exactly as many args as Num .