[LLVMdev] [BUG] Support for -W[no-]unused-but-set-{variable, parameter}
Eli Friedman
eli.friedman at gmail.com
Wed Jul 10 12:00:19 PDT 2013
On Wed, Jul 10, 2013 at 11:38 AM, Ramkumar Ramachandra
<artagnon at gmail.com> wrote:
> Eli Friedman wrote:
>> Please file bug reports at llvm.org/bugs/
>
> Filed bugs for all three. I was hoping to fix these now, with some help.
Oh... I can give you some quick pointers, then:
For the unused-but-set warnings, not sure how you'd want to go about
implementing them... I'm not convinced those specific warnings are
particularly useful, as opposed to a more general dead-store warning,
but you could start digging around near Sema::DiagnoseUnusedParameters
in clang/lib/Sema/SemaDecl.cpp . You probably want to send an email
to cfe-dev, though; discussions about clang-specific stuff generally
goes there.
For the bts issue, take a look at LLVM r126047.
For CFI parsing, look at llvm/lib/MC/MCParser/AsmParser.cpp.
If you're interested in contributing patches, you might also want to
skim http://llvm.org/docs/DeveloperPolicy.html .
-Eli
More information about the llvm-dev
mailing list