Skip to content
Merged
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
3 changes: 3 additions & 0 deletions containers/cpp/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang 1000 \
&& update-alternatives --install /usr/bin/cpp cpp /usr/bin/clang-cpp 1000 \
&& update-alternatives --install /usr/bin/ld ld /usr/bin/ld.lld 1000

# Copy Clangd config
COPY clangd-config.yaml $DEV_USER_HOME/.config/clangd/config.yaml

# Include What You Use Variables (v0.20 for use with LLVM 16)
ARG IWYU_TAR_URL="https://include-what-you-use.org/downloads/include-what-you-use-0.20.src.tar.gz"

Expand Down
4 changes: 4 additions & 0 deletions containers/cpp/clangd-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# ~/.config/clangd/config.yaml

CompileFlags:
Add: ['-std=c++20', '-stdlib=libc++', '-fexperimental-library']