diff options
author | Haojian Wu <hokein@google.com> | 2019-05-29 12:03:41 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2019-05-29 12:03:41 +0000 |
commit | 78c5fa97eb534c790b5ea57510b0f74eb408a53e (patch) | |
tree | fb4990653feff45c6db31d24d9a57ee53d5be43c /clang-tools-extra/clangd/StdSymbolMap.inc | |
parent | 280ac1fd1dc35f1f7bce4d2b768fbcdb91f71097 (diff) | |
download | bcm5719-llvm-78c5fa97eb534c790b5ea57510b0f74eb408a53e.tar.gz bcm5719-llvm-78c5fa97eb534c790b5ea57510b0f74eb408a53e.zip |
[clangd] Another improvement for std include mapping.
Summary:
Improve the way of checking a symbol name is in the first cell. The previous way
is not very robost for cases where a cell lists multiple symbols (e.g. int8_t).
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D62575
llvm-svn: 361951
Diffstat (limited to 'clang-tools-extra/clangd/StdSymbolMap.inc')
-rw-r--r-- | clang-tools-extra/clangd/StdSymbolMap.inc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/StdSymbolMap.inc b/clang-tools-extra/clangd/StdSymbolMap.inc index 85fd474eed4..3ec94860ae7 100644 --- a/clang-tools-extra/clangd/StdSymbolMap.inc +++ b/clang-tools-extra/clangd/StdSymbolMap.inc @@ -454,11 +454,24 @@ SYMBOL(includes, std::, <algorithm>) SYMBOL(inclusive_scan, std::, <numeric>) SYMBOL(independent_bits_engine, std::, <random>) SYMBOL(indirect_array, std::, <valarray>) +SYMBOL(initializer_list, std::, <initializer_list>) SYMBOL(inner_product, std::, <numeric>) SYMBOL(inplace_merge, std::, <algorithm>) SYMBOL(input_iterator_tag, std::, <iterator>) SYMBOL(insert_iterator, std::, <iterator>) SYMBOL(inserter, std::, <iterator>) +SYMBOL(int16_t, std::, <cstdint>) +SYMBOL(int32_t, std::, <cstdint>) +SYMBOL(int64_t, std::, <cstdint>) +SYMBOL(int8_t, std::, <cstdint>) +SYMBOL(int_fast16_t, std::, <cstdint>) +SYMBOL(int_fast32_t, std::, <cstdint>) +SYMBOL(int_fast64_t, std::, <cstdint>) +SYMBOL(int_fast8_t, std::, <cstdint>) +SYMBOL(int_least16_t, std::, <cstdint>) +SYMBOL(int_least32_t, std::, <cstdint>) +SYMBOL(int_least64_t, std::, <cstdint>) +SYMBOL(int_least8_t, std::, <cstdint>) SYMBOL(integer_sequence, std::, <utility>) SYMBOL(integral_constant, std::, <type_traits>) SYMBOL(internal, std::, <ios>) @@ -1150,6 +1163,18 @@ SYMBOL(u16string_view, std::, <string_view>) SYMBOL(u32streampos, std::, <ios>) SYMBOL(u32string, std::, <string>) SYMBOL(u32string_view, std::, <string_view>) +SYMBOL(uint16_t, std::, <cstdint>) +SYMBOL(uint32_t, std::, <cstdint>) +SYMBOL(uint64_t, std::, <cstdint>) +SYMBOL(uint8_t, std::, <cstdint>) +SYMBOL(uint_fast16_t, std::, <cstdint>) +SYMBOL(uint_fast32_t, std::, <cstdint>) +SYMBOL(uint_fast64_t, std::, <cstdint>) +SYMBOL(uint_fast8_t, std::, <cstdint>) +SYMBOL(uint_least16_t, std::, <cstdint>) +SYMBOL(uint_least32_t, std::, <cstdint>) +SYMBOL(uint_least64_t, std::, <cstdint>) +SYMBOL(uint_least8_t, std::, <cstdint>) SYMBOL(uintmax_t, std::, <cstdint>) SYMBOL(uintptr_t, std::, <cstdint>) SYMBOL(uncaught_exceptions, std::, <exception>) |