=?utf-8?q?Félix-Antoine?= Constantin
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/111...@github.com>


nicovank wrote:

Just for discussion:
 1. Almost equivalent to `sed -i -E 's/-f[[:alnum:][:punct:]]*//g; 
s/-Werror//g' compile_commands.json`?
 2. What if a `-f...` argument is needed while others should be ignored? The 
regex might get complicated in some cases.
 3. I don't know how difficult this is at all: maybe an 
`--ignore-unknown-flags` option that emits a warning when unknown flags are 
encountered instead of failing and ignores only those could be another solution?

https://github.com/llvm/llvm-project/pull/111453
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to