Skip to content

Commit 32055ec

Browse files
Merge branch 'main' into fix/172072-auto-function-param
2 parents e6ceae5 + 1e15dbe commit 32055ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+4003
-250
lines changed

clang/include/clang/Frontend/ASTUnit.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,11 @@ class ASTUnit {
476476
return *LangOpts;
477477
}
478478

479+
const CodeGenOptions &getCodeGenOpts() const {
480+
assert(CodeGenOpts && "ASTUnit does not have codegen options");
481+
return *CodeGenOpts;
482+
}
483+
479484
const HeaderSearchOptions &getHeaderSearchOpts() const {
480485
assert(HSOpts && "ASTUnit does not have header search options");
481486
return *HSOpts;

libcxx/docs/ReleaseNotes/22.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Implemented Papers
3939
------------------
4040

4141
- P2321R2: ``zip`` (`Github <https://llvm.org/PR105169>`__) (The paper is partially implemented. ``zip_transform_view``
42-
is implemented in this release)
42+
and `adjacent_view` are implemented in this release)
4343
- P2988R12: ``std::optional<T&>`` (`Github <https://llvm.org/PR148131>`__)
4444
- P3044R2: sub-``string_view`` from ``string`` (`Github <https://llvm.org/PR148140>`__)
4545
- P3223R2: Making ``std::istream::ignore`` less surprising (`Github <https://llvm.org/PR148178>`__)

libcxx/include/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ set(files
700700
__random/uniform_real_distribution.h
701701
__random/weibull_distribution.h
702702
__ranges/access.h
703+
__ranges/adjacent_view.h
703704
__ranges/all.h
704705
__ranges/as_rvalue_view.h
705706
__ranges/chunk_by_view.h
@@ -789,6 +790,7 @@ set(files
789790
__tuple/tuple_like.h
790791
__tuple/tuple_like_no_subrange.h
791792
__tuple/tuple_size.h
793+
__tuple/tuple_transform.h
792794
__type_traits/add_cv_quals.h
793795
__type_traits/add_pointer.h
794796
__type_traits/add_reference.h

0 commit comments

Comments
 (0)