- User Since
- Mar 14 2016, 11:37 PM (132 w, 1 h)
Apr 17 2018
Note that we recently relaxed a similar diagnostic for NSNumber * in the static analyzer. Such code is semantically similar to inttype *.
Aug 7 2017
This won't work. The property attribute string consists of comma-separated fields. The encoding used here embeds commas into the type value, which will break parsing of the attribute string. You'll need to use a separator other than a comma.
Jun 29 2017
I thought void-returning functions were supposed to be allowed based on the description in https://reviews.llvm.org/D3976 , but later in that discussion the definition was changed to instead allow almost nothing.
Jan 24 2017
Reinstate support for REQUIRES-ANY:.
I'll reintroduce REQUIRES-ANY support so there is less disruption for libc++ developers.
Sorry, I thought libc++ had abandoned REQUIRES-ANY in favor of custom parsers. I just pushed the commit a few minutes ago. I'll revert it until we can coordinate better.
Add an error message for REQUIRES-ANY: that suggests replacement by a REQUIRES: expression.
Jan 19 2017
No, the old versions of OS X that lack posix_memalign also lack aligned_alloc.
Belatedly picking this up again.
- Resolved conflicts with custom keyword parser machinery in TestRunner.py
- Updated docs/TestingGuide.rst
- Loosened identifier syntax, in particular to allow more triple substrings like -linux-.
Sep 27 2016
Sorry, haven't had time to commit this yet.
Sep 1 2016
I'll do that. docs/TestingGuide.rst needs to be updated too.
The only other use of capture() in lit itself is capturing sysctl -n hw.ncpu. I didn't look more broadly.
Aug 31 2016
Jun 22 2016
- Changed syntax to C-style ! || && instead of Python-style not or and.
- Removed REQUIRES-ANY (superseding r 271468)
- Removed identifier characters ":" and "/"
- Added identifier characters "." and "+" (used by target triples and libc++)
- Moved BooleanExpression tests to Python unittest.
Mar 24 2016
I see 92 test lines using ',' in llvm and clang and swift tests. About half of those of those are XFAILs in llvm, but REQUIRES and UNSUPPORTED are also represented.
Mar 17 2016
Mar 16 2016
Fix an import for Python 3.
Remove a duplicate copy of Test.isEarlyTest().
, acts as or for UNSUPPORTED and XFAIL but as and for REQUIRES. Also I don't think we want to allow things like REQUIRES: (a, b) and c.
Mar 15 2016
Added a comment about the new throw from Test.isExpectedToFail().
Fixed the run command for lit/tests/requires-missing.txt.