[PATCH] D55823: [analyzer] Fix backward compatibility issue after D53280 'Emit an error for invalid -analyzer-config inputs'
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 20 16:58:03 PST 2018
NoQ added a comment.
George committed this as rC349863 <https://reviews.llvm.org/rC349863>. Before that happened, we kinda figured out how it works: `-analyzer-config` is not a flag, it's an argument of the `-Xclang` flag, so we should look for `-Xclang` and see what value does the argument have.
Now, there's also `-Xanalyzer`. But `-Xanalyzer` is automatically not consumed during compilation, so any `-analyzer-config` flags passed through it would be ignored during compilation.
However, `--analyze -Xanalyzer -analyzer-config ...` is now broken :/
CHANGES SINCE LAST ACTION
More information about the cfe-commits