[all-commits] [llvm/llvm-project] 87468e: compile commands header to source heuristic lower-...
Ishaan Gandhi via All-commits
all-commits at lists.llvm.org
Mon Apr 25 11:41:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87468e85fcdcf1bd5055466e34d17436a79017a2
https://github.com/llvm/llvm-project/commit/87468e85fcdcf1bd5055466e34d17436a79017a2
Author: Ishaan Gandhi <ishaangandhi at gmail.com>
Date: 2022-04-25 (Mon, 25 Apr 2022)
Changed paths:
M clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
M clang/unittests/Tooling/CompilationDatabaseTest.cpp
Log Message:
-----------
compile commands header to source heuristic lower-cases filenames before inferring file types
This leads to ".C" files being rewritten as ".c" files and being inferred to be "c" files as opposed to "c++" files.
Fixes https://github.com/clangd/clangd/issues/1108
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D124262
More information about the All-commits
mailing list