[clang] 7eb36f5 - [Tooling/Inclusion] Add missing index_sequence symbols.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 6 05:09:58 PST 2023


Author: Haojian Wu
Date: 2023-03-06T14:09:49+01:00
New Revision: 7eb36f5d87a67d1ab6df6085b7c5b35ed67cf766

URL: https://github.com/llvm/llvm-project/commit/7eb36f5d87a67d1ab6df6085b7c5b35ed67cf766
DIFF: https://github.com/llvm/llvm-project/commit/7eb36f5d87a67d1ab6df6085b7c5b35ed67cf766.diff

LOG: [Tooling/Inclusion] Add missing index_sequence symbols.

Fixes https://github.com/llvm/llvm-project/issues/61026

Differential Revision: https://reviews.llvm.org/D145365

Added: 
    

Modified: 
    clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc

Removed: 
    


################################################################################
diff  --git a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
index 692f61a45e6f4..ecdcfee35128b 100644
--- a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
+++ b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc
@@ -247,6 +247,13 @@ SYMBOL(abs, None, <math.h>)
 // Don't set any header for it, as it comes with the type header.
 SYMBOL(get, std::, /*no headers*/)
 
+// cppreference symbol index page was missing these symbols.
+// Remove them when the cppreference offline archive catches up.
+SYMBOL(index_sequence, std::, <utility>)
+SYMBOL(index_sequence_for, std::, <utility>)
+SYMBOL(make_index_sequence, std::, <utility>)
+SYMBOL(make_integer_sequence, std::, <utility>)
+
 // Macros
 SYMBOL(NULL, None, <cstddef>)
 SYMBOL(NULL, None, <stddef.h>)


        


More information about the cfe-commits mailing list