hokein updated this revision to Diff 240520. hokein added a comment. refine the code to avoid confusion.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D73451/new/ https://reviews.llvm.org/D73451 Files: clang-tools-extra/clangd/CSymbolMap.inc clang-tools-extra/clangd/StdSymbolMap.inc clang-tools-extra/clangd/include-mapping/cppreference_parser.py
Index: clang-tools-extra/clangd/include-mapping/cppreference_parser.py =================================================================== --- clang-tools-extra/clangd/include-mapping/cppreference_parser.py +++ clang-tools-extra/clangd/include-mapping/cppreference_parser.py @@ -138,8 +138,10 @@ if variant: continue path = os.path.join(root_dir, symbol_page_path) - results.append((symbol_name, - pool.apply_async(_ReadSymbolPage, (path, symbol_name)))) + # We might encounter inavlid links from cppreference page, ignore them + if os.path.isfile(path): + results.append((symbol_name, + pool.apply_async(_ReadSymbolPage, (path, symbol_name)))) # Build map from symbol name to a set of headers. symbol_headers = collections.defaultdict(set) Index: clang-tools-extra/clangd/StdSymbolMap.inc =================================================================== --- clang-tools-extra/clangd/StdSymbolMap.inc +++ clang-tools-extra/clangd/StdSymbolMap.inc @@ -5,7 +5,7 @@ // // Automatically generated file, DO NOT EDIT! // -// Generated from cppreference offline HTML book (modified on 2018-10-28). +// Generated from cppreference offline HTML book (modified on 2019-06-07). //===----------------------------------------------------------------------===// SYMBOL(Assignable, std::, <concepts>) @@ -43,7 +43,11 @@ SYMBOL(_Exit, std::, <cstdlib>) SYMBOL(accumulate, std::, <numeric>) SYMBOL(acos, std::, <cmath>) +SYMBOL(acosf, std::, <cmath>) SYMBOL(acosh, std::, <cmath>) +SYMBOL(acoshf, std::, <cmath>) +SYMBOL(acoshl, std::, <cmath>) +SYMBOL(acosl, std::, <cmath>) SYMBOL(add_const, std::, <type_traits>) SYMBOL(add_const_t, std::, <type_traits>) SYMBOL(add_cv, std::, <type_traits>) @@ -73,6 +77,7 @@ SYMBOL(alignment_of_v, std::, <type_traits>) SYMBOL(all_of, std::, <algorithm>) SYMBOL(allocate_shared, std::, <memory>) +SYMBOL(allocate_shared_default_init, std::, <memory>) SYMBOL(allocator, std::, <memory>) SYMBOL(allocator_arg, std::, <memory>) SYMBOL(allocator_arg_t, std::, <memory>) @@ -85,12 +90,23 @@ SYMBOL(as_const, std::, <utility>) SYMBOL(asctime, std::, <ctime>) SYMBOL(asin, std::, <cmath>) +SYMBOL(asinf, std::, <cmath>) SYMBOL(asinh, std::, <cmath>) +SYMBOL(asinhf, std::, <cmath>) +SYMBOL(asinhl, std::, <cmath>) +SYMBOL(asinl, std::, <cmath>) +SYMBOL(assume_aligned, std::, <memory>) SYMBOL(async, std::, <future>) SYMBOL(at_quick_exit, std::, <cstdlib>) SYMBOL(atan, std::, <cmath>) SYMBOL(atan2, std::, <cmath>) +SYMBOL(atan2f, std::, <cmath>) +SYMBOL(atan2l, std::, <cmath>) +SYMBOL(atanf, std::, <cmath>) SYMBOL(atanh, std::, <cmath>) +SYMBOL(atanhf, std::, <cmath>) +SYMBOL(atanhl, std::, <cmath>) +SYMBOL(atanl, std::, <cmath>) SYMBOL(atexit, std::, <cstdlib>) SYMBOL(atof, std::, <cstdlib>) SYMBOL(atoi, std::, <cstdlib>) @@ -127,7 +143,6 @@ SYMBOL(atomic_store_explicit, std::, <atomic>) SYMBOL(atomic_thread_fence, std::, <atomic>) SYMBOL(atto, std::, <ratio>) -SYMBOL(auto_ptr, std::, <memory>) SYMBOL(back_insert_iterator, std::, <iterator>) SYMBOL(back_inserter, std::, <iterator>) SYMBOL(bad_alloc, std::, <new>) @@ -164,6 +179,7 @@ SYMBOL(bidirectional_iterator_tag, std::, <iterator>) SYMBOL(binary_search, std::, <algorithm>) SYMBOL(bind, std::, <functional>) +SYMBOL(bind_front, std::, <functional>) SYMBOL(binomial_distribution, std::, <random>) SYMBOL(bit_and, std::, <functional>) SYMBOL(bit_cast, std::, <bit>) @@ -180,13 +196,18 @@ SYMBOL(byte, std::, <cstddef>) SYMBOL(c16rtomb, std::, <cuchar>) SYMBOL(c32rtomb, std::, <cuchar>) +SYMBOL(c8rtomb, std::, <cuchar>) SYMBOL(call_once, std::, <mutex>) SYMBOL(calloc, std::, <cstdlib>) SYMBOL(cauchy_distribution, std::, <random>) SYMBOL(cbegin, std::, <iterator>) SYMBOL(cbrt, std::, <cmath>) +SYMBOL(cbrtf, std::, <cmath>) +SYMBOL(cbrtl, std::, <cmath>) SYMBOL(ceil, std::, <cmath>) SYMBOL(ceil2, std::, <bit>) +SYMBOL(ceilf, std::, <cmath>) +SYMBOL(ceill, std::, <cmath>) SYMBOL(cend, std::, <iterator>) SYMBOL(centi, std::, <ratio>) SYMBOL(cerr, std::, <iostream>) @@ -225,14 +246,21 @@ SYMBOL(conjunction, std::, <type_traits>) SYMBOL(conjunction_v, std::, <type_traits>) SYMBOL(const_pointer_cast, std::, <memory>) +SYMBOL(contiguous_iterator_tag, std::, <iterator>) SYMBOL(contract_violation, std::, <contract>) SYMBOL(copy, std::, <algorithm>) SYMBOL(copy_backward, std::, <algorithm>) SYMBOL(copy_if, std::, <algorithm>) SYMBOL(copy_n, std::, <algorithm>) SYMBOL(copysign, std::, <cmath>) +SYMBOL(copysignf, std::, <cmath>) +SYMBOL(copysignl, std::, <cmath>) SYMBOL(cos, std::, <cmath>) +SYMBOL(cosf, std::, <cmath>) SYMBOL(cosh, std::, <cmath>) +SYMBOL(coshf, std::, <cmath>) +SYMBOL(coshl, std::, <cmath>) +SYMBOL(cosl, std::, <cmath>) SYMBOL(count, std::, <algorithm>) SYMBOL(count_if, std::, <algorithm>) SYMBOL(cout, std::, <iostream>) @@ -296,8 +324,14 @@ SYMBOL(equal, std::, <algorithm>) SYMBOL(equal_range, std::, <algorithm>) SYMBOL(equal_to, std::, <functional>) +SYMBOL(erase, std::, <vector>) +SYMBOL(erase_if, std::, <vector>) SYMBOL(erf, std::, <cmath>) SYMBOL(erfc, std::, <cmath>) +SYMBOL(erfcf, std::, <cmath>) +SYMBOL(erfcl, std::, <cmath>) +SYMBOL(erff, std::, <cmath>) +SYMBOL(erfl, std::, <cmath>) SYMBOL(errc, std::, <system_error>) SYMBOL(error_category, std::, <system_error>) SYMBOL(error_code, std::, <system_error>) @@ -310,14 +344,25 @@ SYMBOL(exit, std::, <cstdlib>) SYMBOL(exp, std::, <cmath>) SYMBOL(exp2, std::, <cmath>) +SYMBOL(exp2f, std::, <cmath>) +SYMBOL(exp2l, std::, <cmath>) +SYMBOL(expf, std::, <cmath>) +SYMBOL(expl, std::, <cmath>) SYMBOL(expm1, std::, <cmath>) +SYMBOL(expm1f, std::, <cmath>) +SYMBOL(expm1l, std::, <cmath>) SYMBOL(exponential_distribution, std::, <random>) SYMBOL(extent, std::, <type_traits>) SYMBOL(extent_v, std::, <type_traits>) SYMBOL(extreme_value_distribution, std::, <random>) +SYMBOL(fabs, std::, <cmath>) +SYMBOL(fabsf, std::, <cmath>) +SYMBOL(fabsl, std::, <cmath>) SYMBOL(false_type, std::, <type_traits>) SYMBOL(fclose, std::, <cstdio>) SYMBOL(fdim, std::, <cmath>) +SYMBOL(fdimf, std::, <cmath>) +SYMBOL(fdiml, std::, <cmath>) SYMBOL(feclearexcept, std::, <cfenv>) SYMBOL(fegetenv, std::, <cfenv>) SYMBOL(fegetexceptflag, std::, <cfenv>) @@ -355,12 +400,22 @@ SYMBOL(float_t, std::, <cmath>) SYMBOL(floor, std::, <cmath>) SYMBOL(floor2, std::, <bit>) +SYMBOL(floorf, std::, <cmath>) +SYMBOL(floorl, std::, <cmath>) SYMBOL(flush, std::, <ostream>) SYMBOL(flush_emit, std::, <ostream>) SYMBOL(fma, std::, <cmath>) +SYMBOL(fmaf, std::, <cmath>) +SYMBOL(fmal, std::, <cmath>) SYMBOL(fmax, std::, <cmath>) +SYMBOL(fmaxf, std::, <cmath>) +SYMBOL(fmaxl, std::, <cmath>) SYMBOL(fmin, std::, <cmath>) +SYMBOL(fminf, std::, <cmath>) +SYMBOL(fminl, std::, <cmath>) SYMBOL(fmod, std::, <cmath>) +SYMBOL(fmodf, std::, <cmath>) +SYMBOL(fmodl, std::, <cmath>) SYMBOL(fopen, std::, <cstdio>) SYMBOL(for_each, std::, <algorithm>) SYMBOL(for_each_n, std::, <algorithm>) @@ -380,6 +435,8 @@ SYMBOL(free, std::, <cstdlib>) SYMBOL(freopen, std::, <cstdio>) SYMBOL(frexp, std::, <cmath>) +SYMBOL(frexpf, std::, <cmath>) +SYMBOL(frexpl, std::, <cmath>) SYMBOL(from_chars, std::, <charconv>) SYMBOL(front_insert_iterator, std::, <iterator>) SYMBOL(front_inserter, std::, <iterator>) @@ -414,7 +471,6 @@ SYMBOL(getc, std::, <cstdio>) SYMBOL(getchar, std::, <cstdio>) SYMBOL(getenv, std::, <cstdlib>) -SYMBOL(gets, std::, <cstdio>) SYMBOL(getwc, std::, <cwchar>) SYMBOL(getwchar, std::, <cwchar>) SYMBOL(giga, std::, <ratio>) @@ -436,10 +492,14 @@ SYMBOL(hexfloat, std::, <ios>) SYMBOL(holds_alternative, std::, <variant>) SYMBOL(hypot, std::, <cmath>) +SYMBOL(hypotf, std::, <cmath>) +SYMBOL(hypotl, std::, <cmath>) SYMBOL(identity, std::, <functional>) SYMBOL(ifstream, std::, <fstream>) SYMBOL(ignore, std::, <tuple>) SYMBOL(ilogb, std::, <cmath>) +SYMBOL(ilogbf, std::, <cmath>) +SYMBOL(ilogbl, std::, <cmath>) SYMBOL(imag, std::, <complex>) SYMBOL(imaxabs, std::, <cinttypes>) SYMBOL(imaxdiv, std::, <cinttypes>) @@ -452,6 +512,7 @@ SYMBOL(in_place_type_t, std::, <utility>) SYMBOL(includes, std::, <algorithm>) SYMBOL(inclusive_scan, std::, <numeric>) +SYMBOL(incrementable_traits, std::, <iterator>) SYMBOL(independent_bits_engine, std::, <random>) SYMBOL(indirect_array, std::, <valarray>) SYMBOL(initializer_list, std::, <initializer_list>) @@ -501,12 +562,15 @@ SYMBOL(is_base_of_v, std::, <type_traits>) SYMBOL(is_bind_expression, std::, <functional>) SYMBOL(is_bind_expression_v, std::, <functional>) +SYMBOL(is_bounded_array, std::, <type_traits>) +SYMBOL(is_bounded_array_v, std::, <type_traits>) SYMBOL(is_class, std::, <type_traits>) SYMBOL(is_class_v, std::, <type_traits>) SYMBOL(is_compound, std::, <type_traits>) SYMBOL(is_compound_v, std::, <type_traits>) SYMBOL(is_const, std::, <type_traits>) SYMBOL(is_const_v, std::, <type_traits>) +SYMBOL(is_constant_evaluated, std::, <type_traits>) SYMBOL(is_constructible, std::, <type_traits>) SYMBOL(is_constructible_v, std::, <type_traits>) SYMBOL(is_convertible, std::, <type_traits>) @@ -566,6 +630,8 @@ SYMBOL(is_nothrow_assignable_v, std::, <type_traits>) SYMBOL(is_nothrow_constructible, std::, <type_traits>) SYMBOL(is_nothrow_constructible_v, std::, <type_traits>) +SYMBOL(is_nothrow_convertible, std::, <type_traits>) +SYMBOL(is_nothrow_convertible_v, std::, <type_traits>) SYMBOL(is_nothrow_copy_assignable, std::, <type_traits>) SYMBOL(is_nothrow_copy_assignable_v, std::, <type_traits>) SYMBOL(is_nothrow_copy_constructible, std::, <type_traits>) @@ -638,6 +704,8 @@ SYMBOL(is_trivially_move_assignable_v, std::, <type_traits>) SYMBOL(is_trivially_move_constructible, std::, <type_traits>) SYMBOL(is_trivially_move_constructible_v, std::, <type_traits>) +SYMBOL(is_unbounded_array, std::, <type_traits>) +SYMBOL(is_unbounded_array_v, std::, <type_traits>) SYMBOL(is_union, std::, <type_traits>) SYMBOL(is_union_v, std::, <type_traits>) SYMBOL(is_unsigned, std::, <type_traits>) @@ -670,6 +738,7 @@ SYMBOL(istream_iterator, std::, <iterator>) SYMBOL(istreambuf_iterator, std::, <iterator>) SYMBOL(istringstream, std::, <sstream>) +SYMBOL(istrstream, std::, <strstream>) SYMBOL(isunordered, std::, <cmath>) SYMBOL(isupper, std::, <cctype>) SYMBOL(iswalnum, std::, <cwctype>) @@ -686,7 +755,12 @@ SYMBOL(iswupper, std::, <cwctype>) SYMBOL(iswxdigit, std::, <cwctype>) SYMBOL(isxdigit, std::, <cctype>) +SYMBOL(iter_common_reference_t, std::, <iterator>) +SYMBOL(iter_difference_t, std::, <iterator>) +SYMBOL(iter_reference_t, std::, <iterator>) +SYMBOL(iter_rvalue_reference_t, std::, <iterator>) SYMBOL(iter_swap, std::, <algorithm>) +SYMBOL(iter_value_t, std::, <iterator>) SYMBOL(iterator, std::, <iterator>) SYMBOL(iterator_traits, std::, <iterator>) SYMBOL(jmp_buf, std::, <csetjmp>) @@ -699,22 +773,31 @@ SYMBOL(lcm, std::, <numeric>) SYMBOL(lconv, std::, <clocale>) SYMBOL(ldexp, std::, <cmath>) +SYMBOL(ldexpf, std::, <cmath>) +SYMBOL(ldexpl, std::, <cmath>) SYMBOL(ldiv, std::, <cstdlib>) SYMBOL(ldiv_t, std::, <cstdlib>) SYMBOL(left, std::, <ios>) SYMBOL(length_error, std::, <stdexcept>) +SYMBOL(lerp, std::, <cmath>) SYMBOL(less, std::, <functional>) SYMBOL(less_equal, std::, <functional>) SYMBOL(lexicographical_compare, std::, <algorithm>) SYMBOL(lexicographical_compare_3way, std::, <algorithm>) SYMBOL(lgamma, std::, <cmath>) +SYMBOL(lgammaf, std::, <cmath>) +SYMBOL(lgammal, std::, <cmath>) SYMBOL(linear_congruential_engine, std::, <random>) SYMBOL(list, std::, <list>) SYMBOL(llabs, std::, <cstdlib>) SYMBOL(lldiv, std::, <cstdlib>) SYMBOL(lldiv_t, std::, <cstdlib>) SYMBOL(llrint, std::, <cmath>) +SYMBOL(llrintf, std::, <cmath>) +SYMBOL(llrintl, std::, <cmath>) SYMBOL(llround, std::, <cmath>) +SYMBOL(llroundf, std::, <cmath>) +SYMBOL(llroundl, std::, <cmath>) SYMBOL(locale, std::, <locale>) SYMBOL(localeconv, std::, <clocale>) SYMBOL(localtime, std::, <ctime>) @@ -722,31 +805,48 @@ SYMBOL(lock_guard, std::, <mutex>) SYMBOL(log, std::, <cmath>) SYMBOL(log10, std::, <cmath>) +SYMBOL(log10f, std::, <cmath>) +SYMBOL(log10l, std::, <cmath>) SYMBOL(log1p, std::, <cmath>) +SYMBOL(log1pf, std::, <cmath>) +SYMBOL(log1pl, std::, <cmath>) SYMBOL(log2, std::, <cmath>) +SYMBOL(log2f, std::, <cmath>) +SYMBOL(log2l, std::, <cmath>) SYMBOL(log2p1, std::, <bit>) SYMBOL(logb, std::, <cmath>) +SYMBOL(logbf, std::, <cmath>) +SYMBOL(logbl, std::, <cmath>) +SYMBOL(logf, std::, <cmath>) SYMBOL(logic_error, std::, <stdexcept>) SYMBOL(logical_and, std::, <functional>) SYMBOL(logical_not, std::, <functional>) SYMBOL(logical_or, std::, <functional>) +SYMBOL(logl, std::, <cmath>) SYMBOL(lognormal_distribution, std::, <random>) SYMBOL(longjmp, std::, <csetjmp>) SYMBOL(lower_bound, std::, <algorithm>) SYMBOL(lrint, std::, <cmath>) +SYMBOL(lrintf, std::, <cmath>) +SYMBOL(lrintl, std::, <cmath>) SYMBOL(lround, std::, <cmath>) +SYMBOL(lroundf, std::, <cmath>) +SYMBOL(lroundl, std::, <cmath>) SYMBOL(make_exception_ptr, std::, <exception>) SYMBOL(make_from_tuple, std::, <tuple>) SYMBOL(make_heap, std::, <algorithm>) SYMBOL(make_move_iterator, std::, <iterator>) +SYMBOL(make_obj_using_allocator, std::, <memory>) SYMBOL(make_optional, std::, <optional>) SYMBOL(make_pair, std::, <utility>) SYMBOL(make_reverse_iterator, std::, <iterator>) SYMBOL(make_shared, std::, <memory>) +SYMBOL(make_shared_default_init, std::, <memory>) SYMBOL(make_signed, std::, <type_traits>) SYMBOL(make_signed_t, std::, <type_traits>) SYMBOL(make_tuple, std::, <tuple>) SYMBOL(make_unique, std::, <memory>) +SYMBOL(make_unique_default_init, std::, <memory>) SYMBOL(make_unsigned, std::, <type_traits>) SYMBOL(make_unsigned_t, std::, <type_traits>) SYMBOL(malloc, std::, <cstdlib>) @@ -760,6 +860,7 @@ SYMBOL(mbrlen, std::, <cwchar>) SYMBOL(mbrtoc16, std::, <cuchar>) SYMBOL(mbrtoc32, std::, <cuchar>) +SYMBOL(mbrtoc8, std::, <cuchar>) SYMBOL(mbrtowc, std::, <cwchar>) SYMBOL(mbsinit, std::, <cwchar>) SYMBOL(mbsrtowcs, std::, <cwchar>) @@ -785,6 +886,7 @@ SYMBOL(messages_base, std::, <locale>) SYMBOL(messages_byname, std::, <locale>) SYMBOL(micro, std::, <ratio>) +SYMBOL(midpoint, std::, <numeric>) SYMBOL(milli, std::, <ratio>) SYMBOL(min, std::, <algorithm>) SYMBOL(min_element, std::, <algorithm>) @@ -796,6 +898,8 @@ SYMBOL(mismatch, std::, <algorithm>) SYMBOL(mktime, std::, <ctime>) SYMBOL(modf, std::, <cmath>) +SYMBOL(modff, std::, <cmath>) +SYMBOL(modfl, std::, <cmath>) SYMBOL(modulus, std::, <functional>) SYMBOL(money_base, std::, <locale>) SYMBOL(money_get, std::, <locale>) @@ -817,6 +921,8 @@ SYMBOL(nanl, std::, <cmath>) SYMBOL(nano, std::, <ratio>) SYMBOL(nearbyint, std::, <cmath>) +SYMBOL(nearbyintf, std::, <cmath>) +SYMBOL(nearbyintl, std::, <cmath>) SYMBOL(negate, std::, <functional>) SYMBOL(negation, std::, <type_traits>) SYMBOL(negation_v, std::, <type_traits>) @@ -826,7 +932,11 @@ SYMBOL(next, std::, <iterator>) SYMBOL(next_permutation, std::, <algorithm>) SYMBOL(nextafter, std::, <cmath>) +SYMBOL(nextafterf, std::, <cmath>) +SYMBOL(nextafterl, std::, <cmath>) SYMBOL(nexttoward, std::, <cmath>) +SYMBOL(nexttowardf, std::, <cmath>) +SYMBOL(nexttowardl, std::, <cmath>) SYMBOL(no_emit_on_flush, std::, <ostream>) SYMBOL(noboolalpha, std::, <ios>) SYMBOL(none_of, std::, <algorithm>) @@ -860,6 +970,7 @@ SYMBOL(ostream_iterator, std::, <iterator>) SYMBOL(ostreambuf_iterator, std::, <iterator>) SYMBOL(ostringstream, std::, <sstream>) +SYMBOL(ostrstream, std::, <strstream>) SYMBOL(osyncstream, std::, <syncstream>) SYMBOL(out_of_range, std::, <stdexcept>) SYMBOL(output_iterator_tag, std::, <iterator>) @@ -886,9 +997,10 @@ SYMBOL(pointer_traits, std::, <memory>) SYMBOL(poisson_distribution, std::, <random>) SYMBOL(polar, std::, <complex>) -SYMBOL(polymorphic_allocator, std::, <memory_resource>) SYMBOL(pop_heap, std::, <algorithm>) SYMBOL(pow, std::, <cmath>) +SYMBOL(powf, std::, <cmath>) +SYMBOL(powl, std::, <cmath>) SYMBOL(prev, std::, <iterator>) SYMBOL(prev_permutation, std::, <algorithm>) SYMBOL(printf, std::, <cstdio>) @@ -912,7 +1024,6 @@ SYMBOL(rand, std::, <cstdlib>) SYMBOL(random_access_iterator_tag, std::, <iterator>) SYMBOL(random_device, std::, <random>) -SYMBOL(random_shuffle, std::, <algorithm>) SYMBOL(range_error, std::, <stdexcept>) SYMBOL(rank, std::, <type_traits>) SYMBOL(rank_v, std::, <type_traits>) @@ -938,6 +1049,7 @@ SYMBOL(ratio_not_equal_v, std::, <ratio>) SYMBOL(ratio_subtract, std::, <ratio>) SYMBOL(rbegin, std::, <iterator>) +SYMBOL(readable_traits, std::, <iterator>) SYMBOL(real, std::, <complex>) SYMBOL(realloc, std::, <cstdlib>) SYMBOL(recursive_mutex, std::, <mutex>) @@ -955,6 +1067,8 @@ SYMBOL(regex_traits, std::, <regex>) SYMBOL(reinterpret_pointer_cast, std::, <memory>) SYMBOL(remainder, std::, <cmath>) +SYMBOL(remainderf, std::, <cmath>) +SYMBOL(remainderl, std::, <cmath>) SYMBOL(remove, std::, <cstdio>) SYMBOL(remove_all_extents, std::, <type_traits>) SYMBOL(remove_all_extents_t, std::, <type_traits>) @@ -975,6 +1089,8 @@ SYMBOL(remove_volatile, std::, <type_traits>) SYMBOL(remove_volatile_t, std::, <type_traits>) SYMBOL(remquo, std::, <cmath>) +SYMBOL(remquof, std::, <cmath>) +SYMBOL(remquol, std::, <cmath>) SYMBOL(rename, std::, <cstdio>) SYMBOL(rend, std::, <iterator>) SYMBOL(replace, std::, <algorithm>) @@ -982,8 +1098,6 @@ SYMBOL(replace_copy_if, std::, <algorithm>) SYMBOL(replace_if, std::, <algorithm>) SYMBOL(resetiosflags, std::, <iomanip>) -SYMBOL(result_of, std::, <type_traits>) -SYMBOL(result_of_t, std::, <type_traits>) SYMBOL(rethrow_exception, std::, <exception>) SYMBOL(rethrow_if_nested, std::, <exception>) SYMBOL(reverse, std::, <algorithm>) @@ -992,6 +1106,8 @@ SYMBOL(rewind, std::, <cstdio>) SYMBOL(right, std::, <ios>) SYMBOL(rint, std::, <cmath>) +SYMBOL(rintf, std::, <cmath>) +SYMBOL(rintl, std::, <cmath>) SYMBOL(rotate, std::, <algorithm>) SYMBOL(rotate_copy, std::, <algorithm>) SYMBOL(round, std::, <cmath>) @@ -1000,10 +1116,16 @@ SYMBOL(round_toward_infinity, std::, <limits>) SYMBOL(round_toward_neg_infinity, std::, <limits>) SYMBOL(round_toward_zero, std::, <limits>) +SYMBOL(roundf, std::, <cmath>) +SYMBOL(roundl, std::, <cmath>) SYMBOL(runtime_error, std::, <stdexcept>) SYMBOL(sample, std::, <algorithm>) SYMBOL(scalbln, std::, <cmath>) +SYMBOL(scalblnf, std::, <cmath>) +SYMBOL(scalblnl, std::, <cmath>) SYMBOL(scalbn, std::, <cmath>) +SYMBOL(scalbnf, std::, <cmath>) +SYMBOL(scalbnl, std::, <cmath>) SYMBOL(scanf, std::, <cstdio>) SYMBOL(scientific, std::, <ios>) SYMBOL(scoped_allocator_adaptor, std::, <scoped_allocator>) @@ -1041,7 +1163,11 @@ SYMBOL(signal, std::, <csignal>) SYMBOL(signbit, std::, <cmath>) SYMBOL(sin, std::, <cmath>) +SYMBOL(sinf, std::, <cmath>) SYMBOL(sinh, std::, <cmath>) +SYMBOL(sinhf, std::, <cmath>) +SYMBOL(sinhl, std::, <cmath>) +SYMBOL(sinl, std::, <cmath>) SYMBOL(size, std::, <iterator>) SYMBOL(skipws, std::, <ios>) SYMBOL(slice, std::, <valarray>) @@ -1053,10 +1179,13 @@ SYMBOL(span, std::, <span>) SYMBOL(sprintf, std::, <cstdio>) SYMBOL(sqrt, std::, <cmath>) +SYMBOL(sqrtf, std::, <cmath>) +SYMBOL(sqrtl, std::, <cmath>) SYMBOL(srand, std::, <cstdlib>) SYMBOL(sregex_iterator, std::, <regex>) SYMBOL(sregex_token_iterator, std::, <regex>) SYMBOL(sscanf, std::, <cstdio>) +SYMBOL(ssize, std::, <iterator>) SYMBOL(ssub_match, std::, <regex>) SYMBOL(stable_partition, std::, <algorithm>) SYMBOL(stable_sort, std::, <algorithm>) @@ -1090,6 +1219,8 @@ SYMBOL(strrchr, std::, <cstring>) SYMBOL(strspn, std::, <cstring>) SYMBOL(strstr, std::, <cstring>) +SYMBOL(strstream, std::, <strstream>) +SYMBOL(strstreambuf, std::, <strstream>) SYMBOL(strtod, std::, <cstdlib>) SYMBOL(strtof, std::, <cstdlib>) SYMBOL(strtoimax, std::, <cinttypes>) @@ -1112,11 +1243,17 @@ SYMBOL(system_category, std::, <system_error>) SYMBOL(system_error, std::, <system_error>) SYMBOL(tan, std::, <cmath>) +SYMBOL(tanf, std::, <cmath>) SYMBOL(tanh, std::, <cmath>) +SYMBOL(tanhf, std::, <cmath>) +SYMBOL(tanhl, std::, <cmath>) +SYMBOL(tanl, std::, <cmath>) SYMBOL(tera, std::, <ratio>) SYMBOL(terminate, std::, <exception>) SYMBOL(terminate_handler, std::, <exception>) SYMBOL(tgamma, std::, <cmath>) +SYMBOL(tgammaf, std::, <cmath>) +SYMBOL(tgammal, std::, <cmath>) SYMBOL(thread, std::, <thread>) SYMBOL(throw_with_nested, std::, <exception>) SYMBOL(tie, std::, <tuple>) @@ -1148,6 +1285,8 @@ SYMBOL(transform_reduce, std::, <numeric>) SYMBOL(true_type, std::, <type_traits>) SYMBOL(trunc, std::, <cmath>) +SYMBOL(truncf, std::, <cmath>) +SYMBOL(truncl, std::, <cmath>) SYMBOL(try_lock, std::, <mutex>) SYMBOL(try_to_lock, std::, <mutex>) SYMBOL(try_to_lock_t, std::, <mutex>) @@ -1163,6 +1302,9 @@ SYMBOL(u32streampos, std::, <ios>) SYMBOL(u32string, std::, <string>) SYMBOL(u32string_view, std::, <string_view>) +SYMBOL(u8streampos, std::, <ios>) +SYMBOL(u8string, std::, <string>) +SYMBOL(u8string_view, std::, <string_view>) SYMBOL(uint16_t, std::, <cstdint>) SYMBOL(uint32_t, std::, <cstdint>) SYMBOL(uint64_t, std::, <cstdint>) @@ -1187,6 +1329,7 @@ SYMBOL(ungetwc, std::, <cwchar>) SYMBOL(uniform_int_distribution, std::, <random>) SYMBOL(uniform_real_distribution, std::, <random>) +SYMBOL(uninitialized_construct_using_allocator, std::, <memory>) SYMBOL(uninitialized_copy, std::, <memory>) SYMBOL(uninitialized_copy_n, std::, <memory>) SYMBOL(uninitialized_default_construct, std::, <memory>) @@ -1210,6 +1353,7 @@ SYMBOL(uppercase, std::, <ios>) SYMBOL(use_facet, std::, <locale>) SYMBOL(uses_allocator, std::, <memory>) +SYMBOL(uses_allocator_construction_args, std::, <memory>) SYMBOL(uses_allocator_v, std::, <memory>) SYMBOL(va_list, std::, <cstdarg>) SYMBOL(valarray, std::, <valarray>) @@ -1477,7 +1621,6 @@ SYMBOL(multiset, std::pmr::, <set>) SYMBOL(new_delete_resource, std::pmr::, <memory_resource>) SYMBOL(null_memory_resource, std::pmr::, <memory_resource>) -SYMBOL(polymorphic_allocator, std::pmr::, <memory_resource>) SYMBOL(pool_options, std::pmr::, <memory_resource>) SYMBOL(set, std::pmr::, <set>) SYMBOL(set_default_resource, std::pmr::, <memory_resource>) @@ -1485,6 +1628,7 @@ SYMBOL(synchronized_pool_resource, std::pmr::, <memory_resource>) SYMBOL(u16string, std::pmr::, <string>) SYMBOL(u32string, std::pmr::, <string>) +SYMBOL(u8string, std::pmr::, <string>) SYMBOL(unordered_map, std::pmr::, <unordered_map>) SYMBOL(unordered_multimap, std::pmr::, <unordered_map>) SYMBOL(unordered_multiset, std::pmr::, <unordered_set>) Index: clang-tools-extra/clangd/CSymbolMap.inc =================================================================== --- clang-tools-extra/clangd/CSymbolMap.inc +++ clang-tools-extra/clangd/CSymbolMap.inc @@ -5,7 +5,7 @@ // // Automatically generated file, DO NOT EDIT! // -// Generated from cppreference offline HTML book (modified on 2018-10-28). +// Generated from cppreference offline HTML book (modified on 2019-06-07). //===----------------------------------------------------------------------===// SYMBOL(ATOMIC_BOOL_LOCK_FREE, None, <stdatomic.h>) @@ -194,7 +194,6 @@ SYMBOL(USHRT_MAX, None, <limits.h>) SYMBOL(WCHAR_MAX, None, <wchar.h>) SYMBOL(WCHAR_MIN, None, <wchar.h>) -SYMBOL(WEOF, None, <wchar.h>) SYMBOL(WINT_MAX, None, <stdint.h>) SYMBOL(WINT_MIN, None, <stdint.h>) SYMBOL(_Complex_I, None, <complex.h>) @@ -882,7 +881,6 @@ SYMBOL(vwprintf_s, None, <wchar.h>) SYMBOL(vwscanf, None, <wchar.h>) SYMBOL(vwscanf_s, None, <wchar.h>) -SYMBOL(wchar_t, None, <wchar.h>) SYMBOL(wcrtomb, None, <wchar.h>) SYMBOL(wcrtomb_s, None, <wchar.h>) SYMBOL(wcscat, None, <wchar.h>)
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits