[PATCH] D27138: Extend CompilationDatabase by a field for the output filename
Manuel Klimek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 29 06:44:22 PST 2016
klimek added a comment.
In https://reviews.llvm.org/D27138#607786, @joerg wrote:
> It's not the directory, but the output file. That's optional since it is a new addition and I don't want to invalidate all existing JSON databases.
It seems like we're talking past each other. I'm not suggesting to invalidate all existing JSON databases. I'm suggesting:
1. if it doesn't exist, have nullptr in the struct
2. if it exists and is empty (""), have the empty string in the struct (and potentially give the user an error)
3. if it exists and is non-empty, all is good
Repository:
rL LLVM
https://reviews.llvm.org/D27138
More information about the cfe-commits
mailing list