tests: unwind BaseModel test side effect on AclConfig
Give the test its own empty config to migrate into, which makes
resetting it irrelevant. A tiny bit of magic is needed to bootstrap
a config.xml so it's not the one that is checked in and we also
remove the temporary files from the tree so it does not confuse git.
save() is a far-reaching side effect in the test, but more or less
necessary for better test coverage. But I'd still want a simpler
test around Core\Config and this offers merely offers the groundwork
also removing the need to reset this from make commands.
[LifetimeSafety] Suggest lifetime annotations (#169767)
Add lifetime annotation suggestion in lifetime analysis.
This PR introduces a new feature to Clang's lifetime analysis to detect
and suggest missing `[[clang::lifetimebound]]` annotations on function
parameters.
It introduces the concept of `placeholder loans`. At the entry of a
function, a special placeholder loan is created for each pointer or
reference parameter. The analysis then tracks these loans using
`OriginFlow` facts. If an `OriginEscapesFact` shows that an origin
holding a placeholder loan escapes the function's scope (e.g., via a
return statement), a new warning is issued.
This warning, controlled by the warning flag
`-Wexperimental-lifetime-safety-suggestions`, suggests adding the
`[[clang::lifetimebound]]` attribute to the corresponding parameter.
Example:
[35 lines not shown]
[clang][bytecode][NFC] Add FullExpression scopes (#170705)
And use them instead of the extending decl. This is close to what the
current interpreter is doing.
This is NFC right now but fixes a problem I encountered while looking
into the expansion statement stuff.
x11/xscreensaver - update to v6.13
Upstream fixed their tarball, so we can go back to unpacking with bsdtar
Add license information
Wrap long lines
From upstream's changelog:
6.13 * Added a number of historical full chess games to `endgame`.
* Rewrote `glslideshow' to add more image-transition effects.
* Hacks that display images and their filenames will display their
titles intead, if the image originated in an RSS feed (or has
the "user.dublincore.title" xattr).
* X11: Wayland fixes.
* X11: Some hacks were calling glXSwapBuffers before the first call
to glXMakeCurrent; allow it.
* X11: Added configuration files to allow building of a non-insane
`.deb' installer package.
[IR] Fix vector.splice verifier scaling by vscale for fixed length vectors (#170807)
Currently we multiply the known minimum number of elements by vscale
even if the vector in question is fixed, so sometimes we miss some fixed
vectors with out of bounds indices.
[mlir:python] Add manual typing annotations to `mlir.register_*` functions. (#170627)
This PR adds a manual typing annotations to the `register_operation` and
`register_(type|value)_caster` functions in the main `mlir` module.
Since those functions return the result `nb::cpp_function`, which is of
type `nb::object`, the automatic typing annocations are of the form `def
f() -> object`. This isn't particularly precise and leads to type
checking errors when the functions are used. Manually defining the
annotation with `nb::sig` solves the problem.
Signed-off-by: Ingo Müller <ingomueller at google.com>