[all-commits] [llvm/llvm-project] 1ab418: [Tooling] Fix FixedCompilationDatabase with header...
Sam McCall via All-commits
all-commits at lists.llvm.org
Fri Jan 19 05:02:16 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ab418beb3cc9c31ebb2d5779069426d761ceb8f
https://github.com/llvm/llvm-project/commit/1ab418beb3cc9c31ebb2d5779069426d761ceb8f
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2024-01-19 (Fri, 19 Jan 2024)
Changed paths:
M clang/lib/Tooling/CompilationDatabase.cpp
M clang/unittests/Tooling/CompilationDatabaseTest.cpp
Log Message:
-----------
[Tooling] Fix FixedCompilationDatabase with header compile flags (#73913)
Summary:
The logic to strip positional args feels very fragile, but it's terribly
useful
when you want to use a tool on a file and have the exact argv.
Today doesn't work with header-parsing actions because these are
"precompile"
rather than "compile", from tooling's perspective it's all the same.
Reviewers:
kadircet
Subscribers:
More information about the All-commits
mailing list