@@ -344,7 +344,47 @@ static void getLibStdCxxFileMapping(
344
344
" codecvt" ,
345
345
// C++17 and newer:
346
346
" any" , " charconv" , " filesystem" , " memory_resource" , " optional" ,
347
- " string_view" , " variant" };
347
+ " string_view" , " variant" , " bits/algorithmfwd.h" , " bits/align.h" ,
348
+ " bits/alloc_traits.h" , " bits/allocated_ptr.h" , " bits/allocator.h" ,
349
+ " bits/atomic_base.h" , " bits/atomic_futex.h" ,
350
+ " bits/atomic_lockfree_defines.h" , " bits/basic_ios.h" ,
351
+ " bits/basic_string.h" , " bits/c++0x_warning.h" , " bits/char_traits.h" ,
352
+ " bits/charconv.h" , " bits/codecvt.h" , " bits/concept_check.h" ,
353
+ " bits/cpp_type_traits.h" , " bits/cxxabi_forced.h" ,
354
+ " bits/cxxabi_init_exception.h" , " bits/enable_special_members.h" ,
355
+ " bits/erase_if.h" , " bits/exception.h" , " bits/exception_defines.h" ,
356
+ " bits/exception_ptr.h" , " bits/forward_list.h" , " bits/fs_dir.h" ,
357
+ " bits/fs_fwd.h" , " bits/fs_ops.h" , " bits/fs_path.h" , " bits/functexcept.h" ,
358
+ " bits/functional_hash.h" , " bits/gslice.h" , " bits/gslice_array.h" ,
359
+ " bits/hash_bytes.h" , " bits/hashtable.h" , " bits/hashtable_policy.h" ,
360
+ " bits/indirect_array.h" , " bits/invoke.h" , " bits/ios_base.h" ,
361
+ " bits/iterator_concepts.h" , " bits/locale_classes.h" , " bits/locale_conv.h" ,
362
+ " bits/locale_facets.h" , " bits/locale_facets_nonio.h" , " bits/localefwd.h" ,
363
+ " bits/mask_array.h" , " bits/max_size_type.h" , " bits/memoryfwd.h" ,
364
+ " bits/move.h" , " bits/nested_exception.h" , " bits/node_handle.h" ,
365
+ " bits/ostream_insert.h" , " bits/parse_numbers.h" , " bits/postypes.h" ,
366
+ " bits/predefined_ops.h" , " bits/ptr_traits.h" , " bits/quoted_string.h" ,
367
+ " bits/random.h" , " bits/range_access.h" , " bits/ranges_algo.h" ,
368
+ " bits/ranges_algobase.h" , " bits/ranges_base.h" , " bits/ranges_cmp.h" ,
369
+ " bits/ranges_uninitialized.h" , " bits/ranges_util.h" , " bits/refwrap.h" ,
370
+ " bits/shared_ptr.h" , " bits/shared_ptr_atomic.h" , " bits/shared_ptr_base.h" ,
371
+ " bits/slice_array.h" , " bits/std_abs.h" , " bits/std_function.h" ,
372
+ " bits/std_mutex.h" , " bits/std_thread.h" , " bits/stl_algo.h" ,
373
+ " bits/stl_algobase.h" , " bits/stl_bvector.h" , " bits/stl_construct.h" ,
374
+ " bits/stl_deque.h" , " bits/stl_function.h" , " bits/stl_heap.h" ,
375
+ " bits/stl_iterator.h" , " bits/stl_iterator_base_funcs.h" ,
376
+ " bits/stl_iterator_base_types.h" , " bits/stl_list.h" , " bits/stl_map.h" ,
377
+ " bits/stl_multimap.h" , " bits/stl_multiset.h" , " bits/stl_numeric.h" ,
378
+ " bits/stl_pair.h" , " bits/stl_queue.h" , " bits/stl_raw_storage_iter.h" ,
379
+ " bits/stl_relops.h" , " bits/stl_set.h" , " bits/stl_stack.h" ,
380
+ " bits/stl_tempbuf.h" , " bits/stl_tree.h" , " bits/stl_uninitialized.h" ,
381
+ " bits/stl_vector.h" , " bits/stream_iterator.h" ,
382
+ " bits/streambuf_iterator.h" , " bits/stringfwd.h" ,
383
+ " bits/this_thread_sleep.h" , " bits/uniform_int_dist.h" ,
384
+ " bits/unique_lock.h" , " bits/unique_ptr.h" , " bits/unordered_map.h" ,
385
+ " bits/unordered_set.h" , " bits/uses_allocator.h" ,
386
+ " bits/uses_allocator_args.h" , " bits/valarray_after.h" ,
387
+ " bits/valarray_array.h" , " bits/valarray_before.h" };
348
388
std::string additionalHeaderDirectives;
349
389
llvm::raw_string_ostream os (additionalHeaderDirectives);
350
390
os << contents.substr (0 , headerInjectionPoint);
0 commit comments