[cfe-commits] r127525 - in /cfe/trunk: lib/StaticAnalyzer/Checkers/CMakeLists.txt lib/StaticAnalyzer/Checkers/Checkers.td lib/StaticAnalyzer/Checkers/IteratorsChecker.cpp test/Analysis/iterators.cpp

Chandler Carruth chandlerc at google.com
Tue Mar 29 13:30:59 PDT 2011


Sorry to dredge up an old thread, but I'm trying to get some policy
clarification:

On Fri, Mar 11, 2011 at 6:49 PM, Ted Kremenek <kremenek at apple.com> wrote:

> Added: cfe/trunk/test/Analysis/iterators.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/iterators
> .cpp?rev=127525&view=auto
>
> ==============================================================================
> --- cfe/trunk/test/Analysis/iterators.cpp (added)
> +++ cfe/trunk/test/Analysis/iterators.cpp Fri Mar 11 20:49:15 2011
> @@ -0,0 +1,104 @@
> +// RUN: %clang_cc1 -analyze -analyzer-checker=core,core.experimental.
> Iterators -verify %s
> +
> +#include <vector>
>

I thought test cases were expected to be freestanding? Before this one,
there were only two tests that violate that requirement. Thoughts?

For reference, we build and run all Clang and LLVM tests in a freestanding
environment out of necessity, so we end up catching these.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110329/8a6423b6/attachment.html>


More information about the cfe-commits mailing list