Skip to content

Commit ee48b91

Browse files
Update clang/include/clang/ASTMatchers/ASTMatchersInternal.h
Co-authored-by: Jakub Kuderski <[email protected]>
1 parent 1f4e0a2 commit ee48b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/ASTMatchers/ASTMatchersInternal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ IteratorT matchesFirstInPointerRange(const MatcherT &Matcher, IteratorT Start,
872872
}
873873

874874
template <typename T> inline bool isDefaultedHelper(const T *FD) {
875-
if constexpr (std::is_base_of<FunctionDecl, T>::value)
875+
if constexpr (std::is_base_of_v<FunctionDecl, T>)
876876
return FD->isDefaulted();
877877
return false;
878878
}

0 commit comments

Comments
 (0)