diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h index 5895cae84a71d..e3b9e405f69a5 100644 --- a/llvm/include/llvm/ADT/STLExtras.h +++ b/llvm/include/llvm/ADT/STLExtras.h @@ -112,7 +112,7 @@ using is_invocable = is_detected; /// This class provides various trait information about a callable object. /// * To access the number of arguments: Traits::num_args -/// * To access the type of an argument: Traits::arg_t +/// * To access the type of an argument: Traits::arg_t /// * To access the type of the result: Traits::result_t template ::value> struct function_traits : public function_traits {}; @@ -127,8 +127,8 @@ struct function_traits { using result_t = ReturnType; /// The type of an argument to this function. - template - using arg_t = typename std::tuple_element>::type; + template + using arg_t = typename std::tuple_element>::type; }; /// Overload for class function types. template