Files
llvm-project/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
Dominique Fuchs 704c60fe91 [clang][Tooling] Preserve -std flag when transferring compile commands across same-family language (#184560)
Previously, transfering a compile command from e.g. an ObjC++ source
(`.mm) to a C++ header (`.hh`) would drop `-std=c++20` because they
were different languages.

Fixes https://github.com/clangd/clangd/issues/1014
Fixes https://github.com/clangd/clangd/issues/2613

Signed-off-by: Dominique Fuchs <df@0x9d.net>
2026-03-24 01:13:05 -04:00

23 KiB