=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for woboq_codebrowser-2.1nb5 [ 18%] Building CXX object generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o [ 18%] Building CXX object indexgenerator/CMakeFiles/codebrowser_indexgenerator.dir/indexer.cpp.o In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:49:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/SwapByteOrder.h:152:13: error: 'enable_if_t' in namespace 'std' does not name a template type inline std::enable_if_t<std::is_enum<T>::value, T> getSwappedBytes(T C) { ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:50:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:31:28: error: 'remove_reference_t' in namespace 'std' does not name a template type using UnderlyingT = std::remove_reference_t<T>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:35:22: error: 'UnderlyingT' was not declared in this scope !std::is_class<UnderlyingT>::value && // Filter conversion operators. ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:35:33: error: template argument 1 is invalid !std::is_class<UnderlyingT>::value && // Filter conversion operators. ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:36:24: error: 'UnderlyingT' was not declared in this scope !std::is_pointer<UnderlyingT>::value && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:36:35: error: template argument 1 is invalid !std::is_pointer<UnderlyingT>::value && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:37:31: error: 'UnderlyingT' was not declared in this scope !std::is_floating_point<UnderlyingT>::value && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:37:42: error: template argument 1 is invalid !std::is_floating_point<UnderlyingT>::value && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:38:21: error: 'UnderlyingT' was not declared in this scope (std::is_enum<UnderlyingT>::value || ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:38:32: error: template argument 1 is invalid (std::is_enum<UnderlyingT>::value || ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:39:28: error: 'UnderlyingT' was not declared in this scope std::is_convertible<UnderlyingT, unsigned long long>::value); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:39:59: error: template argument 1 is invalid std::is_convertible<UnderlyingT, unsigned long long>::value); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:48:8: error: 'enable_if_t' is not a member of 'std' T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:48:8: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:48:45: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::add_lvalue_reference_if_not_pointer' T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:48:45: note: expected a type, got '(<expression error> < std::is_pointer<_Tp>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:48:50: error: expected unqualified-id before '>' token T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:58:34: error: 'enable_if_t' is not a member of 'std' struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:58:34: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:58:71: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::add_const_past_pointer' struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:58:71: note: expected a type, got '(<expression error> < std::is_pointer<_Tp>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:58:76: error: expected unqualified-id before '>' token struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:68:35: error: 'enable_if_t' is not a member of 'std' std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:68:35: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:68:72: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::const_pointer_or_const_ref' std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:68:72: note: expected a type, got '(<expression error> < std::is_pointer<_Tp>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:68:77: error: expected unqualified-id before '>' token std::enable_if_t<std::is_pointer<T>::value>> { ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:105:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h: In static member function 'static llvm::hashing::detail::hash_state llvm::hashing::detail::hash_state::create(const char*, __uint64_t)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:272:37: error: could not convert '{0, seed, llvm::hashing::detail::hash_16_bytes(seed, 13011662864482103923ul), llvm::hashing::detail::rotate((seed ^ 13011662864482103923ul), 49ul), (seed * 13011662864482103923ul), llvm::hashing::detail::shift_mix(seed), 0}' from '<brace-enclosed initializer list>' to 'llvm::hashing::detail::hash_state' seed * k1, shift_mix(seed), 0 }; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:367:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<is_hashable_data<T>::value, T> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:375:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<!is_hashable_data<T>::value, size_t> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:449:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<is_hashable_data<ValueT>::value, hash_code> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:634:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:659:40: error: 'std::index_sequence' has not been declared std::index_sequence<Indices...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:659:54: error: expected ',' or '...' before '<' token std::index_sequence<Indices...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(const std::tuple<_Elements ...>&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:670:26: error: 'index_sequence_for' in namespace 'std' does not name a template type arg, typename std::index_sequence_for<Ts...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:670:44: error: expected '(' before '<' token arg, typename std::index_sequence_for<Ts...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:670:47: error: expected primary-expression before '...' token arg, typename std::index_sequence_for<Ts...>()); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:14:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:195:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<!std::is_same<std::remove_const_t<ItTy>, T *>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:195:23: error: expected '>' before '<' token std::enable_if_t<!std::is_same<std::remove_const_t<ItTy>, T *>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:208:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<!std::is_same<std::remove_const_t<ItTy>, T *>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:208:23: error: expected '>' before '<' token std::enable_if_t<!std::is_same<std::remove_const_t<ItTy>, T *>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: In member function 'bool llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::isReferenceToRange(const void*, const void*, const void*) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:140:15: error: wrong number of template arguments (0, should be 1) std::less<> LessThan; ^ In file included from /usr/include/g++/string:48:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorHandling.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:48, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /usr/include/g++/bits/stl_function.h:382:12: note: provided for 'template<class _Tp> struct std::less' struct less : public binary_function<_Tp, _Tp, bool> ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:14:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:141:30: error: 'LessThan' cannot be used as a function return !LessThan(V, First) && LessThan(V, Last); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:141:51: error: 'LessThan' cannot be used as a function return !LessThan(V, First) && LessThan(V, Last); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: In member function 'bool llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::isRangeInStorage(const void*, const void*) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:153:15: error: wrong number of template arguments (0, should be 1) std::less<> LessThan; ^ In file included from /usr/include/g++/string:48:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorHandling.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:48, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /usr/include/g++/bits/stl_function.h:382:12: note: provided for 'template<class _Tp> struct std::less' struct less : public binary_function<_Tp, _Tp, bool> ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:14:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:154:68: error: 'LessThan' cannot be used as a function return !LessThan(First, this->begin()) && !LessThan(Last, First) && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:498:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_same<typename std::remove_const<T1>::type, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:498:23: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_same<typename std::remove_const<T1>::type, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:645:29: error: 'enable_if_t' in namespace 'std' does not name a template type typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:645:40: error: expected '>' before '<' token typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:689:29: error: 'enable_if_t' in namespace 'std' does not name a template type typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:689:40: error: expected '>' before '<' token typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:843:29: error: 'enable_if_t' in namespace 'std' does not name a template type typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:843:40: error: expected '>' before '<' token typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: In member function 'llvm::SmallVectorImpl<T>::iterator llvm::SmallVectorImpl<T>::insert_one_impl(llvm::SmallVectorImpl<T>::iterator, ArgType&&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:739:22: error: 'remove_const_t' is not a member of 'std' std::is_same<std::remove_const_t<std::remove_reference_t<ArgType>>, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:739:22: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:739:42: error: 'remove_reference_t' is not a member of 'std' std::is_same<std::remove_const_t<std::remove_reference_t<ArgType>>, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:739:66: error: wrong number of template arguments (1, should be 2) std::is_same<std::remove_const_t<std::remove_reference_t<ArgType>>, ^ In file included from /usr/include/g++/bits/move.h:57:0, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/char_traits.h:39, from /usr/include/g++/string:40, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorHandling.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:48, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /usr/include/g++/type_traits:958:12: note: provided for 'template<class, class> struct std::is_same' struct is_same; ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:14:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:739:75: error: expected primary-expression before ',' token std::is_same<std::remove_const_t<std::remove_reference_t<ArgType>>, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:740:22: error: expected string-literal before 'T' T>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:740:22: error: expected ')' before 'T' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:752:5: error: 'remove_reference_t' is not a member of 'std' std::remove_reference_t<ArgType> *EltPtr = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:752:36: error: expected primary-expression before '>' token std::remove_reference_t<ArgType> *EltPtr = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:752:39: error: 'EltPtr' was not declared in this scope std::remove_reference_t<ArgType> *EltPtr = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1184:29: error: 'enable_if_t' in namespace 'std' does not name a template type typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1184:40: error: expected '>' before '<' token typename = std::enable_if_t<std::is_convertible< ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:20:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:15, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:73:21: error: 'remove_cv_t' in namespace 'std' does not name a template type using type = std::remove_cv_t<std::remove_reference_t<T>>; ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:15, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h: In copy constructor 'llvm::optional_detail::OptionalStorage<T, <anonymous> >::OptionalStorage(const llvm::optional_detail::OptionalStorage<T, <anonymous> >&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:75:3: error: constexpr constructor does not have empty body } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h: In constructor 'llvm::optional_detail::OptionalStorage<T, <anonymous> >::OptionalStorage(llvm::optional_detail::OptionalStorage<T, <anonymous> >&&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:80:3: error: constexpr constructor does not have empty body } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h: In function 'llvm::hash_code llvm::hash_value(const llvm::Optional<T>&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: error: no matching function for call to 'hash_value(bool)' return O ? hash_combine(true, *O) : hash_value(false); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:328:36: note: candidate: template<class T> llvm::hash_code llvm::hash_value(const llvm::Optional<T>&) template <class T> llvm::hash_code hash_value(const Optional<T> &O) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:328:36: note: template argument deduction/substitution failed: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: note: mismatched types 'const llvm::Optional<T>' and 'bool' return O ? hash_combine(true, *O) : hash_value(false); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:676:11: note: candidate: template<class T> llvm::hash_code llvm::hash_value(const std::basic_string<_CharT>&) hash_code hash_value(const std::basic_string<T> &arg) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:676:11: note: template argument deduction/substitution failed: In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:15, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: note: mismatched types 'const std::basic_string<_CharT>' and 'bool' return O ? hash_combine(true, *O) : hash_value(false); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:667:11: note: candidate: template<class ... Ts> llvm::hash_code llvm::hash_value(const std::tuple<_Elements ...>&) hash_code hash_value(const std::tuple<Ts...> &arg) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:667:11: note: template argument deduction/substitution failed: In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:15, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: note: mismatched types 'const std::tuple<_Elements ...>' and 'bool' return O ? hash_combine(true, *O) : hash_value(false); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:649:11: note: candidate: template<class T, class U> llvm::hash_code llvm::hash_value(const std::pair<_T1, _T2>&) hash_code hash_value(const std::pair<T, U> &arg) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:649:11: note: template argument deduction/substitution failed: In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:15, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: note: mismatched types 'const std::pair<_T1, _T2>' and 'bool' return O ? hash_combine(true, *O) : hash_value(false); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:641:33: note: candidate: template<class T> llvm::hash_code llvm::hash_value(const T*) template <typename T> hash_code hash_value(const T *ptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:641:33: note: template argument deduction/substitution failed: In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:15, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: note: mismatched types 'const T*' and 'bool' return O ? hash_combine(true, *O) : hash_value(false); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:21:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:15, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:203:30: error: 'conditional_t' in namespace 'std' does not name a template type typename PointerT = std::conditional_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:203:43: error: expected '>' before '<' token typename PointerT = std::conditional_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:213:62: error: 'ReferenceT' was not declared in this scope DifferenceTypeT, PointerT, ReferenceT> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:213:72: error: template argument 6 is invalid DifferenceTypeT, PointerT, ReferenceT> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:281:3: error: 'ReferenceT' does not name a type ReferenceT operator*() const { return *I; } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:294:29: error: 'remove_reference_t' in namespace 'std' does not name a template type typename T = std::remove_reference_t<decltype( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:294:47: error: expected '>' before '<' token typename T = std::remove_reference_t<decltype( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:300:12: error: template argument 6 is invalid T> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:311:33: error: template argument 2 is invalid iterator_range<pointee_iterator<WrappedIteratorT>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:311:49: error: template argument 1 is invalid iterator_range<pointee_iterator<WrappedIteratorT>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h: In function 'int llvm::make_pointee_range(RangeT&&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:313:61: error: template argument 2 is invalid using PointeeIteratorT = pointee_iterator<WrappedIteratorT>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:324:12: error: template argument 6 is invalid T> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:347:30: error: 'remove_reference_t' in namespace 'std' does not name a template type typename T1 = std::remove_reference_t<decltype( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:347:48: error: expected '>' before '<' token typename T1 = std::remove_reference_t<decltype( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:351:62: error: 'T2' was not declared in this scope pointer_iterator<pointee_iterator<WrappedIteratorT, T1>, T2>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:351:64: error: template argument 2 is invalid pointer_iterator<pointee_iterator<WrappedIteratorT, T1>, T2>; ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:15:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:189:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<!std::is_same<remove_cvref_t<Callable>, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:189:23: error: expected ',' or '...' before '<' token std::enable_if_t<!std::is_same<remove_cvref_t<Callable>, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:215:10: error: expected primary-expression before 'auto' decltype(auto) adl_begin(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:215:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:215:1: error: expected unqualified-id before 'decltype' decltype(auto) adl_begin(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:222:10: error: expected primary-expression before 'auto' decltype(auto) adl_end(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:222:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:222:1: error: expected unqualified-id before 'decltype' decltype(auto) adl_end(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:237:10: error: expected primary-expression before 'auto' decltype(auto) adl_begin(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:237:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:237:1: error: expected unqualified-id before 'decltype' decltype(auto) adl_begin(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:242:10: error: expected primary-expression before 'auto' decltype(auto) adl_end(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:242:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:242:1: error: expected unqualified-id before 'decltype' decltype(auto) adl_end(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:266:73: error: 'drop_begin' function uses 'auto' type specifier without trailing return type template <typename T> auto drop_begin(T &&RangeOrContainer, size_t N = 1) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:266:73: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:281:64: error: template argument 6 is invalid typename std::remove_reference<FuncReturnTy>::type> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:302:41: error: 'map_range' function uses 'auto' type specifier without trailing return type auto map_range(ContainerTy &&C, FuncTy F) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:302:41: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:330:19: error: 'std::enable_if_t' has not been declared std::enable_if_t<has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:330:30: error: expected ',' or '...' before '<' token std::enable_if_t<has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:330:74: error: 'reverse' function uses 'auto' type specifier without trailing return type std::enable_if_t<has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:330:74: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:345:19: error: 'std::enable_if_t' has not been declared std::enable_if_t<!has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:345:30: error: expected ',' or '...' before '<' token std::enable_if_t<!has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:345:75: error: 'reverse' function uses 'auto' type specifier without trailing return type std::enable_if_t<!has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:345:75: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:344:6: error: redefinition of 'template<class ContainerTy> auto llvm::reverse(ContainerTy&&, int)' auto reverse(ContainerTy &&C, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:329:6: note: 'template<class ContainerTy> auto llvm::reverse(ContainerTy&&, int)' previously declared here auto reverse(ContainerTy &&C, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:373:71: error: template argument 6 is invalid WrappedIteratorT>::iterator_category>::type> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:379:67: error: template argument 6 is invalid WrappedIteratorT>::iterator_category>::type>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:400:9: error: 'BaseT' has not been declared using BaseT::operator++; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'void llvm::filter_iterator_base<WrappedIteratorT, PredicateT, IterTag>::findNextValid()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:387:7: error: 'BaseT' has not been declared BaseT::operator++(); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::filter_iterator_base<WrappedIteratorT, PredicateT, IterTag>::filter_iterator_base(WrappedIteratorT, WrappedIteratorT, PredicateT)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:395:9: error: class 'llvm::filter_iterator_base<WrappedIteratorT, PredicateT, IterTag>' does not have any field named 'BaseT' : BaseT(Begin), End(End), Pred(Pred) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::filter_iterator_base<WrappedIteratorT, PredicateT, IterTag>& llvm::filter_iterator_base<WrappedIteratorT, PredicateT, IterTag>::operator++()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:403:5: error: 'BaseT' has not been declared BaseT::operator++(); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:516:77: error: template argument 6 is invalid WrappedIteratorT, std::input_iterator_tag> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:519:70: error: template argument 6 is invalid WrappedIteratorT, std::input_iterator_tag>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:531:9: error: 'BaseT' has not been declared using BaseT::operator*; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:540:9: error: 'BaseT' has not been declared using BaseT::operator++; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::early_inc_iterator_impl<WrappedIteratorT>::early_inc_iterator_impl(WrappedIteratorT)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:529:49: error: class 'llvm::early_inc_iterator_impl<WrappedIteratorT>' does not have any field named 'BaseT' early_inc_iterator_impl(WrappedIteratorT I) : BaseT(I) {} ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::operator==(const llvm::early_inc_iterator_impl<WrappedIteratorT>&, const llvm::early_inc_iterator_impl<WrappedIteratorT>&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:554:19: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] return (const BaseT &)LHS == (const BaseT &)RHS; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:554:13: error: expected primary-expression before 'const' return (const BaseT &)LHS == (const BaseT &)RHS; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:554:13: error: expected ')' before 'const' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:619:49: error: 'std::index_sequence' has not been declared template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:619:63: error: expected ',' or '...' before '<' token template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:624:36: error: 'std::index_sequence' has not been declared decltype(iterators) tup_inc(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:624:50: error: expected ',' or '...' before '<' token decltype(iterators) tup_inc(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:629:36: error: 'std::index_sequence' has not been declared decltype(iterators) tup_dec(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:629:50: error: expected ',' or '...' before '<' token decltype(iterators) tup_dec(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_common<ZipType, Iters>::value_type llvm::detail::zip_common<ZipType, Iters>::operator*()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:636:41: error: 'index_sequence_for' is not a member of 'std' value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:636:70: error: expected primary-expression before '...' token value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'const value_type llvm::detail::zip_common<ZipType, Iters>::operator*() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:639:18: error: 'index_sequence_for' is not a member of 'std' return deref(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:639:47: error: expected primary-expression before '...' token return deref(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'ZipType& llvm::detail::zip_common<ZipType, Iters>::operator++()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:643:25: error: 'index_sequence_for' is not a member of 'std' iterators = tup_inc(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:643:54: error: expected primary-expression before '...' token iterators = tup_inc(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'ZipType& llvm::detail::zip_common<ZipType, Iters>::operator--()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:650:25: error: 'index_sequence_for' is not a member of 'std' iterators = tup_dec(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:650:54: error: expected primary-expression before '...' token iterators = tup_dec(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:670:18: error: 'std::index_sequence' has not been declared std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:670:32: error: expected ',' or '...' before '<' token std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_shortest<Iters>::operator==(const llvm::detail::zip_shortest<Iters>&) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:682:25: error: 'index_sequence_for' is not a member of 'std' return !test(other, std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:682:54: error: expected primary-expression before '...' token return !test(other, std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:699:28: error: 'std::index_sequence' has not been declared iterator begin_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:699:42: error: expected ',' or '...' before '<' token iterator begin_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:702:50: error: 'std::index_sequence' has not been declared template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:702:64: error: expected ',' or '...' before '<' token template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zippy<ItType, Args>::iterator llvm::detail::zippy<ItType, Args>::begin() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:710:23: error: 'index_sequence_for' is not a member of 'std' return begin_impl(std::index_sequence_for<Args...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:710:51: error: expected primary-expression before '...' token return begin_impl(std::index_sequence_for<Args...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zippy<ItType, Args>::iterator llvm::detail::zippy<ItType, Args>::end() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:712:42: error: 'index_sequence_for' is not a member of 'std' iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:712:70: error: expected primary-expression before '...' token iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:743:55: error: invalid use of template-name 'llvm::Optional' without an argument list auto deref_or_none(const Iter &I, const Iter &End) -> llvm::Optional< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:743:69: error: expected initializer before '<' token auto deref_or_none(const Iter &I, const Iter &End) -> llvm::Optional< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:781:18: error: 'std::index_sequence' has not been declared std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:781:32: error: expected ',' or '...' before '<' token std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:788:49: error: 'std::index_sequence' has not been declared template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:788:63: error: expected ',' or '...' before '<' token template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:794:36: error: 'std::index_sequence' has not been declared decltype(iterators) tup_inc(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:794:50: error: expected ',' or '...' before '<' token decltype(iterators) tup_inc(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_longest_iterator<Iters>::value_type llvm::detail::zip_longest_iterator<Iters>::operator*()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:804:41: error: 'index_sequence_for' is not a member of 'std' value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:804:70: error: expected primary-expression before '...' token value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_longest_iterator<Iters>::value_type llvm::detail::zip_longest_iterator<Iters>::operator*() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:807:18: error: 'index_sequence_for' is not a member of 'std' return deref(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:807:47: error: expected primary-expression before '...' token return deref(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_longest_iterator<Iters>& llvm::detail::zip_longest_iterator<Iters>::operator++()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:811:25: error: 'index_sequence_for' is not a member of 'std' iterators = tup_inc(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:811:54: error: expected primary-expression before '...' token iterators = tup_inc(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_longest_iterator<Iters>::operator==(const llvm::detail::zip_longest_iterator<Iters>&) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:816:25: error: 'index_sequence_for' is not a member of 'std' return !test(other, std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:816:54: error: expected primary-expression before '...' token return !test(other, std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:834:28: error: 'std::index_sequence' has not been declared iterator begin_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:834:42: error: expected ',' or '...' before '<' token iterator begin_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:839:50: error: 'std::index_sequence' has not been declared template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:839:64: error: expected ',' or '...' before '<' token template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_longest_range<Args>::iterator llvm::detail::zip_longest_range<Args>::begin() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:848:23: error: 'index_sequence_for' is not a member of 'std' return begin_impl(std::index_sequence_for<Args...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:848:51: error: expected primary-expression before '...' token return begin_impl(std::index_sequence_for<Args...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_longest_range<Args>::iterator llvm::detail::zip_longest_range<Args>::end() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:850:42: error: 'index_sequence_for' is not a member of 'std' iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:850:70: error: expected primary-expression before '...' token iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:906:47: error: 'std::index_sequence' has not been declared template <size_t... Ns> void increment(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:906:61: error: expected ',' or '...' before '<' token template <size_t... Ns> void increment(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:935:39: error: 'index_sequence' is not a member of 'std' template <size_t... Ns> ValueT &get(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:935:67: error: expected ';' before 'const' template <size_t... Ns> ValueT &get(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:946:3: error: data member 'get' cannot be a member template } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::concat_iterator<ValueT, IterTs>& llvm::concat_iterator<ValueT, IterTs>::operator++()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:960:15: error: 'index_sequence_for' is not a member of 'std' increment(std::index_sequence_for<IterTs...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:960:45: error: expected primary-expression before '...' token increment(std::index_sequence_for<IterTs...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'ValueT& llvm::concat_iterator<ValueT, IterTs>::operator*() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:965:16: error: 'index_sequence_for' is not a member of 'std' return get(std::index_sequence_for<IterTs...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:965:46: error: expected primary-expression before '...' token return get(std::index_sequence_for<IterTs...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:965:52: error: there are no arguments to 'get' that depend on a template parameter, so a declaration of 'get' must be available [-fpermissive] return get(std::index_sequence_for<IterTs...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:965:52: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:989:52: error: 'std::index_sequence' has not been declared template <size_t... Ns> iterator begin_impl(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:989:66: error: expected ',' or '...' before '<' token template <size_t... Ns> iterator begin_impl(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:992:50: error: 'std::index_sequence' has not been declared template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:992:64: error: expected ',' or '...' before '<' token template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::concat_range<ValueT, RangeTs>::iterator llvm::detail::concat_range<ValueT, RangeTs>::begin()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1001:40: error: 'index_sequence_for' is not a member of 'std' iterator begin() { return begin_impl(std::index_sequence_for<RangeTs...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1001:71: error: expected primary-expression before '...' token iterator begin() { return begin_impl(std::index_sequence_for<RangeTs...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::concat_range<ValueT, RangeTs>::iterator llvm::detail::concat_range<ValueT, RangeTs>::end()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1002:36: error: 'index_sequence_for' is not a member of 'std' iterator end() { return end_impl(std::index_sequence_for<RangeTs...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1002:67: error: expected primary-expression before '...' token iterator end() { return end_impl(std::index_sequence_for<RangeTs...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1167:46: error: 'enable_if_t' in namespace 'std' does not name a template type template <typename RangeT, typename = std::enable_if_t<std::is_constructible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1167:57: error: expected '>' before '<' token template <typename RangeT, typename = std::enable_if_t<std::is_constructible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1238:70: error: 'make_first_range' function uses 'auto' type specifier without trailing return type template <typename ContainerTy> auto make_first_range(ContainerTy &&c) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1238:70: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1247:71: error: 'make_second_range' function uses 'auto' type specifier without trailing return type template <typename ContainerTy> auto make_second_range(ContainerTy &&c) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1247:71: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1282:12: error: expected primary-expression before 'auto' decltype(auto) operator()(const T &lhs, const T &rhs) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1282:12: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1282:3: error: expected unqualified-id before 'decltype' decltype(auto) operator()(const T &lhs, const T &rhs) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1350:20: error: expected primary-expression before 'auto' constexpr decltype(auto) makeVisitor(CallableTs &&...Callables) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1350:20: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1350:11: error: expected unqualified-id before 'decltype' constexpr decltype(auto) makeVisitor(CallableTs &&...Callables) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1473:16: error: 'std::enable_if_t' has not been declared std::enable_if_t<!detail::sort_trivially_copyable<IteratorTy>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1473:27: error: expected '>' before '<' token std::enable_if_t<!detail::sort_trivially_copyable<IteratorTy>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1485:16: error: 'std::enable_if_t' has not been declared std::enable_if_t<detail::sort_trivially_copyable<IteratorTy>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1485:27: error: expected '>' before '<' token std::enable_if_t<detail::sort_trivially_copyable<IteratorTy>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1487:13: error: redefinition of 'template<class IteratorTy, int <anonymous> > void llvm::sort(IteratorTy, IteratorTy)' inline void sort(IteratorTy Start, IteratorTy End) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1475:13: note: 'template<class IteratorTy, int <anonymous> > void llvm::sort(IteratorTy, IteratorTy)' previously declared here inline void sort(IteratorTy Start, IteratorTy End) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:16: error: 'std::enable_if_t' has not been declared std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:27: error: expected ',' or '...' before '<' token std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1520:32: error: 'size' function uses 'auto' type specifier without trailing return type void> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1520:32: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1554:68: error: 'find' function uses 'auto' type specifier without trailing return type template <typename R, typename T> auto find(R &&Range, const T &Val) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1554:68: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1561:41: error: 'find_if' function uses 'auto' type specifier without trailing return type auto find_if(R &&Range, UnaryPredicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1561:41: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1566:45: error: 'find_if_not' function uses 'auto' type specifier without trailing return type auto find_if_not(R &&Range, UnaryPredicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1566:45: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1573:43: error: 'remove_if' function uses 'auto' type specifier without trailing return type auto remove_if(R &&Range, UnaryPredicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1573:43: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1617:73: error: 'count' function uses 'auto' type specifier without trailing return type template <typename R, typename E> auto count(R &&Range, const E &Element) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1617:73: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1624:42: error: 'count_if' function uses 'auto' type specifier without trailing return type auto count_if(R &&Range, UnaryPredicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1624:42: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1638:43: error: 'partition' function uses 'auto' type specifier without trailing return type auto partition(R &&Range, UnaryPredicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1638:43: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1644:72: error: 'lower_bound' function uses 'auto' type specifier without trailing return type template <typename R, typename T> auto lower_bound(R &&Range, T &&Value) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1644:72: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1650:49: error: 'lower_bound' function uses 'auto' type specifier without trailing return type auto lower_bound(R &&Range, T &&Value, Compare C) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1650:49: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1657:72: error: 'upper_bound' function uses 'auto' type specifier without trailing return type template <typename R, typename T> auto upper_bound(R &&Range, T &&Value) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1657:72: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1663:49: error: 'upper_bound' function uses 'auto' type specifier without trailing return type auto upper_bound(R &&Range, T &&Value, Compare C) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1663:49: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1682:44: error: 'partition_point' function uses 'auto' type specifier without trailing return type auto partition_point(R &&Range, Predicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1682:44: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1687:35: error: 'unique' function uses 'auto' type specifier without trailing return type auto unique(Range &&R, Predicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1687:35: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1850:69: error: 'operator()' function uses 'auto' type specifier without trailing return type template <typename A, typename B> auto operator()(A &lhs, B &rhs) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1850:69: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1971:10: error: expected primary-expression before 'auto' decltype(auto) apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1971:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1971:1: error: expected unqualified-id before 'decltype' decltype(auto) apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1981:10: error: expected primary-expression before 'auto' decltype(auto) apply_tuple(F &&f, Tuple &&t) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1981:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1981:1: error: expected unqualified-id before 'decltype' decltype(auto) apply_tuple(F &&f, Tuple &&t) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1998:10: error: 'std::enable_if_t' has not been declared std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1998:21: error: expected ',' or '...' before '<' token std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1994:6: error: default argument missing for parameter 5 of 'template<class IterTy, class Pred> bool llvm::hasNItems(IterTy&&, IterTy&&, unsigned int, Pred&&, int)' bool hasNItems( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:2023:10: error: 'std::enable_if_t' has not been declared std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:2023:21: error: expected ',' or '...' before '<' token std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:2019:6: error: default argument missing for parameter 5 of 'template<class IterTy, class Pred> bool llvm::hasNItemsOrMore(IterTy&&, IterTy&&, unsigned int, Pred&&, int)' bool hasNItemsOrMore( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:2073:50: error: 'to_address' function uses 'auto' type specifier without trailing return type template <class Ptr> auto to_address(const Ptr &P) { return P.operator->(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:2073:50: note: deduced return type only available with -std=c++14 or -std=gnu++14 In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:127:19: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<U *const *, T const *>::value> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:127:30: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<U *const *, T const *>::value> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:137:14: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<U *const *, T const *>::value> * = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:137:25: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<U *const *, T const *>::value> * = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:145:19: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<U *const *, T const *>::value> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:145:30: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<U *const *, T const *>::value> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:266:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_same<U, T>::value, ArrayRef<T>> & ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:274:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_same<U, T>::value, ArrayRef<T>> & ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringMapEntry.h:18:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringMap.h:16, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:28, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:265:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_same<T, std::string>::value, StringRef> & ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:509:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::numeric_limits<T>::is_signed, bool> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:520:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<!std::numeric_limits<T>::is_signed, bool> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:543:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::numeric_limits<T>::is_signed, bool> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:554:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<!std::numeric_limits<T>::is_signed, bool> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'size_t llvm::StringRef::find_if_not(llvm::function_ref<bool(char)>, size_t) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:353:57: error: no matching function for call to 'llvm::StringRef::find_if(llvm::StringRef::find_if_not(llvm::function_ref<bool(char)>, size_t) const::<lambda(char)>, size_t&) const' return find_if([F](char c) { return !F(c); }, From); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:337:12: note: candidate: size_t llvm::StringRef::find_if(llvm::function_ref<bool(char)>, size_t) const size_t find_if(function_ref<bool(char)> F, size_t From = 0) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:337:12: note: no known conversion for argument 1 from 'llvm::StringRef::find_if_not(llvm::function_ref<bool(char)>, size_t) const::<lambda(char)>' to 'llvm::function_ref<bool(char)>' In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringMap.h:17:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:28, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/AllocatorBase.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/AllocatorBase.h:74:8: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<!std::is_same<std::remove_cv_t<T>, void>::value, void> ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:28:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringMap.h:458:72: error: template argument 6 is invalid std::forward_iterator_tag, StringRef> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringMap.h:461:74: error: template argument 6 is invalid std::forward_iterator_tag, StringRef>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringMap.h: In constructor 'llvm::StringMapKeyIterator<ValueTy>::StringMapKeyIterator(llvm::StringMapConstIterator<ValueTy>)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringMap.h:466:9: error: class 'llvm::StringMapKeyIterator<ValueTy>' does not have any field named 'base' : base(std::move(Iter)) {} ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:34:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/raw_ostream.h:404:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<!std::is_reference<OStream>::value && ^ In file included from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23:0: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:499:25: error: 'tuple_element_t' in namespace 'std' does not name a template type using arg_type = std::tuple_element_t<0, std::tuple<Args...>>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:503:42: error: 'arg_type' was not declared in this scope static_assert(std::is_lvalue_reference<arg_type>::value && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:503:50: error: template argument 1 is invalid static_assert(std::is_lvalue_reference<arg_type>::value && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:504:35: error: 'remove_reference_t' is not a member of 'std' std::is_const<std::remove_reference_t<arg_type>>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:504:35: error: 'remove_reference_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:504:59: error: 'arg_type' was not declared in this scope std::is_const<std::remove_reference_t<arg_type>>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:504:59: error: template argument 1 is invalid /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:504:69: error: '::value' has not been declared std::is_const<std::remove_reference_t<arg_type>>::value, ^ [ 27%] Linking CXX executable codebrowser_indexgenerator /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:1464:26: error: 'enable_if_t' in namespace 'std' does not name a template type class = std::enable_if_t<std::is_assignable<T &, T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:1464:37: error: expected '>' before '<' token class = std::enable_if_t<std::is_assignable<T &, T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:1472:26: error: 'enable_if_t' in namespace 'std' does not name a template type class = std::enable_if_t<!std::is_assignable<T &, T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:1472:37: error: expected '>' before '<' token class = std::enable_if_t<!std::is_assignable<T &, T>::value>> ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/LLVM.h:21:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:21, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:64:27: error: 'enable_if_t' is not a member of 'std' struct isa_impl<To, From, std::enable_if_t<std::is_base_of<To, From>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:64:27: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:64:71: error: type/value mismatch at argument 3 in template parameter list for 'template<class To, class From, class Enabler> struct llvm::isa_impl' struct isa_impl<To, From, std::enable_if_t<std::is_base_of<To, From>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:64:71: note: expected a type, got '(<expression error> < std::is_base_of< <template-parameter-1-1>, <template-parameter-1-2> >::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:64:76: error: expected unqualified-id before '>' token struct isa_impl<To, From, std::enable_if_t<std::is_base_of<To, From>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:192:27: error: 'remove_pointer_t' in namespace 'std' does not name a template type using ResultType = std::remove_pointer_t<PointerType>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:195:36: error: 'ResultType' was not declared in this scope using ret_type = std::unique_ptr<ResultType>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:195:46: error: template argument 1 is invalid using ret_type = std::unique_ptr<ResultType>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:195:46: error: template argument 2 is invalid /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:252:13: error: 'enable_if_t' in namespace 'std' does not name a template type inline std::enable_if_t<!is_simple_type<Y>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:288:28: error: 'enable_if_t' in namespace 'std' does not name a template type LLVM_NODISCARD inline std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:298:28: error: 'enable_if_t' in namespace 'std' does not name a template type LLVM_NODISCARD inline std::enable_if_t<!is_simple_type<Y>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:332:28: error: 'enable_if_t' in namespace 'std' does not name a template type LLVM_NODISCARD inline std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:352:28: error: 'enable_if_t' in namespace 'std' does not name a template type LLVM_NODISCARD inline std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:359:28: error: 'enable_if_t' in namespace 'std' does not name a template type LLVM_NODISCARD inline std::enable_if_t<!is_simple_type<Y>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:385:68: error: 'unique_dyn_cast' function uses 'auto' type specifier without trailing return type LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:385:68: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:400:76: error: 'unique_dyn_cast_or_null' function uses 'auto' type specifier without trailing return type LLVM_NODISCARD inline auto unique_dyn_cast_or_null(std::unique_ptr<Y> &&Val) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Casting.h:400:76: note: deduced return type only available with -std=c++14 or -std=gnu++14 In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/LangOptions.h:21:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:22, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h: In static member function 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:60:3: error: body of constexpr function 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' not a return-statement } ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/LangOptions.h:21:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:22, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:41:1: note: in expansion of macro 'SANITIZER' SANITIZER("address", Address) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:44:1: note: in expansion of macro 'SANITIZER' SANITIZER("pointer-compare", PointerCompare) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:47:1: note: in expansion of macro 'SANITIZER' SANITIZER("pointer-subtract", PointerSubtract) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:50:1: note: in expansion of macro 'SANITIZER' SANITIZER("kernel-address", KernelAddress) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:53:1: note: in expansion of macro 'SANITIZER' SANITIZER("hwaddress", HWAddress) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:56:1: note: in expansion of macro 'SANITIZER' SANITIZER("kernel-hwaddress", KernelHWAddress) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:59:1: note: in expansion of macro 'SANITIZER' SANITIZER("memtag", MemTag) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:62:1: note: in expansion of macro 'SANITIZER' SANITIZER("memory", Memory) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:65:1: note: in expansion of macro 'SANITIZER' SANITIZER("kernel-memory", KernelMemory) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:68:1: note: in expansion of macro 'SANITIZER' SANITIZER("fuzzer", Fuzzer) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:71:1: note: in expansion of macro 'SANITIZER' SANITIZER("fuzzer-no-link", FuzzerNoLink) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:74:1: note: in expansion of macro 'SANITIZER' SANITIZER("thread", Thread) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:77:1: note: in expansion of macro 'SANITIZER' SANITIZER("leak", Leak) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:80:1: note: in expansion of macro 'SANITIZER' SANITIZER("alignment", Alignment) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:81:1: note: in expansion of macro 'SANITIZER' SANITIZER("array-bounds", ArrayBounds) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:82:1: note: in expansion of macro 'SANITIZER' SANITIZER("bool", Bool) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:83:1: note: in expansion of macro 'SANITIZER' SANITIZER("builtin", Builtin) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:84:1: note: in expansion of macro 'SANITIZER' SANITIZER("enum", Enum) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:85:1: note: in expansion of macro 'SANITIZER' SANITIZER("float-cast-overflow", FloatCastOverflow) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:86:1: note: in expansion of macro 'SANITIZER' SANITIZER("float-divide-by-zero", FloatDivideByZero) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:87:1: note: in expansion of macro 'SANITIZER' SANITIZER("function", Function) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:88:1: note: in expansion of macro 'SANITIZER' SANITIZER("integer-divide-by-zero", IntegerDivideByZero) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:89:1: note: in expansion of macro 'SANITIZER' SANITIZER("nonnull-attribute", NonnullAttribute) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:90:1: note: in expansion of macro 'SANITIZER' SANITIZER("null", Null) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:91:1: note: in expansion of macro 'SANITIZER' SANITIZER("nullability-arg", NullabilityArg) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:92:1: note: in expansion of macro 'SANITIZER' SANITIZER("nullability-assign", NullabilityAssign) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:93:1: note: in expansion of macro 'SANITIZER' SANITIZER("nullability-return", NullabilityReturn) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:94:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("nullability", Nullability, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:96:1: note: in expansion of macro 'SANITIZER' SANITIZER("object-size", ObjectSize) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:97:1: note: in expansion of macro 'SANITIZER' SANITIZER("pointer-overflow", PointerOverflow) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:98:1: note: in expansion of macro 'SANITIZER' SANITIZER("return", Return) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:99:1: note: in expansion of macro 'SANITIZER' SANITIZER("returns-nonnull-attribute", ReturnsNonnullAttribute) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:100:1: note: in expansion of macro 'SANITIZER' SANITIZER("shift-base", ShiftBase) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:101:1: note: in expansion of macro 'SANITIZER' SANITIZER("shift-exponent", ShiftExponent) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:102:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("shift", Shift, ShiftBase | ShiftExponent) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:103:1: note: in expansion of macro 'SANITIZER' SANITIZER("signed-integer-overflow", SignedIntegerOverflow) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:104:1: note: in expansion of macro 'SANITIZER' SANITIZER("unreachable", Unreachable) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:105:1: note: in expansion of macro 'SANITIZER' SANITIZER("vla-bound", VLABound) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:106:1: note: in expansion of macro 'SANITIZER' SANITIZER("vptr", Vptr) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:109:1: note: in expansion of macro 'SANITIZER' SANITIZER("unsigned-integer-overflow", UnsignedIntegerOverflow) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:110:1: note: in expansion of macro 'SANITIZER' SANITIZER("unsigned-shift-base", UnsignedShiftBase) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:113:1: note: in expansion of macro 'SANITIZER' SANITIZER("dataflow", DataFlow) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:116:1: note: in expansion of macro 'SANITIZER' SANITIZER("cfi-cast-strict", CFICastStrict) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:117:1: note: in expansion of macro 'SANITIZER' SANITIZER("cfi-derived-cast", CFIDerivedCast) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:118:1: note: in expansion of macro 'SANITIZER' SANITIZER("cfi-icall", CFIICall) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:119:1: note: in expansion of macro 'SANITIZER' SANITIZER("cfi-mfcall", CFIMFCall) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:120:1: note: in expansion of macro 'SANITIZER' SANITIZER("cfi-unrelated-cast", CFIUnrelatedCast) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:121:1: note: in expansion of macro 'SANITIZER' SANITIZER("cfi-nvcall", CFINVCall) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:122:1: note: in expansion of macro 'SANITIZER' SANITIZER("cfi-vcall", CFIVCall) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:123:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("cfi", CFI, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:128:1: note: in expansion of macro 'SANITIZER' SANITIZER("safe-stack", SafeStack) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:131:1: note: in expansion of macro 'SANITIZER' SANITIZER("shadow-call-stack", ShadowCallStack) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:135:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("undefined", Undefined, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:144:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("undefined-trap", UndefinedTrap, Undefined) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:147:1: note: in expansion of macro 'SANITIZER' SANITIZER("implicit-unsigned-integer-truncation", ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:149:1: note: in expansion of macro 'SANITIZER' SANITIZER("implicit-signed-integer-truncation", ImplicitSignedIntegerTruncation) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:150:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("implicit-integer-truncation", ImplicitIntegerTruncation, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:154:1: note: in expansion of macro 'SANITIZER' SANITIZER("implicit-integer-sign-change", ImplicitIntegerSignChange) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:156:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("implicit-integer-arithmetic-value-change", ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:160:1: note: in expansion of macro 'SANITIZER' SANITIZER("objc-cast", ObjCCast) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:169:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("implicit-conversion", ImplicitConversion, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:173:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("integer", Integer, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:178:1: note: in expansion of macro 'SANITIZER' SANITIZER("local-bounds", LocalBounds) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:179:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("bounds", Bounds, ArrayBounds | LocalBounds) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:135:74: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression static constexpr SanitizerMask ID = SanitizerMask::bitPosToMask(SO_##ID); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:182:1: note: in expansion of macro 'SANITIZER' SANITIZER("scudo", Scudo) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.h:140:49: error: 'static constexpr clang::SanitizerMask clang::SanitizerMask::bitPosToMask(unsigned int)' called in a constant expression SanitizerMask::bitPosToMask(SO_##ID##Group); \ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Sanitizers.def:186:1: note: in expansion of macro 'SANITIZER_GROUP' SANITIZER_GROUP("all", All, ~SanitizerMask()) ^ [ 27%] Built target codebrowser_indexgenerator In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/LangOptions.h:22:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:22, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/TargetCXXABI.h:42:32: error: 'getABIMap' function uses 'auto' type specifier without trailing return type static const auto &getABIMap() { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/TargetCXXABI.h:42:32: note: deduced return type only available with -std=c++14 or -std=gnu++14 In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/LangOptions.h:22:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:22, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/TargetCXXABI.h:50:37: error: 'getSpellingMap' function uses 'auto' type specifier without trailing return type static const auto &getSpellingMap() { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/TargetCXXABI.h:50:37: note: deduced return type only available with -std=c++14 or -std=gnu++14 In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/LangOptions.h:22:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:22, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/TargetCXXABI.h:60:46: error: 'getSpelling' function uses 'auto' type specifier without trailing return type static const auto &getSpelling(Kind ABIKind) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/TargetCXXABI.h:60:46: note: deduced return type only available with -std=c++14 or -std=gnu++14 [ 36%] Building CXX object generator/CMakeFiles/codebrowser_generator.dir/projectmanager.cpp.o In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:16:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/BitmaskEnum.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:11, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:20, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:395:23: error: 'enable_if_t' in namespace 'std' does not name a template type constexpr inline std::enable_if_t<(N < 64), bool> isUInt(uint64_t X) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:400:23: error: 'enable_if_t' in namespace 'std' does not name a template type constexpr inline std::enable_if_t<N >= 64, bool> isUInt(uint64_t) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:405:41: error: expected initializer before '<' token template <> constexpr inline bool isUInt<8>(uint64_t x) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:408:41: error: expected initializer before '<' token template <> constexpr inline bool isUInt<16>(uint64_t x) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:411:41: error: expected initializer before '<' token template <> constexpr inline bool isUInt<32>(uint64_t x) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isShiftedUInt(__uint64_t)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:424:10: error: 'isUInt' was not declared in this scope return isUInt<N + S>(x) && (x % (UINT64_C(1) << S) == 0); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:794:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_unsigned<T>::value, T> AbsoluteDifference(T X, T Y) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:802:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_unsigned<T>::value, T> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:819:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_unsigned<T>::value, T> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:865:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_unsigned<T>::value, T> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:884:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_signed<T>::value, T> AddOverflow(T X, T Y, T &Result) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:910:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_signed<T>::value, T> SubOverflow(T X, T Y, T &Result) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:936:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_signed<T>::value, T> MulOverflow(T X, T Y, T &Result) { ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/BitmaskEnum.h:18:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:11, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:20, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:74:8: error: 'enable_if_t' is not a member of 'std' E, std::enable_if_t<sizeof(E::LLVM_BITMASK_LARGEST_ENUMERATOR) >= 0>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:74:8: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:74:71: error: template argument 2 is invalid E, std::enable_if_t<sizeof(E::LLVM_BITMASK_LARGEST_ENUMERATOR) >= 0>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:74:72: error: expected unqualified-id before '>' token E, std::enable_if_t<sizeof(E::LLVM_BITMASK_LARGEST_ENUMERATOR) >= 0>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:80:28: error: 'underlying_type_t' in namespace 'std' does not name a template type template <typename E> std::underlying_type_t<E> Mask() { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:90:28: error: 'underlying_type_t' in namespace 'std' does not name a template type template <typename E> std::underlying_type_t<E> Underlying(E Val) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:101:39: error: 'enable_if_t' in namespace 'std' does not name a template type template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:101:50: error: expected '>' before '<' token template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h: In function 'E llvm::BitmaskEnumDetail::operator~(E)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:103:44: error: 'Mask' was not declared in this scope return static_cast<E>(~Underlying(Val) & Mask<E>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:103:50: error: expected primary-expression before '>' token return static_cast<E>(~Underlying(Val) & Mask<E>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:103:52: error: expected primary-expression before ')' token return static_cast<E>(~Underlying(Val) & Mask<E>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:106:39: error: 'enable_if_t' in namespace 'std' does not name a template type template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:106:50: error: expected '>' before '<' token template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:111:39: error: 'enable_if_t' in namespace 'std' does not name a template type template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:111:50: error: expected '>' before '<' token template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:116:39: error: 'enable_if_t' in namespace 'std' does not name a template type template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:116:50: error: expected '>' before '<' token template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:124:39: error: 'enable_if_t' in namespace 'std' does not name a template type template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:124:50: error: expected '>' before '<' token template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:130:39: error: 'enable_if_t' in namespace 'std' does not name a template type template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:130:50: error: expected '>' before '<' token template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:136:39: error: 'enable_if_t' in namespace 'std' does not name a template type template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:136:50: error: expected '>' before '<' token template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:146:39: error: 'enable_if_t' in namespace 'std' does not name a template type template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:146:50: error: expected '>' before '<' token template <typename E, typename = std::enable_if_t<is_bitmask_enum<E>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:148:17: error: 'underlying_type_t' is not a member of 'std' static_cast<std::underlying_type_t<E>>( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:147:67: error: expected primary-expression before '{' token constexpr unsigned BitWidth = BitmaskEnumDetail::bitWidth(uint64_t{ ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/BitmaskEnum.h:147:20: warning: variable templates only available with -std=c++14 or -std=gnu++14 constexpr unsigned BitWidth = BitmaskEnumDetail::bitWidth(uint64_t{ ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:20:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In constructor 'clang::Dependence::Dependence(clang::TypeDependence)': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:143:54: error: invalid conversion from 'int' to 'clang::Dependence::Bits' [-fpermissive] translate(D, TypeDependence::Error, Error) | ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In constructor 'clang::Dependence::Dependence(clang::ExprDependence)': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:150:57: error: invalid conversion from 'int' to 'clang::Dependence::Bits' [-fpermissive] translate(D, ExprDependence::Value, Value) | ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In constructor 'clang::Dependence::Dependence(clang::NestedNameSpecifierDependence)': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:156:63: error: invalid conversion from 'int' to 'clang::Dependence::Bits' [-fpermissive] translate(D, NNSDependence::Dependent, Dependent) | ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In constructor 'clang::Dependence::Dependence(clang::TemplateArgumentDependence)': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:162:60: error: invalid conversion from 'int' to 'clang::Dependence::Bits' [-fpermissive] translate(D, TADependence::Dependent, Dependent) | ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In constructor 'clang::Dependence::Dependence(clang::TemplateNameDependence)': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:168:63: error: invalid conversion from 'int' to 'clang::Dependence::Bits' [-fpermissive] translate(D, TNDependence::Dependent, Dependent) | ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In member function 'clang::Dependence clang::Dependence::syntactic()': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:174:14: error: invalid conversion from 'int' to 'clang::Dependence::Bits' [-fpermissive] Result.V &= Syntactic; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In member function 'clang::TypeDependence clang::Dependence::type() const': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:182:55: error: invalid conversion from 'int' to 'clang::TypeDependence {aka clang::TypeDependenceScope::TypeDependence}' [-fpermissive] translate(V, Error, TypeDependence::Error) | ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In member function 'clang::ExprDependence clang::Dependence::expr() const': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:190:55: error: invalid conversion from 'int' to 'clang::ExprDependence {aka clang::ExprDependenceScope::ExprDependence}' [-fpermissive] translate(V, Value, ExprDependence::Value) | ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In member function 'clang::NestedNameSpecifierDependence clang::Dependence::nestedNameSpecifier() const': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:197:62: error: invalid conversion from 'int' to 'clang::NestedNameSpecifierDependence {aka clang::NestedNameSpecifierDependenceScope::NestedNameSpecifierDependence}' [-fpermissive] translate(V, Dependent, NNSDependence::Dependent) | ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In member function 'clang::TemplateArgumentDependence clang::Dependence::templateArgument() const': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:204:61: error: invalid conversion from 'int' to 'clang::TemplateArgumentDependence {aka clang::TemplateArgumentDependenceScope::TemplateArgumentDependence}' [-fpermissive] translate(V, Dependent, TADependence::Dependent) | ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In member function 'clang::TemplateNameDependence clang::Dependence::templateName() const': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:211:61: error: invalid conversion from 'int' to 'clang::TemplateNameDependence {aka clang::TemplateNameDependenceScope::TemplateNameDependence}' [-fpermissive] translate(V, Dependent, TNDependence::Dependent) | ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In function 'clang::ExprDependence clang::turnTypeToValueDependence(clang::ExprDependence)': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:246:12: error: invalid conversion from 'int' to 'clang::ExprDependence {aka clang::ExprDependenceScope::ExprDependence}' [-fpermissive] return D & ~ExprDependence::Type; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h: In function 'clang::ExprDependence clang::turnValueToTypeDependence(clang::ExprDependence)': /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/DependenceFlags.h:251:7: error: invalid conversion from 'int' to 'clang::ExprDependence {aka clang::ExprDependenceScope::ExprDependence}' [-fpermissive] D |= ExprDependence::Type; ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/DiagnosticIDs.h:18:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Diagnostic.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/NestedNameSpecifier.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:21, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/IntrusiveRefCntPtr.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/IntrusiveRefCntPtr.h:175:18: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<X *, T *>::value, bool> = true> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/IntrusiveRefCntPtr.h:175:29: error: expected '>' before '<' token std::enable_if_t<std::is_convertible<X *, T *>::value, bool> = true> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/IntrusiveRefCntPtr.h:181:18: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<X *, T *>::value, bool> = true> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/IntrusiveRefCntPtr.h:181:29: error: expected '>' before '<' token std::enable_if_t<std::is_convertible<X *, T *>::value, bool> = true> ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/DenseMap.h:18:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Diagnostic.h:22, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/NestedNameSpecifier.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:21, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/AlignOf.h:28:29: error: 'aligned_union_t' in namespace 'std' does not name a template type using AlignedUnion = std::aligned_union_t<1, T, Ts...>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/AlignOf.h:29:19: error: 'AlignedUnion' was not declared in this scope alignas(alignof(AlignedUnion)) char buffer[sizeof(AlignedUnion)]; ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Diagnostic.h:22:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/NestedNameSpecifier.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:21, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/DenseMap.h:1228:29: error: 'enable_if_t' in namespace 'std' does not name a template type typename = std::enable_if_t<!IsConstSrc && IsConst>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/DenseMap.h:1228:40: error: expected '>' before '<' token typename = std::enable_if_t<!IsConstSrc && IsConst>> ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/NestedNameSpecifier.h:18:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:21, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Diagnostic.h:1405:13: error: 'enable_if_t' in namespace 'std' does not name a template type inline std::enable_if_t<std::is_same<T, bool>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Diagnostic.h:1436:13: error: 'enable_if_t' in namespace 'std' does not name a template type inline std::enable_if_t< ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:15, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h: In instantiation of 'constexpr const T& llvm::optional_detail::OptionalStorage<T, true>::getValue() const & [with T = clang::SourceRange]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:283:29: required from 'constexpr const T& llvm::Optional<T>::getValue() const & [with T = clang::SourceRange]' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:292:20: required from 'constexpr const T& llvm::Optional<T>::operator*() const & [with T = clang::SourceRange]' /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Diagnostic.h:1481:12: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:202:3: error: body of constexpr function 'constexpr const T& llvm::optional_detail::OptionalStorage<T, true>::getValue() const & [with T = clang::SourceRange]' not a return-statement } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h: In instantiation of 'constexpr const T& llvm::optional_detail::OptionalStorage<T, true>::getValue() const & [with T = clang::CharSourceRange]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:283:29: required from 'constexpr const T& llvm::Optional<T>::getValue() const & [with T = clang::CharSourceRange]' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:292:20: required from 'constexpr const T& llvm::Optional<T>::operator*() const & [with T = clang::CharSourceRange]' /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/Diagnostic.h:1489:12: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:202:3: error: body of constexpr function 'constexpr const T& llvm::optional_detail::OptionalStorage<T, true>::getValue() const & [with T = clang::CharSourceRange]' not a return-statement /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h: In instantiation of 'constexpr const T& llvm::optional_detail::OptionalStorage<T, true>::getValue() const & [with T = llvm::Align]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:283:29: required from 'constexpr const T& llvm::Optional<T>::getValue() const & [with T = llvm::Align]' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Alignment.h:134:59: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:202:3: error: body of constexpr function 'constexpr const T& llvm::optional_detail::OptionalStorage<T, true>::getValue() const & [with T = llvm::Align]' not a return-statement In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:49:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/SwapByteOrder.h:152:13: error: 'enable_if_t' in namespace 'std' does not name a template type inline std::enable_if_t<std::is_enum<T>::value, T> getSwappedBytes(T C) { ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:50:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:31:28: error: 'remove_reference_t' in namespace 'std' does not name a template type using UnderlyingT = std::remove_reference_t<T>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:35:22: error: 'UnderlyingT' was not declared in this scope !std::is_class<UnderlyingT>::value && // Filter conversion operators. ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:35:33: error: template argument 1 is invalid !std::is_class<UnderlyingT>::value && // Filter conversion operators. ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:36:24: error: 'UnderlyingT' was not declared in this scope !std::is_pointer<UnderlyingT>::value && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:36:35: error: template argument 1 is invalid !std::is_pointer<UnderlyingT>::value && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:37:31: error: 'UnderlyingT' was not declared in this scope !std::is_floating_point<UnderlyingT>::value && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:37:42: error: template argument 1 is invalid !std::is_floating_point<UnderlyingT>::value && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:38:21: error: 'UnderlyingT' was not declared in this scope (std::is_enum<UnderlyingT>::value || ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:38:32: error: template argument 1 is invalid (std::is_enum<UnderlyingT>::value || ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:39:28: error: 'UnderlyingT' was not declared in this scope std::is_convertible<UnderlyingT, unsigned long long>::value); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:39:59: error: template argument 1 is invalid std::is_convertible<UnderlyingT, unsigned long long>::value); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:48:8: error: 'enable_if_t' is not a member of 'std' T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:48:8: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:48:45: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::add_lvalue_reference_if_not_pointer' T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:48:45: note: expected a type, got '(<expression error> < std::is_pointer<_Tp>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:48:50: error: expected unqualified-id before '>' token T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:58:34: error: 'enable_if_t' is not a member of 'std' struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:58:34: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:58:71: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::add_const_past_pointer' struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:58:71: note: expected a type, got '(<expression error> < std::is_pointer<_Tp>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:58:76: error: expected unqualified-id before '>' token struct add_const_past_pointer<T, std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:68:35: error: 'enable_if_t' is not a member of 'std' std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:68:35: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:68:72: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::const_pointer_or_const_ref' std::enable_if_t<std::is_pointer<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:68:72: note: expected a type, got '(<expression error> < std::is_pointer<_Tp>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/type_traits.h:68:77: error: expected unqualified-id before '>' token std::enable_if_t<std::is_pointer<T>::value>> { ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/NestedNameSpecifier.h:21:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:21, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h: In constructor 'llvm::FoldingSetNodeID::FoldingSetNodeID(llvm::FoldingSetNodeIDRef)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h:322:56: error: no matching function for call to 'llvm::SmallVector<unsigned int, 32u>::SmallVector(const unsigned int*, const unsigned int*)' : Bits(Ref.getData(), Ref.getData() + Ref.getSize()) {} ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:14:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1216:3: note: candidate: llvm::SmallVector<T, N>::SmallVector(llvm::SmallVectorImpl<T>&&) [with T = unsigned int; unsigned int N = 32u] SmallVector(SmallVectorImpl<T> &&RHS) : SmallVectorImpl<T>(N) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1216:3: note: candidate expects 1 argument, 2 provided /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1211:3: note: candidate: llvm::SmallVector<T, N>::SmallVector(llvm::SmallVector<T, N>&&) [with T = unsigned int; unsigned int N = 32u] SmallVector(SmallVector &&RHS) : SmallVectorImpl<T>(N) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1211:3: note: candidate expects 1 argument, 2 provided /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1201:3: note: candidate: llvm::SmallVector<T, N>::SmallVector(const llvm::SmallVector<T, N>&) [with T = unsigned int; unsigned int N = 32u] SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1201:3: note: candidate expects 1 argument, 2 provided /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1197:3: note: candidate: llvm::SmallVector<T, N>::SmallVector(std::initializer_list<_Tp>) [with T = unsigned int; unsigned int N = 32u] SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1197:3: note: candidate expects 1 argument, 2 provided /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1192:12: note: candidate: template<class RangeTy> llvm::SmallVector<T, N>::SmallVector(const llvm::iterator_range<RangeTy>&) explicit SmallVector(const iterator_range<RangeTy> &R) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1192:12: note: template argument deduction/substitution failed: In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/NestedNameSpecifier.h:21:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:21, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h:322:56: note: mismatched types 'const llvm::iterator_range<T>' and 'const unsigned int*' : Bits(Ref.getData(), Ref.getData() + Ref.getSize()) {} ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:14:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1187:3: note: candidate: template<class ItTy, class> llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1187:3: note: template argument deduction/substitution failed: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1178:12: note: candidate: llvm::SmallVector<T, N>::SmallVector(size_t, const T&) [with T = unsigned int; unsigned int N = 32u; size_t = long unsigned int] <near match> explicit SmallVector(size_t Size, const T &Value = T()) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1178:12: note: conversion of argument 2 would be ill-formed: In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/NestedNameSpecifier.h:21:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:21, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h:322:41: error: invalid conversion from 'const unsigned int*' to 'unsigned int' [-fpermissive] : Bits(Ref.getData(), Ref.getData() + Ref.getSize()) {} ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:14:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1171:3: note: candidate: llvm::SmallVector<T, N>::SmallVector() [with T = unsigned int; unsigned int N = 32u] SmallVector() : SmallVectorImpl<T>(N) {} ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1171:3: note: candidate expects 0 arguments, 2 provided In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/NestedNameSpecifier.h:21:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:21, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h:611:63: error: template argument 2 is invalid using iterator = pointee_iterator<typename VectorT::iterator>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h:613:3: error: 'iterator' does not name a type iterator begin() { return Vector.begin(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h:614:3: error: 'iterator' does not name a type iterator end() { return Vector.end(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h:616:75: error: template argument 2 is invalid using const_iterator = pointee_iterator<typename VectorT::const_iterator>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h:618:3: error: 'const_iterator' does not name a type const_iterator begin() const { return Vector.begin(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/FoldingSet.h:619:3: error: 'const_iterator' does not name a type const_iterator end() const { return Vector.end(); } ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:105:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h: In static member function 'static llvm::hashing::detail::hash_state llvm::hashing::detail::hash_state::create(const char*, __uint64_t)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:272:37: error: could not convert '{0, seed, llvm::hashing::detail::hash_16_bytes(seed, 13011662864482103923ul), llvm::hashing::detail::rotate((seed ^ 13011662864482103923ul), 49ul), (seed * 13011662864482103923ul), llvm::hashing::detail::shift_mix(seed), 0}' from '<brace-enclosed initializer list>' to 'llvm::hashing::detail::hash_state' seed * k1, shift_mix(seed), 0 }; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:367:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<is_hashable_data<T>::value, T> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:375:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<!is_hashable_data<T>::value, size_t> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:449:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<is_hashable_data<ValueT>::value, hash_code> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:634:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<is_integral_or_enum<T>::value, hash_code> hash_value(T value) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:659:40: error: 'std::index_sequence' has not been declared std::index_sequence<Indices...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:659:54: error: expected ',' or '...' before '<' token std::index_sequence<Indices...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(const std::tuple<_Elements ...>&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:670:26: error: 'index_sequence_for' in namespace 'std' does not name a template type arg, typename std::index_sequence_for<Ts...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:670:44: error: expected '(' before '<' token arg, typename std::index_sequence_for<Ts...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:670:47: error: expected primary-expression before '...' token arg, typename std::index_sequence_for<Ts...>()); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:20:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLForwardCompat.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:73:21: error: 'remove_cv_t' in namespace 'std' does not name a template type using type = std::remove_cv_t<std::remove_reference_t<T>>; ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/Type.h:48:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/CanonicalType.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/ASTContext.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/ASTUnit.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendAction.h:23, from /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Frontend/FrontendActions.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:24: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:312:25: error: 'enable_if_t' in namespace 'std' does not name a template type static constexpr std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:324:25: error: 'enable_if_t' in namespace 'std' does not name a template type static constexpr std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:354:21: error: 'totalSizeToAlloc' was not declared in this scope enum { Size = totalSizeToAlloc<Tys...>(Counts...) }; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:354:41: error: expected primary-expression before '...' token enum { Size = totalSizeToAlloc<Tys...>(Counts...) }; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:354:41: error: expected '}' before '...' token /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:354:41: error: expected unqualified-id before '...' token /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:356:37: error: 'Size' was not declared in this scope alignas(BaseTy) char buffer[Size]; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h: In static member function 'static void llvm::TrailingObjects<BaseTy, TrailingTys>::verifyTrailingObjectsAssertions()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:236:19: error: 'is_final' is not a member of 'std' static_assert(std::is_final<BaseTy>(), "BaseTy must be final."); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:236:39: error: expected primary-expression before '>' token static_assert(std::is_final<BaseTy>(), "BaseTy must be final."); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:236:41: error: expected primary-expression before ')' token static_assert(std::is_final<BaseTy>(), "BaseTy must be final."); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:364:34: error: expected ')' before '*' token FixedSizeStorageOwner(BaseTy *p) : p(p) {} ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:370:5: error: 'BaseTy' does not name a type BaseTy *get() { return p; } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:371:11: error: 'BaseTy' does not name a type const BaseTy *get() const { return p; } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:379:5: error: 'BaseTy' does not name a type BaseTy *const p; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h: In destructor 'llvm::FixedSizeStorageOwner::~FixedSizeStorageOwner()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:367:7: error: 'p' was not declared in this scope p->~BaseTy(); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:367:17: error: expected class-name before '(' token p->~BaseTy(); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/TrailingObjects.h:383:1: error: expected declaration before '}' token } // end namespace llvm ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:15:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'bool llvm::any_of(R&&, UnaryPredicate) [with R = const llvm::SmallPtrSet<llvm::cl::SubCommand*, 1u>&; UnaryPredicate = llvm::cl::Option::isInAllSubCommands() const::<lambda(const llvm::cl::SubCommand*)>]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:321:6: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1542:31: error: 'adl_begin' was not declared in this scope return std::any_of(adl_begin(Range), adl_end(Range), P); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1542:47: error: 'adl_end' was not declared in this scope return std::any_of(adl_begin(Range), adl_end(Range), P); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h: In copy constructor 'llvm::optional_detail::OptionalStorage<T, <anonymous> >::OptionalStorage(const llvm::optional_detail::OptionalStorage<T, <anonymous> >&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:75:3: error: constexpr constructor does not have empty body } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h: In constructor 'llvm::optional_detail::OptionalStorage<T, <anonymous> >::OptionalStorage(llvm::optional_detail::OptionalStorage<T, <anonymous> >&&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:80:3: error: constexpr constructor does not have empty body } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h: In function 'llvm::hash_code llvm::hash_value(const llvm::Optional<T>&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: error: no matching function for call to 'hash_value(bool)' return O ? hash_combine(true, *O) : hash_value(false); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:328:36: note: candidate: template<class T> llvm::hash_code llvm::hash_value(const llvm::Optional<T>&) template <class T> llvm::hash_code hash_value(const Optional<T> &O) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:328:36: note: template argument deduction/substitution failed: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: note: mismatched types 'const llvm::Optional<T>' and 'bool' return O ? hash_combine(true, *O) : hash_value(false); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:676:11: note: candidate: template<class T> llvm::hash_code llvm::hash_value(const std::basic_string<_CharT>&) hash_code hash_value(const std::basic_string<T> &arg) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:676:11: note: template argument deduction/substitution failed: In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: note: mismatched types 'const std::basic_string<_CharT>' and 'bool' return O ? hash_combine(true, *O) : hash_value(false); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:667:11: note: candidate: template<class ... Ts> llvm::hash_code llvm::hash_value(const std::tuple<_Elements ...>&) hash_code hash_value(const std::tuple<Ts...> &arg) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:667:11: note: template argument deduction/substitution failed: In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: note: mismatched types 'const std::tuple<_Elements ...>' and 'bool' return O ? hash_combine(true, *O) : hash_value(false); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:649:11: note: candidate: template<class T, class U> llvm::hash_code llvm::hash_value(const std::pair<_T1, _T2>&) hash_code hash_value(const std::pair<T, U> &arg) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:649:11: note: template argument deduction/substitution failed: In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: note: mismatched types 'const std::pair<_T1, _T2>' and 'bool' return O ? hash_combine(true, *O) : hash_value(false); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:641:33: note: candidate: template<class T> llvm::hash_code llvm::hash_value(const T*) template <typename T> hash_code hash_value(const T *ptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:641:33: note: template argument deduction/substitution failed: In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:329:55: note: mismatched types 'const T*' and 'bool' return O ? hash_combine(true, *O) : hash_value(false); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:12:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h: In instantiation of 'llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = unsigned int; Ts = {unsigned int, unsigned int, unsigned int}; size_t = long unsigned int]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:607:70: required from 'llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {unsigned int, unsigned int, unsigned int, unsigned int}]' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/VersionTuple.h:164:72: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:559:80: error: 'get_hashable_data' was not declared in this scope buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h: In instantiation of 'llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = clang::ObjCRuntime::Kind; Ts = {llvm::VersionTuple}; size_t = long unsigned int]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:607:70: required from 'llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {clang::ObjCRuntime::Kind, llvm::VersionTuple}]' /work/devel/woboq_codebrowser/work/.buildlink/include/clang/Basic/ObjCRuntime.h:481:62: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:559:80: error: 'get_hashable_data' was not declared in this scope /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h: In instantiation of 'llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = unsigned int; Ts = {unsigned int}; size_t = long unsigned int]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:607:70: required from 'llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {unsigned int, unsigned int}]' /work/devel/woboq_codebrowser/work/.buildlink/include/clang/AST/NestedNameSpecifier.h:550:58: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:559:80: error: 'get_hashable_data' was not declared in this scope In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:14:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:22, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/main.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorImpl<T>::append(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:700:11: required from 'void llvm::SmallVectorImpl<T>::assign(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue]' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1198:5: required from 'llvm::SmallVector<T, N>::SmallVector(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue; unsigned int N = 4u]' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/CommandLine.h:688:23: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:664:11: error: no matching function for call to 'llvm::SmallVectorImpl<llvm::cl::OptionEnumValue>::append(std::initializer_list<llvm::cl::OptionEnumValue>::const_iterator, std::initializer_list<llvm::cl::OptionEnumValue>::const_iterator)' append(IL.begin(), IL.end()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:648:8: note: candidate: template<class in_iter, class> void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = in_iter; <template-parameter-2-2> = <template-parameter-1-2>; T = llvm::cl::OptionEnumValue] void append(in_iter in_start, in_iter in_end) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:648:8: note: template argument deduction/substitution failed: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:657:8: note: candidate: void llvm::SmallVectorImpl<T>::append(llvm::SmallVectorImpl<T>::size_type, llvm::SmallVectorImpl<T>::ValueParamT) [with T = llvm::cl::OptionEnumValue; llvm::SmallVectorImpl<T>::size_type = long unsigned int; llvm::SmallVectorImpl<T>::ValueParamT = const llvm::cl::OptionEnumValue&] void append(size_type NumInputs, ValueParamT Elt) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:657:8: note: no known conversion for argument 2 from 'std::initializer_list<llvm::cl::OptionEnumValue>::const_iterator {aka const llvm::cl::OptionEnumValue*}' to 'llvm::SmallVectorImpl<llvm::cl::OptionEnumValue>::ValueParamT {aka const llvm::cl::OptionEnumValue&}' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:663:8: note: candidate: void llvm::SmallVectorImpl<T>::append(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue] void append(std::initializer_list<T> IL) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:663:8: note: candidate expects 1 argument, 2 provided /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:667:8: note: candidate: void llvm::SmallVectorImpl<T>::append(const llvm::SmallVectorImpl<T>&) [with T = llvm::cl::OptionEnumValue] void append(const SmallVectorImpl &RHS) { append(RHS.begin(), RHS.end()); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:667:8: note: candidate expects 1 argument, 2 provided In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:21:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:203:30: error: 'conditional_t' in namespace 'std' does not name a template type typename PointerT = std::conditional_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:203:43: error: expected '>' before '<' token typename PointerT = std::conditional_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:213:62: error: 'ReferenceT' was not declared in this scope DifferenceTypeT, PointerT, ReferenceT> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:213:72: error: template argument 6 is invalid DifferenceTypeT, PointerT, ReferenceT> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:281:3: error: 'ReferenceT' does not name a type ReferenceT operator*() const { return *I; } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:294:29: error: 'remove_reference_t' in namespace 'std' does not name a template type typename T = std::remove_reference_t<decltype( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:294:47: error: expected '>' before '<' token typename T = std::remove_reference_t<decltype( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:300:12: error: template argument 6 is invalid T> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:311:33: error: template argument 2 is invalid iterator_range<pointee_iterator<WrappedIteratorT>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:311:49: error: template argument 1 is invalid iterator_range<pointee_iterator<WrappedIteratorT>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h: In function 'int llvm::make_pointee_range(RangeT&&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:313:61: error: template argument 2 is invalid using PointeeIteratorT = pointee_iterator<WrappedIteratorT>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:324:12: error: template argument 6 is invalid T> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:347:30: error: 'remove_reference_t' in namespace 'std' does not name a template type typename T1 = std::remove_reference_t<decltype( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:347:48: error: expected '>' before '<' token typename T1 = std::remove_reference_t<decltype( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:351:62: error: 'T2' was not declared in this scope pointer_iterator<pointee_iterator<WrappedIteratorT, T1>, T2>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/iterator.h:351:64: error: template argument 2 is invalid pointer_iterator<pointee_iterator<WrappedIteratorT, T1>, T2>; ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:189:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<!std::is_same<remove_cvref_t<Callable>, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:189:23: error: expected ',' or '...' before '<' token std::enable_if_t<!std::is_same<remove_cvref_t<Callable>, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:215:10: error: expected primary-expression before 'auto' decltype(auto) adl_begin(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:215:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:215:1: error: expected unqualified-id before 'decltype' decltype(auto) adl_begin(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:222:10: error: expected primary-expression before 'auto' decltype(auto) adl_end(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:222:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:222:1: error: expected unqualified-id before 'decltype' decltype(auto) adl_end(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:237:10: error: expected primary-expression before 'auto' decltype(auto) adl_begin(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:237:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:237:1: error: expected unqualified-id before 'decltype' decltype(auto) adl_begin(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:242:10: error: expected primary-expression before 'auto' decltype(auto) adl_end(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:242:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:242:1: error: expected unqualified-id before 'decltype' decltype(auto) adl_end(ContainerTy &&container) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:266:73: error: 'drop_begin' function uses 'auto' type specifier without trailing return type template <typename T> auto drop_begin(T &&RangeOrContainer, size_t N = 1) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:266:73: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:281:64: error: template argument 6 is invalid typename std::remove_reference<FuncReturnTy>::type> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:302:41: error: 'map_range' function uses 'auto' type specifier without trailing return type auto map_range(ContainerTy &&C, FuncTy F) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:302:41: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:330:19: error: 'std::enable_if_t' has not been declared std::enable_if_t<has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:330:30: error: expected ',' or '...' before '<' token std::enable_if_t<has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:330:74: error: 'reverse' function uses 'auto' type specifier without trailing return type std::enable_if_t<has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:330:74: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:345:19: error: 'std::enable_if_t' has not been declared std::enable_if_t<!has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:345:30: error: expected ',' or '...' before '<' token std::enable_if_t<!has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:345:75: error: 'reverse' function uses 'auto' type specifier without trailing return type std::enable_if_t<!has_rbegin<ContainerTy>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:345:75: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:344:6: error: redefinition of 'template<class ContainerTy> auto llvm::reverse(ContainerTy&&, int)' auto reverse(ContainerTy &&C, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:329:6: note: 'template<class ContainerTy> auto llvm::reverse(ContainerTy&&, int)' previously declared here auto reverse(ContainerTy &&C, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:373:71: error: template argument 6 is invalid WrappedIteratorT>::iterator_category>::type> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:379:67: error: template argument 6 is invalid WrappedIteratorT>::iterator_category>::type>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:400:9: error: 'BaseT' has not been declared using BaseT::operator++; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'void llvm::filter_iterator_base<WrappedIteratorT, PredicateT, IterTag>::findNextValid()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:387:7: error: 'BaseT' has not been declared BaseT::operator++(); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::filter_iterator_base<WrappedIteratorT, PredicateT, IterTag>::filter_iterator_base(WrappedIteratorT, WrappedIteratorT, PredicateT)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:395:9: error: class 'llvm::filter_iterator_base<WrappedIteratorT, PredicateT, IterTag>' does not have any field named 'BaseT' : BaseT(Begin), End(End), Pred(Pred) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::filter_iterator_base<WrappedIteratorT, PredicateT, IterTag>& llvm::filter_iterator_base<WrappedIteratorT, PredicateT, IterTag>::operator++()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:403:5: error: 'BaseT' has not been declared BaseT::operator++(); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:516:77: error: template argument 6 is invalid WrappedIteratorT, std::input_iterator_tag> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:519:70: error: template argument 6 is invalid WrappedIteratorT, std::input_iterator_tag>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:531:9: error: 'BaseT' has not been declared using BaseT::operator*; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:540:9: error: 'BaseT' has not been declared using BaseT::operator++; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::early_inc_iterator_impl<WrappedIteratorT>::early_inc_iterator_impl(WrappedIteratorT)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:529:49: error: class 'llvm::early_inc_iterator_impl<WrappedIteratorT>' does not have any field named 'BaseT' early_inc_iterator_impl(WrappedIteratorT I) : BaseT(I) {} ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::operator==(const llvm::early_inc_iterator_impl<WrappedIteratorT>&, const llvm::early_inc_iterator_impl<WrappedIteratorT>&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:554:19: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] return (const BaseT &)LHS == (const BaseT &)RHS; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:554:13: error: expected primary-expression before 'const' return (const BaseT &)LHS == (const BaseT &)RHS; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:554:13: error: expected ')' before 'const' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:619:49: error: 'std::index_sequence' has not been declared template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:619:63: error: expected ',' or '...' before '<' token template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:624:36: error: 'std::index_sequence' has not been declared decltype(iterators) tup_inc(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:624:50: error: expected ',' or '...' before '<' token decltype(iterators) tup_inc(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:629:36: error: 'std::index_sequence' has not been declared decltype(iterators) tup_dec(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:629:50: error: expected ',' or '...' before '<' token decltype(iterators) tup_dec(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_common<ZipType, Iters>::value_type llvm::detail::zip_common<ZipType, Iters>::operator*()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:636:41: error: 'index_sequence_for' is not a member of 'std' value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:636:70: error: expected primary-expression before '...' token value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'const value_type llvm::detail::zip_common<ZipType, Iters>::operator*() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:639:18: error: 'index_sequence_for' is not a member of 'std' return deref(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:639:47: error: expected primary-expression before '...' token return deref(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'ZipType& llvm::detail::zip_common<ZipType, Iters>::operator++()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:643:25: error: 'index_sequence_for' is not a member of 'std' iterators = tup_inc(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:643:54: error: expected primary-expression before '...' token iterators = tup_inc(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'ZipType& llvm::detail::zip_common<ZipType, Iters>::operator--()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:650:25: error: 'index_sequence_for' is not a member of 'std' iterators = tup_dec(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:650:54: error: expected primary-expression before '...' token iterators = tup_dec(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:670:18: error: 'std::index_sequence' has not been declared std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:670:32: error: expected ',' or '...' before '<' token std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_shortest<Iters>::operator==(const llvm::detail::zip_shortest<Iters>&) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:682:25: error: 'index_sequence_for' is not a member of 'std' return !test(other, std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:682:54: error: expected primary-expression before '...' token return !test(other, std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:699:28: error: 'std::index_sequence' has not been declared iterator begin_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:699:42: error: expected ',' or '...' before '<' token iterator begin_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:702:50: error: 'std::index_sequence' has not been declared template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:702:64: error: expected ',' or '...' before '<' token template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zippy<ItType, Args>::iterator llvm::detail::zippy<ItType, Args>::begin() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:710:23: error: 'index_sequence_for' is not a member of 'std' return begin_impl(std::index_sequence_for<Args...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:710:51: error: expected primary-expression before '...' token return begin_impl(std::index_sequence_for<Args...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zippy<ItType, Args>::iterator llvm::detail::zippy<ItType, Args>::end() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:712:42: error: 'index_sequence_for' is not a member of 'std' iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:712:70: error: expected primary-expression before '...' token iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:5: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:25: error: 'remove_reference_t' is not a member of 'std' std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:744:61: error: template argument 1 is invalid std::remove_const_t<std::remove_reference_t<decltype(*I)>>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:743:55: error: invalid use of template-name 'llvm::Optional' without an argument list auto deref_or_none(const Iter &I, const Iter &End) -> llvm::Optional< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:743:69: error: expected initializer before '<' token auto deref_or_none(const Iter &I, const Iter &End) -> llvm::Optional< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:781:18: error: 'std::index_sequence' has not been declared std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:781:32: error: expected ',' or '...' before '<' token std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:788:49: error: 'std::index_sequence' has not been declared template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:788:63: error: expected ',' or '...' before '<' token template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:794:36: error: 'std::index_sequence' has not been declared decltype(iterators) tup_inc(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:794:50: error: expected ',' or '...' before '<' token decltype(iterators) tup_inc(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_longest_iterator<Iters>::value_type llvm::detail::zip_longest_iterator<Iters>::operator*()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:804:41: error: 'index_sequence_for' is not a member of 'std' value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:804:70: error: expected primary-expression before '...' token value_type operator*() { return deref(std::index_sequence_for<Iters...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_longest_iterator<Iters>::value_type llvm::detail::zip_longest_iterator<Iters>::operator*() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:807:18: error: 'index_sequence_for' is not a member of 'std' return deref(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:807:47: error: expected primary-expression before '...' token return deref(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_longest_iterator<Iters>& llvm::detail::zip_longest_iterator<Iters>::operator++()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:811:25: error: 'index_sequence_for' is not a member of 'std' iterators = tup_inc(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:811:54: error: expected primary-expression before '...' token iterators = tup_inc(std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_longest_iterator<Iters>::operator==(const llvm::detail::zip_longest_iterator<Iters>&) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:816:25: error: 'index_sequence_for' is not a member of 'std' return !test(other, std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:816:54: error: expected primary-expression before '...' token return !test(other, std::index_sequence_for<Iters...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:834:28: error: 'std::index_sequence' has not been declared iterator begin_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:834:42: error: expected ',' or '...' before '<' token iterator begin_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:839:50: error: 'std::index_sequence' has not been declared template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:839:64: error: expected ',' or '...' before '<' token template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_longest_range<Args>::iterator llvm::detail::zip_longest_range<Args>::begin() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:848:23: error: 'index_sequence_for' is not a member of 'std' return begin_impl(std::index_sequence_for<Args...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:848:51: error: expected primary-expression before '...' token return begin_impl(std::index_sequence_for<Args...>{}); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::zip_longest_range<Args>::iterator llvm::detail::zip_longest_range<Args>::end() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:850:42: error: 'index_sequence_for' is not a member of 'std' iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:850:70: error: expected primary-expression before '...' token iterator end() const { return end_impl(std::index_sequence_for<Args...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:906:47: error: 'std::index_sequence' has not been declared template <size_t... Ns> void increment(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:906:61: error: expected ',' or '...' before '<' token template <size_t... Ns> void increment(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:935:39: error: 'index_sequence' is not a member of 'std' template <size_t... Ns> ValueT &get(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:935:67: error: expected ';' before 'const' template <size_t... Ns> ValueT &get(std::index_sequence<Ns...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:946:3: error: data member 'get' cannot be a member template } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::concat_iterator<ValueT, IterTs>& llvm::concat_iterator<ValueT, IterTs>::operator++()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:960:15: error: 'index_sequence_for' is not a member of 'std' increment(std::index_sequence_for<IterTs...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:960:45: error: expected primary-expression before '...' token increment(std::index_sequence_for<IterTs...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'ValueT& llvm::concat_iterator<ValueT, IterTs>::operator*() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:965:16: error: 'index_sequence_for' is not a member of 'std' return get(std::index_sequence_for<IterTs...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:965:46: error: expected primary-expression before '...' token return get(std::index_sequence_for<IterTs...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:965:52: error: there are no arguments to 'get' that depend on a template parameter, so a declaration of 'get' must be available [-fpermissive] return get(std::index_sequence_for<IterTs...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:965:52: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:989:52: error: 'std::index_sequence' has not been declared template <size_t... Ns> iterator begin_impl(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:989:66: error: expected ',' or '...' before '<' token template <size_t... Ns> iterator begin_impl(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:992:50: error: 'std::index_sequence' has not been declared template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:992:64: error: expected ',' or '...' before '<' token template <size_t... Ns> iterator end_impl(std::index_sequence<Ns...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::concat_range<ValueT, RangeTs>::iterator llvm::detail::concat_range<ValueT, RangeTs>::begin()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1001:40: error: 'index_sequence_for' is not a member of 'std' iterator begin() { return begin_impl(std::index_sequence_for<RangeTs...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1001:71: error: expected primary-expression before '...' token iterator begin() { return begin_impl(std::index_sequence_for<RangeTs...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::detail::concat_range<ValueT, RangeTs>::iterator llvm::detail::concat_range<ValueT, RangeTs>::end()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1002:36: error: 'index_sequence_for' is not a member of 'std' iterator end() { return end_impl(std::index_sequence_for<RangeTs...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1002:67: error: expected primary-expression before '...' token iterator end() { return end_impl(std::index_sequence_for<RangeTs...>{}); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1167:46: error: 'enable_if_t' in namespace 'std' does not name a template type template <typename RangeT, typename = std::enable_if_t<std::is_constructible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1167:57: error: expected '>' before '<' token template <typename RangeT, typename = std::enable_if_t<std::is_constructible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1238:70: error: 'make_first_range' function uses 'auto' type specifier without trailing return type template <typename ContainerTy> auto make_first_range(ContainerTy &&c) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1238:70: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1247:71: error: 'make_second_range' function uses 'auto' type specifier without trailing return type template <typename ContainerTy> auto make_second_range(ContainerTy &&c) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1247:71: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1282:12: error: expected primary-expression before 'auto' decltype(auto) operator()(const T &lhs, const T &rhs) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1282:12: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1282:3: error: expected unqualified-id before 'decltype' decltype(auto) operator()(const T &lhs, const T &rhs) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1350:20: error: expected primary-expression before 'auto' constexpr decltype(auto) makeVisitor(CallableTs &&...Callables) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1350:20: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1350:11: error: expected unqualified-id before 'decltype' constexpr decltype(auto) makeVisitor(CallableTs &&...Callables) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1473:16: error: 'std::enable_if_t' has not been declared std::enable_if_t<!detail::sort_trivially_copyable<IteratorTy>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1473:27: error: expected '>' before '<' token std::enable_if_t<!detail::sort_trivially_copyable<IteratorTy>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1485:16: error: 'std::enable_if_t' has not been declared std::enable_if_t<detail::sort_trivially_copyable<IteratorTy>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1485:27: error: expected '>' before '<' token std::enable_if_t<detail::sort_trivially_copyable<IteratorTy>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1487:13: error: redefinition of 'template<class IteratorTy, int <anonymous> > void llvm::sort(IteratorTy, IteratorTy)' inline void sort(IteratorTy Start, IteratorTy End) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1475:13: note: 'template<class IteratorTy, int <anonymous> > void llvm::sort(IteratorTy, IteratorTy)' previously declared here inline void sort(IteratorTy Start, IteratorTy End) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:16: error: 'std::enable_if_t' has not been declared std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:27: error: expected ',' or '...' before '<' token std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1520:32: error: 'size' function uses 'auto' type specifier without trailing return type void> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1520:32: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1554:68: error: 'find' function uses 'auto' type specifier without trailing return type template <typename R, typename T> auto find(R &&Range, const T &Val) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1554:68: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1561:41: error: 'find_if' function uses 'auto' type specifier without trailing return type auto find_if(R &&Range, UnaryPredicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1561:41: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1566:45: error: 'find_if_not' function uses 'auto' type specifier without trailing return type auto find_if_not(R &&Range, UnaryPredicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1566:45: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1573:43: error: 'remove_if' function uses 'auto' type specifier without trailing return type auto remove_if(R &&Range, UnaryPredicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1573:43: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1617:73: error: 'count' function uses 'auto' type specifier without trailing return type template <typename R, typename E> auto count(R &&Range, const E &Element) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1617:73: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1624:42: error: 'count_if' function uses 'auto' type specifier without trailing return type auto count_if(R &&Range, UnaryPredicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1624:42: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1638:43: error: 'partition' function uses 'auto' type specifier without trailing return type auto partition(R &&Range, UnaryPredicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1638:43: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1644:72: error: 'lower_bound' function uses 'auto' type specifier without trailing return type template <typename R, typename T> auto lower_bound(R &&Range, T &&Value) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1644:72: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1650:49: error: 'lower_bound' function uses 'auto' type specifier without trailing return type auto lower_bound(R &&Range, T &&Value, Compare C) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1650:49: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1657:72: error: 'upper_bound' function uses 'auto' type specifier without trailing return type template <typename R, typename T> auto upper_bound(R &&Range, T &&Value) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1657:72: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1663:49: error: 'upper_bound' function uses 'auto' type specifier without trailing return type auto upper_bound(R &&Range, T &&Value, Compare C) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1663:49: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1682:44: error: 'partition_point' function uses 'auto' type specifier without trailing return type auto partition_point(R &&Range, Predicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1682:44: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1687:35: error: 'unique' function uses 'auto' type specifier without trailing return type auto unique(Range &&R, Predicate P) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1687:35: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1850:69: error: 'operator()' function uses 'auto' type specifier without trailing return type template <typename A, typename B> auto operator()(A &lhs, B &rhs) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1850:69: note: deduced return type only available with -std=c++14 or -std=gnu++14 /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1971:10: error: expected primary-expression before 'auto' decltype(auto) apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1971:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1971:1: error: expected unqualified-id before 'decltype' decltype(auto) apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1981:10: error: expected primary-expression before 'auto' decltype(auto) apply_tuple(F &&f, Tuple &&t) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1981:10: error: expected ')' before 'auto' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1981:1: error: expected unqualified-id before 'decltype' decltype(auto) apply_tuple(F &&f, Tuple &&t) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1998:10: error: 'std::enable_if_t' has not been declared std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1998:21: error: expected ',' or '...' before '<' token std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:1994:6: error: default argument missing for parameter 5 of 'template<class IterTy, class Pred> bool llvm::hasNItems(IterTy&&, IterTy&&, unsigned int, Pred&&, int)' bool hasNItems( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:2023:10: error: 'std::enable_if_t' has not been declared std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:2023:21: error: expected ',' or '...' before '<' token std::enable_if_t< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:2019:6: error: default argument missing for parameter 5 of 'template<class IterTy, class Pred> bool llvm::hasNItemsOrMore(IterTy&&, IterTy&&, unsigned int, Pred&&, int)' bool hasNItemsOrMore( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:2073:50: error: 'to_address' function uses 'auto' type specifier without trailing return type template <class Ptr> auto to_address(const Ptr &P) { return P.operator->(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:2073:50: note: deduced return type only available with -std=c++14 or -std=gnu++14 In file included from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:265:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_same<T, std::string>::value, StringRef> & ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:509:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::numeric_limits<T>::is_signed, bool> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:520:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<!std::numeric_limits<T>::is_signed, bool> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:543:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::numeric_limits<T>::is_signed, bool> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:554:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<!std::numeric_limits<T>::is_signed, bool> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'size_t llvm::StringRef::find_if_not(llvm::function_ref<bool(char)>, size_t) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:353:57: error: no matching function for call to 'llvm::StringRef::find_if(llvm::StringRef::find_if_not(llvm::function_ref<bool(char)>, size_t) const::<lambda(char)>, size_t&) const' return find_if([F](char c) { return !F(c); }, From); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:337:12: note: candidate: size_t llvm::StringRef::find_if(llvm::function_ref<bool(char)>, size_t) const size_t find_if(function_ref<bool(char)> F, size_t From = 0) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:337:12: note: no known conversion for argument 1 from 'llvm::StringRef::find_if_not(llvm::function_ref<bool(char)>, size_t) const::<lambda(char)>' to 'llvm::function_ref<bool(char)>' In file included from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:24:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:195:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<!std::is_same<std::remove_const_t<ItTy>, T *>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:195:23: error: expected '>' before '<' token std::enable_if_t<!std::is_same<std::remove_const_t<ItTy>, T *>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:208:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<!std::is_same<std::remove_const_t<ItTy>, T *>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:208:23: error: expected '>' before '<' token std::enable_if_t<!std::is_same<std::remove_const_t<ItTy>, T *>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: In member function 'bool llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::isReferenceToRange(const void*, const void*, const void*) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:140:15: error: wrong number of template arguments (0, should be 1) std::less<> LessThan; ^ In file included from /usr/include/g++/string:48:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorHandling.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:48, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /usr/include/g++/bits/stl_function.h:382:12: note: provided for 'template<class _Tp> struct std::less' struct less : public binary_function<_Tp, _Tp, bool> ^ In file included from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:24:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:141:30: error: 'LessThan' cannot be used as a function return !LessThan(V, First) && LessThan(V, Last); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:141:51: error: 'LessThan' cannot be used as a function return !LessThan(V, First) && LessThan(V, Last); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: In member function 'bool llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::isRangeInStorage(const void*, const void*) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:153:15: error: wrong number of template arguments (0, should be 1) std::less<> LessThan; ^ In file included from /usr/include/g++/string:48:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorHandling.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:48, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /usr/include/g++/bits/stl_function.h:382:12: note: provided for 'template<class _Tp> struct std::less' struct less : public binary_function<_Tp, _Tp, bool> ^ In file included from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:24:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:154:68: error: 'LessThan' cannot be used as a function return !LessThan(First, this->begin()) && !LessThan(Last, First) && ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:498:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_same<typename std::remove_const<T1>::type, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:498:23: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_same<typename std::remove_const<T1>::type, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:645:29: error: 'enable_if_t' in namespace 'std' does not name a template type typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:645:40: error: expected '>' before '<' token typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:689:29: error: 'enable_if_t' in namespace 'std' does not name a template type typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:689:40: error: expected '>' before '<' token typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:843:29: error: 'enable_if_t' in namespace 'std' does not name a template type typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:843:40: error: expected '>' before '<' token typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: In member function 'llvm::SmallVectorImpl<T>::iterator llvm::SmallVectorImpl<T>::insert_one_impl(llvm::SmallVectorImpl<T>::iterator, ArgType&&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:739:22: error: 'remove_const_t' is not a member of 'std' std::is_same<std::remove_const_t<std::remove_reference_t<ArgType>>, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:739:22: error: 'remove_const_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:739:42: error: 'remove_reference_t' is not a member of 'std' std::is_same<std::remove_const_t<std::remove_reference_t<ArgType>>, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:739:66: error: wrong number of template arguments (1, should be 2) std::is_same<std::remove_const_t<std::remove_reference_t<ArgType>>, ^ In file included from /usr/include/g++/bits/move.h:57:0, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/char_traits.h:39, from /usr/include/g++/string:40, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorHandling.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:48, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /usr/include/g++/type_traits:958:12: note: provided for 'template<class, class> struct std::is_same' struct is_same; ^ In file included from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:24:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:739:75: error: expected primary-expression before ',' token std::is_same<std::remove_const_t<std::remove_reference_t<ArgType>>, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:740:22: error: expected string-literal before 'T' T>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:740:22: error: expected ')' before 'T' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:752:5: error: 'remove_reference_t' is not a member of 'std' std::remove_reference_t<ArgType> *EltPtr = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:752:36: error: expected primary-expression before '>' token std::remove_reference_t<ArgType> *EltPtr = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:752:39: error: 'EltPtr' was not declared in this scope std::remove_reference_t<ArgType> *EltPtr = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1184:29: error: 'enable_if_t' in namespace 'std' does not name a template type typename = std::enable_if_t<std::is_convertible< ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/SmallVector.h:1184:40: error: expected '>' before '<' token typename = std::enable_if_t<std::is_convertible< ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:13:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:21, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:13, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:33, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/raw_ostream.h:404:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<!std::is_reference<OStream>::value && ^ --- generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o --- *** [generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o] Error code 1 make[2]: stopped in /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1 In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:21:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:13, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:33, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h: In member function 'void llvm::detail::provider_format_adapter<T>::format(llvm::raw_ostream&, llvm::StringRef)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:39:21: error: 'decay_t' is not a member of 'std' format_provider<std::decay_t<T>>::format(Item, S, Options); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:39:21: error: 'decay_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:39:34: error: template argument 1 is invalid format_provider<std::decay_t<T>>::format(Item, S, Options); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:39:35: error: expected unqualified-id before '>' token format_provider<std::decay_t<T>>::format(Item, S, Options); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:62:24: error: 'decay_t' in namespace 'std' does not name a template type using Decayed = std::decay_t<T>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:63:42: error: 'Decayed' does not name a type typedef void (*Signature_format)(const Decayed &, llvm::raw_ostream &, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:72:42: error: 'Decayed' was not declared in this scope (sizeof(test<llvm::format_provider<Decayed>>(nullptr)) == 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:72:42: error: template argument 1 is invalid /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:78:32: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] using ConstRefT = const std::decay_t<T> &; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:78:27: error: expected ';' using ConstRefT = const std::decay_t<T> &; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:82:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_same<decltype(std::declval<llvm::raw_ostream &>() ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:82:23: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_same<decltype(std::declval<llvm::raw_ostream &>() ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:89:42: error: 'ConstRefT' was not declared in this scope static bool const value = (sizeof(test<ConstRefT>(nullptr)) == 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:98:43: error: 'remove_reference_t' is not a member of 'std' std::is_base_of<format_adapter, std::remove_reference_t<T>>::value> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:98:43: error: 'remove_reference_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:98:67: error: template argument 2 is invalid std::is_base_of<format_adapter, std::remove_reference_t<T>>::value> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:98:68: error: template argument 2 is invalid std::is_base_of<format_adapter, std::remove_reference_t<T>>::value> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:98:72: error: expected '{' before 'value' std::is_base_of<format_adapter, std::remove_reference_t<T>>::value> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:98:77: error: expected initializer before '>' token std::is_base_of<format_adapter, std::remove_reference_t<T>>::value> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:130:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<uses_format_member<T>::value, T> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:136:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<uses_format_provider<T>::value, provider_format_adapter<T>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:142:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<uses_stream_operator<T>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:155:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<uses_missing_provider<T>::value, missing_format_adapter<T>> ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:13:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:33, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h: In static member function 'static llvm::Optional<long unsigned int> llvm::detail::HelperFunctions::parseNumericPrecision(llvm::StringRef)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:67:39: error: no matching function for call to 'llvm::StringRef::getAsInteger(int, size_t&)' else if (Str.getAsInteger(10, Prec)) { ^ In file included from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:574:10: note: candidate: bool llvm::StringRef::getAsInteger(unsigned int, llvm::APInt&) const bool getAsInteger(unsigned Radix, APInt &Result) const; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:574:10: note: no known conversion for argument 2 from 'size_t {aka long unsigned int}' to 'llvm::APInt&' In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:13:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:33, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h: In static member function 'static size_t llvm::detail::HelperFunctions::consumeNumHexDigits(llvm::StringRef&, llvm::HexPrintStyle, size_t)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:94:9: error: 'class llvm::StringRef' has no member named 'consumeInteger' Str.consumeInteger(10, Default); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:127:8: error: 'enable_if_t' is not a member of 'std' T, std::enable_if_t<detail::use_integral_formatter<T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:127:8: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:127:60: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::format_provider' T, std::enable_if_t<detail::use_integral_formatter<T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:127:60: note: expected a type, got '(<expression error> < llvm::detail::use_integral_formatter<T>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:127:65: error: expected unqualified-id before '>' token T, std::enable_if_t<detail::use_integral_formatter<T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:176:8: error: 'enable_if_t' is not a member of 'std' T, std::enable_if_t<detail::use_pointer_formatter<T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:176:8: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:176:59: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::format_provider' T, std::enable_if_t<detail::use_pointer_formatter<T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:176:59: note: expected a type, got '(<expression error> < llvm::detail::use_pointer_formatter<T>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:176:64: error: expected unqualified-id before '>' token T, std::enable_if_t<detail::use_pointer_formatter<T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:201:8: error: 'enable_if_t' is not a member of 'std' T, std::enable_if_t<detail::use_string_formatter<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:201:8: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:201:58: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::format_provider' T, std::enable_if_t<detail::use_string_formatter<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:201:58: note: expected a type, got '(<expression error> < llvm::detail::use_string_formatter<T>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:201:63: error: expected unqualified-id before '>' token T, std::enable_if_t<detail::use_string_formatter<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h: In static member function 'static void llvm::format_provider<llvm::Twine>::format(const llvm::Twine&, llvm::raw_ostream&, llvm::StringRef)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:219:5: error: 'format' is not a member of 'llvm::format_provider<std::basic_string<char> >' format_provider<std::string>::format(V.str(), Stream, Style); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:234:24: error: 'enable_if_t' is not a member of 'std' std::enable_if_t<detail::use_char_formatter<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:234:24: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:234:72: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::format_provider' std::enable_if_t<detail::use_char_formatter<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:234:72: note: expected a type, got '(<expression error> < llvm::detail::use_char_formatter<T>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:234:77: error: expected unqualified-id before '>' token std::enable_if_t<detail::use_char_formatter<T>::value>> { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:300:24: error: 'enable_if_t' is not a member of 'std' std::enable_if_t<detail::use_double_formatter<T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:300:24: error: 'enable_if_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:300:74: error: type/value mismatch at argument 2 in template parameter list for 'template<class T, class Enable> struct llvm::format_provider' std::enable_if_t<detail::use_double_formatter<T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:300:74: note: expected a type, got '(<expression error> < llvm::detail::use_double_formatter<T>::value)' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:300:79: error: expected unqualified-id before '>' token std::enable_if_t<detail::use_double_formatter<T>::value>> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h: In static member function 'static void llvm::format_provider<llvm::iterator_range<T> >::format(const llvm::iterator_range<T>&, llvm::raw_ostream&, llvm::StringRef)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:407:11: error: 'build_format_adapter' is not a member of 'llvm::detail' detail::build_format_adapter(std::forward<reference>(*Begin)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FormatProviders.h:414:11: error: 'build_format_adapter' is not a member of 'llvm::detail' detail::build_format_adapter(std::forward<reference>(*Begin)); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:33:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:115:16: error: 'conditional_t' in namespace 'std' does not name a template type typedef std::conditional_t<std::chrono::treat_as_floating_point<Rep>::value, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:119:39: error: 'InternalRep' does not name a type template <typename AsPeriod> static InternalRep getAs(const Dur &D) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:124:20: error: 'InternalRep' was not declared in this scope static std::pair<InternalRep, StringRef> consumeUnit(StringRef &Style, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:124:42: error: template argument 1 is invalid static std::pair<InternalRep, StringRef> consumeUnit(StringRef &Style, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h: In static member function 'static int llvm::format_provider<std::chrono::duration<_Rep1, _Period1> >::consumeUnit(llvm::StringRef&, const Dur&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:128:15: error: 'getAs' was not declared in this scope return {getAs<std::nano>(D), "ns"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:128:30: error: expected primary-expression before '>' token return {getAs<std::nano>(D), "ns"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:130:15: error: 'getAs' was not declared in this scope return {getAs<std::micro>(D), "us"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:130:31: error: expected primary-expression before '>' token return {getAs<std::micro>(D), "us"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:132:15: error: 'getAs' was not declared in this scope return {getAs<std::milli>(D), "ms"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:132:31: error: expected primary-expression before '>' token return {getAs<std::milli>(D), "ms"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:134:15: error: 'getAs' was not declared in this scope return {getAs<std::ratio<1>>(D), "s"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:134:33: error: expected primary-expression before '>' token return {getAs<std::ratio<1>>(D), "s"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:136:15: error: 'getAs' was not declared in this scope return {getAs<std::ratio<60>>(D), "m"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:136:34: error: expected primary-expression before '>' token return {getAs<std::ratio<60>>(D), "m"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:138:15: error: 'getAs' was not declared in this scope return {getAs<std::ratio<3600>>(D), "h"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:138:36: error: expected primary-expression before '>' token return {getAs<std::ratio<3600>>(D), "h"}; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h: In static member function 'static void llvm::format_provider<std::chrono::duration<_Rep1, _Period1> >::format(const Dur&, llvm::raw_ostream&, llvm::StringRef)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:155:5: error: 'InternalRep' was not declared in this scope InternalRep count; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:157:25: error: too many arguments to function 'std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {}]' std::tie(count, unit) = consumeUnit(Style, D); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:55:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /usr/include/g++/tuple:1129:5: note: declared here tie(_Elements&... __args) noexcept ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:33:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:160:21: error: the value of 'InternalRep' is not usable in a constant expression format_provider<InternalRep>::format(count, Stream, Style); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:155:5: note: 'InternalRep' was not declared 'constexpr' InternalRep count; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:160:32: error: type/value mismatch at argument 1 in template parameter list for 'template<class T, class Enable> struct llvm::format_provider' format_provider<InternalRep>::format(count, Stream, Style); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:160:32: note: expected a type, got 'InternalRep' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:160:62: error: expression list treated as compound expression in initializer [-fpermissive] format_provider<InternalRep>::format(count, Stream, Style); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Chrono.h:160:62: error: left operand of comma operator cannot resolve address of overloaded function In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/APInt.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/APSInt.h:17, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringExtras.h:16, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:34, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:395:23: error: 'enable_if_t' in namespace 'std' does not name a template type constexpr inline std::enable_if_t<(N < 64), bool> isUInt(uint64_t X) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:400:23: error: 'enable_if_t' in namespace 'std' does not name a template type constexpr inline std::enable_if_t<N >= 64, bool> isUInt(uint64_t) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:405:41: error: expected initializer before '<' token template <> constexpr inline bool isUInt<8>(uint64_t x) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:408:41: error: expected initializer before '<' token template <> constexpr inline bool isUInt<16>(uint64_t x) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:411:41: error: expected initializer before '<' token template <> constexpr inline bool isUInt<32>(uint64_t x) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isShiftedUInt(__uint64_t)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:424:10: error: 'isUInt' was not declared in this scope return isUInt<N + S>(x) && (x % (UINT64_C(1) << S) == 0); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:794:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_unsigned<T>::value, T> AbsoluteDifference(T X, T Y) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:802:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_unsigned<T>::value, T> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:819:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_unsigned<T>::value, T> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:865:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_unsigned<T>::value, T> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:884:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_signed<T>::value, T> AddOverflow(T X, T Y, T &Result) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:910:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_signed<T>::value, T> SubOverflow(T X, T Y, T &Result) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MathExtras.h:936:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_signed<T>::value, T> MulOverflow(T X, T Y, T &Result) { ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringExtras.h:17:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:34, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:127:19: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<U *const *, T const *>::value> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:127:30: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<U *const *, T const *>::value> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:137:14: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<U *const *, T const *>::value> * = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:137:25: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<U *const *, T const *>::value> * = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:145:19: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<U *const *, T const *>::value> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:145:30: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<U *const *, T const *>::value> ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:266:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_same<U, T>::value, ArrayRef<T>> & ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/ArrayRef.h:274:10: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_same<U, T>::value, ArrayRef<T>> & ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:34, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringExtras.h: In constructor 'llvm::hexDigitValue(char)::HexTable::HexTable()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringExtras.h:82:5: error: constexpr constructor does not have empty body } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'unsigned int llvm::hexDigitValue(char)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringExtras.h:84:22: error: call to non-constexpr function 'llvm::hexDigitValue(char)::HexTable::HexTable()' constexpr HexTable Table; ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:22:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:34, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/AlignOf.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/AlignOf.h:28:29: error: 'aligned_union_t' in namespace 'std' does not name a template type using AlignedUnion = std::aligned_union_t<1, T, Ts...>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/AlignOf.h:29:19: error: 'AlignedUnion' was not declared in this scope alignas(alignof(AlignedUnion)) char buffer[sizeof(AlignedUnion)]; ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:26:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:34, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:61:39: error: 'remove_reference_t' is not a member of 'std' using wrap = std::reference_wrapper<std::remove_reference_t<T>>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:61:39: error: 'remove_reference_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:61:63: error: template argument 1 is invalid using wrap = std::reference_wrapper<std::remove_reference_t<T>>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:64:29: error: 'conditional_t' in namespace 'std' does not name a template type using storage_type = std::conditional_t<isRef, wrap, T>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:67:26: error: 'remove_reference_t' in namespace 'std' does not name a template type using reference = std::remove_reference_t<T> &; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:68:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] using const_reference = const std::remove_reference_t<T> &; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:68:33: error: expected ';' using const_reference = const std::remove_reference_t<T> &; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:69:24: error: 'remove_reference_t' in namespace 'std' does not name a template type using pointer = std::remove_reference_t<T> *; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:70:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] using const_pointer = const std::remove_reference_t<T> *; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:70:31: error: expected ';' using const_pointer = const std::remove_reference_t<T> *; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:75:16: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_error_code_enum<E>::value || ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:75:27: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_error_code_enum<E>::value || ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:88:16: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:88:27: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:99:16: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:99:27: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:106:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<!std::is_convertible<OtherT, const T &>::value> * = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:106:23: error: expected ',' or '...' before '<' token std::enable_if_t<!std::is_convertible<OtherT, const T &>::value> * = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:104:12: error: 'template<class T> template<class OtherT> llvm::ErrorOr<T>::ErrorOr(const llvm::ErrorOr<OtherT>&, int)' cannot be overloaded explicit ErrorOr( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:98:3: error: with 'template<class T> template<class OtherT> llvm::ErrorOr<T>::ErrorOr(const llvm::ErrorOr<OtherT>&, int)' ErrorOr(const ErrorOr<OtherT> &Other, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:117:16: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:117:27: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:126:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<!std::is_convertible<OtherT, T>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:126:23: error: expected ',' or '...' before '<' token std::enable_if_t<!std::is_convertible<OtherT, T>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:124:12: error: 'template<class T> template<class OtherT> llvm::ErrorOr<T>::ErrorOr(llvm::ErrorOr<OtherT>&&, int)' cannot be overloaded explicit ErrorOr( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:116:3: error: with 'template<class T> template<class OtherT> llvm::ErrorOr<T>::ErrorOr(llvm::ErrorOr<OtherT>&&, int)' ErrorOr(ErrorOr<OtherT> &&Other, ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:150:3: error: 'reference' does not name a type reference get() { return *getStorage(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:151:3: error: 'const_reference' does not name a type const_reference get() const { return const_cast<ErrorOr<T> *>(this)->get(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:157:3: error: 'pointer' does not name a type pointer operator ->() { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:161:3: error: 'const_pointer' does not name a type const_pointer operator->() const { return toPointer(getStorage()); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:163:3: error: 'reference' does not name a type reference operator *() { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:167:3: error: 'const_reference' does not name a type const_reference operator*() const { return *getStorage(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:224:3: error: 'pointer' does not name a type pointer toPointer(pointer Val) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:228:3: error: 'const_pointer' does not name a type const_pointer toPointer(const_pointer Val) const { return Val; } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:230:3: error: 'pointer' does not name a type pointer toPointer(wrap *Val) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:234:3: error: 'const_pointer' does not name a type const_pointer toPointer(const wrap *Val) const { return &Val->get(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:236:3: error: 'storage_type' does not name a type storage_type *getStorage() { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:241:9: error: 'storage_type' does not name a type const storage_type *getStorage() const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:256:27: error: 'storage_type' was not declared in this scope AlignedCharArrayUnion<storage_type> TStorage; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:256:39: error: template argument 1 is invalid AlignedCharArrayUnion<storage_type> TStorage; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h: In constructor 'llvm::ErrorOr<T>::ErrorOr(OtherT&&, int)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:90:21: error: there are no arguments to 'getStorage' that depend on a template parameter, so a declaration of 'getStorage' must be available [-fpermissive] new (getStorage()) storage_type(std::forward<OtherT>(Val)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:90:24: error: expected type-specifier before 'storage_type' new (getStorage()) storage_type(std::forward<OtherT>(Val)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h: In destructor 'llvm::ErrorOr<T>::~ErrorOr()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:142:18: error: there are no arguments to 'getStorage' that depend on a template parameter, so a declaration of 'getStorage' must be available [-fpermissive] getStorage()->~storage_type(); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h: In member function 'void llvm::ErrorOr<T>::copyConstruct(const llvm::ErrorOr<OtherT>&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:175:23: error: there are no arguments to 'getStorage' that depend on a template parameter, so a declaration of 'getStorage' must be available [-fpermissive] new (getStorage()) storage_type(*Other.getStorage()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:175:26: error: expected type-specifier before 'storage_type' new (getStorage()) storage_type(*Other.getStorage()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h: In member function 'void llvm::ErrorOr<T>::moveConstruct(llvm::ErrorOr<OtherT>&&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:207:23: error: there are no arguments to 'getStorage' that depend on a template parameter, so a declaration of 'getStorage' must be available [-fpermissive] new (getStorage()) storage_type(std::move(*Other.getStorage())); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:207:26: error: expected type-specifier before 'storage_type' new (getStorage()) storage_type(std::move(*Other.getStorage())); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:263:6: error: 'enable_if_t' in namespace 'std' does not name a template type std::enable_if_t<std::is_error_code_enum<E>::value || ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:27:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:34, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Format.h:95:26: error: 'std::index_sequence' has not been declared std::index_sequence<Is...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Format.h:95:40: error: expected ',' or '...' before '<' token std::index_sequence<Is...>) const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Format.h: In member function 'int llvm::format_object<Ts>::snprint(char*, unsigned int) const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Format.h:110:46: error: 'index_sequence_for' is not a member of 'std' return snprint_tuple(Buffer, BufferSize, std::index_sequence_for<Ts...>()); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Format.h:110:72: error: expected primary-expression before '...' token return snprint_tuple(Buffer, BufferSize, std::index_sequence_for<Ts...>()); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:34:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::make_error(ArgTs&& ...)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:337:16: error: 'make_unique' is not a member of 'std' return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:337:15: error: expected primary-expression before '(' token return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:337:16: error: 'make_unique' is not a member of 'std' return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:337:37: error: expected primary-expression before '>' token return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:337:64: error: expected ')' before '...' token return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:337:69: error: expected ')' before ';' token return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:478:39: error: 'remove_reference_t' is not a member of 'std' using wrap = std::reference_wrapper<std::remove_reference_t<T>>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:478:39: error: 'remove_reference_t' is not a member of 'std' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:478:63: error: template argument 1 is invalid using wrap = std::reference_wrapper<std::remove_reference_t<T>>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:483:29: error: 'conditional_t' in namespace 'std' does not name a template type using storage_type = std::conditional_t<isRef, wrap, T>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:487:26: error: 'remove_reference_t' in namespace 'std' does not name a template type using reference = std::remove_reference_t<T> &; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:488:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] using const_reference = const std::remove_reference_t<T> &; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:488:33: error: expected ';' using const_reference = const std::remove_reference_t<T> &; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:489:24: error: 'remove_reference_t' in namespace 'std' does not name a template type using pointer = std::remove_reference_t<T> *; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:490:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] using const_pointer = const std::remove_reference_t<T> *; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:490:31: error: expected ';' using const_pointer = const std::remove_reference_t<T> *; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:514:17: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:514:28: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:533:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:533:23: error: expected ',' or '...' before '<' token std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:542:12: error: 'std::enable_if_t' has not been declared std::enable_if_t<!std::is_convertible<OtherT, T>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:542:23: error: expected ',' or '...' before '<' token std::enable_if_t<!std::is_convertible<OtherT, T>::value> * = nullptr) { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:540:12: error: 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)' cannot be overloaded explicit Expected( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:531:3: error: with 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)' Expected( ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:570:3: error: 'reference' does not name a type reference get() { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:576:3: error: 'const_reference' does not name a type const_reference get() const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:598:3: error: 'pointer' does not name a type pointer operator->() { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:604:3: error: 'const_pointer' does not name a type const_pointer operator->() const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:610:3: error: 'reference' does not name a type reference operator*() { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:616:3: error: 'const_reference' does not name a type const_reference operator*() const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:655:3: error: 'pointer' does not name a type pointer toPointer(pointer Val) { return Val; } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:657:3: error: 'const_pointer' does not name a type const_pointer toPointer(const_pointer Val) const { return Val; } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:659:3: error: 'pointer' does not name a type pointer toPointer(wrap *Val) { return &Val->get(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:661:3: error: 'const_pointer' does not name a type const_pointer toPointer(const wrap *Val) const { return &Val->get(); } ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:663:3: error: 'storage_type' does not name a type storage_type *getStorage() { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:668:9: error: 'storage_type' does not name a type const storage_type *getStorage() const { ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:714:27: error: 'storage_type' was not declared in this scope AlignedCharArrayUnion<storage_type> TStorage; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:714:39: error: template argument 1 is invalid AlignedCharArrayUnion<storage_type> TStorage; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h: In constructor 'llvm::Expected<T>::Expected(OtherT&&, int)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:522:21: error: there are no arguments to 'getStorage' that depend on a template parameter, so a declaration of 'getStorage' must be available [-fpermissive] new (getStorage()) storage_type(std::forward<OtherT>(Val)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:522:24: error: expected type-specifier before 'storage_type' new (getStorage()) storage_type(std::forward<OtherT>(Val)); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h: In destructor 'llvm::Expected<T>::~Expected()': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:556:18: error: there are no arguments to 'getStorage' that depend on a template parameter, so a declaration of 'getStorage' must be available [-fpermissive] getStorage()->~storage_type(); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h: In member function 'void llvm::Expected<T>::moveConstruct(llvm::Expected<OtherT>&&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:640:23: error: there are no arguments to 'getStorage' that depend on a template parameter, so a declaration of 'getStorage' must be available [-fpermissive] new (getStorage()) storage_type(std::move(*Other.getStorage())); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:640:26: error: expected type-specifier before 'storage_type' new (getStorage()) storage_type(std::move(*Other.getStorage())); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h: In instantiation of 'constexpr const T& llvm::optional_detail::OptionalStorage<T, true>::getValue() const & [with T = long unsigned int]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:283:29: required from 'constexpr const T& llvm::Optional<T>::getValue() const & [with T = long unsigned int]' /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:1269:38: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:202:3: error: body of constexpr function 'constexpr const T& llvm::optional_detail::OptionalStorage<T, true>::getValue() const & [with T = long unsigned int]' not a return-statement } ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/MD5.h:32:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:38, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h: At global scope: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:112:30: error: 'make_unsigned_t' in namespace 'std' does not name a template type using make_unsigned_t = std::make_unsigned_t<value_type>; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h: In function 'value_type llvm::support::endian::readAtBitAlignment(const void*, __uint64_t)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:132:5: error: 'make_unsigned_t' was not declared in this scope make_unsigned_t<value_type> lowerVal = val[0] >> startBit; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:132:31: error: expected primary-expression before '>' token make_unsigned_t<value_type> lowerVal = val[0] >> startBit; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:132:33: error: 'lowerVal' was not declared in this scope make_unsigned_t<value_type> lowerVal = val[0] >> startBit; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:134:31: error: expected primary-expression before '>' token make_unsigned_t<value_type> numBitsFirstVal = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:134:33: error: 'numBitsFirstVal' was not declared in this scope make_unsigned_t<value_type> numBitsFirstVal = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:136:45: error: expected primary-expression before '>' token lowerVal &= ((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:136:46: error: expected primary-expression before ')' token lowerVal &= ((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:136:47: error: expected ')' before numeric constant lowerVal &= ((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:139:31: error: expected primary-expression before '>' token make_unsigned_t<value_type> upperVal = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:139:33: error: 'upperVal' was not declared in this scope make_unsigned_t<value_type> upperVal = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:140:47: error: expected primary-expression before '>' token val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:140:48: error: expected primary-expression before ')' token val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:140:49: error: expected ')' before numeric constant val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:140:68: error: expected ')' before ';' token val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h: In function 'void llvm::support::endian::writeAtBitAlignment(void*, value_type, __uint64_t)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:168:17: error: 'make_unsigned_t' was not declared in this scope val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:168:43: error: expected primary-expression before '>' token val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:168:44: error: expected primary-expression before ')' token val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:168:45: error: expected ')' before numeric constant val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:169:31: error: expected primary-expression before '>' token make_unsigned_t<value_type> numBitsFirstVal = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:169:33: error: 'numBitsFirstVal' was not declared in this scope make_unsigned_t<value_type> numBitsFirstVal = ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:171:31: error: expected primary-expression before '>' token make_unsigned_t<value_type> lowerVal = value; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:171:33: error: 'lowerVal' was not declared in this scope make_unsigned_t<value_type> lowerVal = value; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:176:48: error: expected primary-expression before '>' token lowerVal &= (((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:176:49: error: expected primary-expression before ')' token lowerVal &= (((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:176:50: error: expected ')' before numeric constant lowerVal &= (((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:176:76: error: expected ')' before ';' token lowerVal &= (((make_unsigned_t<value_type>)1 << numBitsFirstVal) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:184:45: error: expected primary-expression before '>' token val[1] &= ~(((make_unsigned_t<value_type>)1 << startBit) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:184:46: error: expected primary-expression before ')' token val[1] &= ~(((make_unsigned_t<value_type>)1 << startBit) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:184:47: error: expected ')' before numeric constant val[1] &= ~(((make_unsigned_t<value_type>)1 << startBit) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:184:66: error: expected ')' before ';' token val[1] &= ~(((make_unsigned_t<value_type>)1 << startBit) - 1); ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:186:31: error: expected primary-expression before '>' token make_unsigned_t<value_type> upperVal = value >> numBitsFirstVal; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:186:33: error: 'upperVal' was not declared in this scope make_unsigned_t<value_type> upperVal = value >> numBitsFirstVal; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:188:45: error: expected primary-expression before '>' token upperVal &= ((make_unsigned_t<value_type>)1 << startBit) - 1; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:188:46: error: expected primary-expression before ')' token upperVal &= ((make_unsigned_t<value_type>)1 << startBit) - 1; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Endian.h:188:47: error: expected ')' before numeric constant upperVal &= ((make_unsigned_t<value_type>)1 << startBit) - 1; ^ In file included from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h: In member function 'llvm::sys::fs::file_type llvm::sys::fs::directory_entry::type() const': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:1362:17: error: base operand of '->' has non-pointer type 'llvm::ErrorOr<llvm::sys::fs::basic_file_status>' return S ? S->type() : file_type::type_unknown; ^ /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h: In member function 'llvm::sys::fs::recursive_directory_iterator& llvm::sys::fs::recursive_directory_iterator::increment(std::error_code&)': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:1485:24: error: base operand of '->' has non-pointer type 'llvm::ErrorOr<llvm::sys::fs::basic_file_status>' type = status->type(); ^ /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp: In member function 'std::string ProjectManager::includeRecovery(llvm::StringRef, llvm::StringRef)': /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:97:66: error: no matching function for call to 'std::unordered_multimap<std::basic_string<char>, std::basic_string<char> >::equal_range(llvm::StringRef&)' auto range = includeRecoveryCache.equal_range(includeFileName); ^ In file included from /usr/include/g++/unordered_map:48:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:27, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /usr/include/g++/bits/unordered_map.h:1374:7: note: candidate: std::pair<typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, false> >::iterator, typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, false> >::iterator> std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::equal_range(const key_type&) [with _Key = std::basic_string<char>; _Tp = std::basic_string<char>; _Hash = std::hash<std::basic_string<char> >; _Pred = std::equal_to<std::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> > >; typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, false> >::iterator = std::__detail::_Node_iterator<std::pair<const std::basic_string<char>, std::basic_string<char> >, false, true>; std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::key_type = std::basic_string<char>] equal_range(const key_type& __x) ^ /usr/include/g++/bits/unordered_map.h:1374:7: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const key_type& {aka const std::basic_string<char>&}' /usr/include/g++/bits/unordered_map.h:1378:7: note: candidate: std::pair<typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, false> >::const_iterator, typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, false> >::const_iterator> std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::equal_range(const key_type&) const [with _Key = std::basic_string<char>; _Tp = std::basic_string<char>; _Hash = std::hash<std::basic_string<char> >; _Pred = std::equal_to<std::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> > >; typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, false> >::const_iterator = std::__detail::_Node_const_iterator<std::pair<const std::basic_string<char>, std::basic_string<char> >, false, true>; std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::key_type = std::basic_string<char>] equal_range(const key_type& __x) const ^ /usr/include/g++/bits/unordered_map.h:1378:7: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const key_type& {aka const std::basic_string<char>&}' /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:127:18: error: no match for 'operator=' (operand types are 'std::string {aka std::basic_string<char>}' and 'llvm::StringRef') resolved = candidate; ^ In file included from /usr/include/g++/string:52:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorHandling.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Hashing.h:48, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/Optional.h:18, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/STLExtras.h:19, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.h:24, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:22: /usr/include/g++/bits/basic_string.h:3044:7: note: candidate: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>] operator=(const basic_string& __str) ^ /usr/include/g++/bits/basic_string.h:3044:7: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::basic_string<char>&' /usr/include/g++/bits/basic_string.h:3052:7: note: candidate: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>] operator=(const _CharT* __s) ^ /usr/include/g++/bits/basic_string.h:3052:7: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' /usr/include/g++/bits/basic_string.h:3063:7: note: candidate: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>] operator=(_CharT __c) ^ /usr/include/g++/bits/basic_string.h:3063:7: note: no known conversion for argument 1 from 'llvm::StringRef' to 'char' /usr/include/g++/bits/basic_string.h:3079:7: note: candidate: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(std::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>] operator=(basic_string&& __str) ^ /usr/include/g++/bits/basic_string.h:3079:7: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::basic_string<char>&&' /usr/include/g++/bits/basic_string.h:3091:7: note: candidate: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>] operator=(initializer_list<_CharT> __l) ^ /usr/include/g++/bits/basic_string.h:3091:7: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list<char>' In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:34:0, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h: In instantiation of 'llvm::Expected<T>::~Expected() [with T = int]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:1063:58: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:556:17: error: 'getStorage' was not declared in this scope getStorage()->~storage_type(); ^ In file included from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/Error.h:26:0, from /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:34, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/filesystem.h:26, from /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1/generator/projectmanager.cpp:23: /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h: In instantiation of 'llvm::ErrorOr<T>::~ErrorOr() [with T = llvm::sys::fs::basic_file_status]': /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/FileSystem.h:1361:21: required from here /work/devel/woboq_codebrowser/work/.buildlink/include/llvm/Support/ErrorOr.h:142:17: error: 'getStorage' was not declared in this scope getStorage()->~storage_type(); ^ --- generator/CMakeFiles/codebrowser_generator.dir/projectmanager.cpp.o --- *** [generator/CMakeFiles/codebrowser_generator.dir/projectmanager.cpp.o] Error code 1 make[2]: stopped in /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1 2 errors make[2]: stopped in /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1 --- generator/CMakeFiles/codebrowser_generator.dir/all --- *** [generator/CMakeFiles/codebrowser_generator.dir/all] Error code 2 make[1]: stopped in /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1 1 error make[1]: stopped in /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1 *** [all] Error code 2 make: stopped in /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1 1 error make: stopped in /work/devel/woboq_codebrowser/work/woboq_codebrowser-2.1 *** Error code 2 Stop. make[1]: stopped in /tree/pkgsrc/devel/woboq_codebrowser *** Error code 1 Stop. make: stopped in /tree/pkgsrc/devel/woboq_codebrowser