[llvm-commits] [llvm] r100798 - in /llvm/trunk: include/llvm/Analysis/Lint.h include/llvm/LinkAllPasses.h lib/Analysis/Lint.cpp test/Other/lint.ll

Daniel Dunbar daniel at zuster.org
Thu Apr 8 14:21:03 PDT 2010


Can I turn that off? Or, what is the intended use case for this in the FE?

 - Daniel

On Thu, Apr 8, 2010 at 12:51 PM, Dan Gohman <gohman at apple.com> wrote:
>
> On Apr 8, 2010, at 12:01 PM, Daniel Dunbar wrote:
>
>> Any reason not to put this under "AndVerify" and "VerifyEach" as part
>> of the StandardPasses.h lists?
>
> Yes; this comment in Lint.cpp:
>
>>> +// Another limitation is that it assumes all code will be executed. A store
>>> +// through a null pointer in a basic block which is never reached is harmless,
>>> +// but this pass will warn about it anyway.
>
>
> Dan
>
>
>



More information about the llvm-commits mailing list