summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/conditional-op-missing-lhs.c
Commit message (Collapse)AuthorAgeFilesLines
* Distinguish between dead stores and dead initializations.Ted Kremenek2008-07-151-1/+1
| | | | llvm-svn: 53628
* Added AnalysisConsumer, a meta-level ASTConsumer class to drive variousTed Kremenek2008-07-021-1/+1
| | | | | | | | | | | | | | | | | | analyses. This potentially is the primordial origins of a Clang-equivalent "PassManager". The new AnalysisConsumer interface allows multiple analyses to be run from a single invocation of Clang. Migrated the logic of "-warn-dead-stores" and "-warn-uninit-values" to use the new AnalysisConsumer interface. The new interface results in a significant code reduction to incorporate an analysis into the Driver. Updated a test case to (correctly) acknowledge that it contains a dead store (this check wasn't being performed because it was previously masked by -warn-uninit-values). llvm-svn: 52996
* GCC has an extension where the left hand side of the ? : operator can be ↵Anders Carlsson2007-11-301-0/+26
omitted. Handle this in a few more places. llvm-svn: 44462
OpenPOWER on IntegriCloud