Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
---
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/doxygen-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Doxygen GitHub Pages Deploy Action

on:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ossf-scorecard-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Scorecard analysis workflow
on:
push:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-->

<!-- markdownlint-disable-next-line line-length -->
![Library Status](https://raw.githubusercontent.com/bemanproject/beman/refs/heads/main/images/badges/beman_badge-beman_library_under_development.svg) ![Continuous Integration Tests](https://github.com/steve-downey/sandbox-expected/actions/workflows/ci_tests.yml/badge.svg) ![Lint Check (pre-commit)](https://github.com/steve-downey/sandbox-expected/actions/workflows/pre-commit-check.yml/badge.svg) [![Coverage](https://coveralls.io/repos/github/steve-downey/sandbox-expected/badge.svg?branch=main)](https://coveralls.io/github/steve-downey/sandbox-expected?branch=main) ![Standard Target](https://github.com/bemanproject/beman/blob/main/images/badges/cpp29.svg)
[![Library Status](https://raw.githubusercontent.com/bemanproject/beman/refs/heads/main/images/badges/beman_badge-beman_library_under_development.svg)](https://github.com/bemanproject/beman/blob/main/docs/beman_library_maturity_model.md#the-beman-library-maturity-model) ![Continuous Integration Tests](https://github.com/steve-downey/sandbox-expected/actions/workflows/ci_tests.yml/badge.svg) ![Lint Check (pre-commit)](https://github.com/steve-downey/sandbox-expected/actions/workflows/pre-commit-check.yml/badge.svg) [![Coverage](https://coveralls.io/repos/github/steve-downey/sandbox-expected/badge.svg?branch=main)](https://coveralls.io/github/steve-downey/sandbox-expected?branch=main) ![Standard Target](https://github.com/bemanproject/beman/blob/main/images/badges/cpp29.svg)

`beman.expected` is a C++ library implementing the std::expected specification conforming to [The Beman Standard](https://github.com/bemanproject/beman/blob/main/docs/beman_standard.md).

Expand Down
3 changes: 3 additions & 0 deletions cmake/ci-clang-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/ci-clang-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

set(CMAKE_C_COMPILER clang)
Expand Down
3 changes: 3 additions & 0 deletions cmake/clang-16-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/clang-16-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

set(CMAKE_C_COMPILER clang-16)
Expand Down
3 changes: 3 additions & 0 deletions cmake/clang-17-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/clang-17-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

set(CMAKE_C_COMPILER clang-17)
Expand Down
3 changes: 3 additions & 0 deletions cmake/clang-18-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/clang-18-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

set(CMAKE_C_COMPILER clang-18)
Expand Down
3 changes: 3 additions & 0 deletions cmake/clang-19-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/clang-19-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

set(CMAKE_C_COMPILER clang-19)
Expand Down
3 changes: 3 additions & 0 deletions cmake/clang-flags.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/clang-flags.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

set(CMAKE_CXX_STANDARD 20)
Expand Down
3 changes: 3 additions & 0 deletions cmake/gcc-12-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/gcc-12-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

include("${CMAKE_CURRENT_LIST_DIR}/gcc-flags.cmake")
Expand Down
3 changes: 3 additions & 0 deletions cmake/gcc-13-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/gcc-13-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

include("${CMAKE_CURRENT_LIST_DIR}/gcc-flags.cmake")
Expand Down
3 changes: 3 additions & 0 deletions cmake/gcc-14-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/gcc-14-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

include("${CMAKE_CURRENT_LIST_DIR}/gcc-flags.cmake")
Expand Down
3 changes: 3 additions & 0 deletions cmake/gcc-15-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/gcc-15-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

include("${CMAKE_CURRENT_LIST_DIR}/gcc-flags.cmake")
Expand Down
3 changes: 3 additions & 0 deletions cmake/gcc-16-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/gcc-16-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

include("${CMAKE_CURRENT_LIST_DIR}/gcc-flags.cmake")
Expand Down
3 changes: 3 additions & 0 deletions cmake/gcc-flags.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/gcc-flags.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

set(CMAKE_CXX_STANDARD 26)
Expand Down
3 changes: 3 additions & 0 deletions cmake/gcc-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/gcc-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

set(CMAKE_C_COMPILER gcc)
Expand Down
3 changes: 3 additions & 0 deletions cmake/llvm-16-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/llvm-16-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

set(CMAKE_C_COMPILER clang-16)
Expand Down
3 changes: 3 additions & 0 deletions cmake/llvm-master-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/llvm-master-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

set(LLVM_ROOT "$ENV{LLVM_ROOT}" CACHE PATH "Path to LLVM installation")

set(CMAKE_C_COMPILER ${LLVM_ROOT}/bin/clang)
Expand Down
3 changes: 3 additions & 0 deletions cmake/llvm-toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/llvm-toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

set(CMAKE_C_COMPILER clang-14)
Expand Down
3 changes: 3 additions & 0 deletions cmake/toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/toolchain.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include_guard(GLOBAL)

include("${CMAKE_CURRENT_LIST_DIR}/gcc-flags.cmake")
Expand Down
3 changes: 3 additions & 0 deletions cmake/use-fetch-content.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/use-fetch-content.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

cmake_minimum_required(VERSION 3.24)

include(FetchContent)
Expand Down
3 changes: 3 additions & 0 deletions cmake/x64-linux-custom.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# cmake/x64-linux-custom.cmake -*-cmake-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
Expand Down
1 change: 1 addition & 0 deletions examples/expected.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// examples/expected.cpp -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <beman/expected/expected.hpp>

int main(int /*argc*/, char** /*argv*/) { return 0; }
2 changes: 1 addition & 1 deletion papers/wg21-latex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SPDX-License-Identifier: 2.0 license with LLVM exceptions

Compiling the paper requires a working LaTeX installation. See instructions for configuring your system at [C++ Standard Draft Sources](https://github.com/cplusplus/draft/blob/main/README.rst)

The papers/ subdirectory has the LaTeX souces for P2988 and the supporting macro definitions. To build, run
The papers/ subdirectory has the LaTeX sources for P2988 and the supporting macro definitions. To build, run

```shell
make papers
Expand Down
2 changes: 2 additions & 0 deletions papers/wg21-latex/implementation.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// papers/wg21-latex/implementation.hpp -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// ----------------------
// BASE AND DETAILS ELIDED
// ----------------------
Expand Down
1 change: 1 addition & 0 deletions papers/wg21-latex/ldiff.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/env sh
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

export SAFECMDS=Rplus,Cpp,CppIII,opt,shl,shr,dcr,exor,bigoh,tilde,bitand,bitor,xor,rightshift,enternote,enterexample,exitexample,required,requires,effects,postconditions,postcondition,preconditions,precondition,returns,throws,default,complexity,remark,remarks,note,notes,realnote,realnotes,errors,sync,implimits,replaceable,exceptionsafety,returntype,cvalue,ctype,ctypes,dtype,ctemplate,templalias,xref,xsee,ntbs,ntmbs,ntwcs,ntcxvis,ntcxxxiis,expos,impdef,notdef,unspec,unspecbool,seebelow,unspecuniqtype,unspecalloctype,unun,change,rationale,effect,difficulty,howwide,uniquens,cv,seebelow

Expand Down
2 changes: 1 addition & 1 deletion papers/wg21-latex/xrefdelta.tex
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@
% CWG 2843 removed [uaxid.def.rfmt]
\removedxref{uaxid.def.rfmt}

% P3016R6 Resolve inconsistencies in begin/end for valarray and braced intializers
% P3016R6 Resolve inconsistencies in begin/end for valarray and braced initializers
\removedxref{support.initlist.range}

%%% Renamed sections.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dev = [
]

[tool.codespell]
ignore-words-list = 'unexpect'
ignore-words-list = 'unexpect,fith,ist'
Loading
Loading