[CIR] Convert global_visibility from attribute to property (#190488)
Replace CIR_VisibilityAttr with
DefaultValuedProp<EnumProp<CIR_VisibilityKind>>
for global_visibility on GlobalOp and FuncOp. This removes the need for
custom
parse/print functions and simplifies callers to use direct enum values
instead
of wrapping/unwrapping VisibilityAttr.
[mlir][reducer] Add opt-pass-file option to opt-reduction pass (#189353)
Currently, the opt-reduction-pass only supports inputting the
optimization pipeline via the command line, which becomes cumbersome
when the pipeline is long. To address this, this PR introduces the
opt-pass-file option. This allows users to save the pipeline in a file
and provide the filename to parse the pipeline.
[clang][AST][NFC] Add default value to `Expr::isConstantInitializer()` parameter (#190313)
Almost every caller passes `false` for `ForRef`, or rather, doesn't care
what the value is. Use a default value instead.
Brad Smith immediately provided a patch for archivers/libmpq (moving
it to using ports-gcc) that allows devilutionx to actually build and
package on sparc64.
So remove BROKEN-sparc64
Move archivers/libmpq to ports-gcc because it uses
builtins (__builtin_bswap16/32/64) that end up missing during linking of
consumers such as games/devilutionx.
Switching to ports-gcc produces a library that allows consumers such
as games/devilutionx to link successfully.
Patch provided by Brad Smith
make.conf(5): Remove legacy obsolete MAKE_SHELL description
The MAKE_SHELL variable is unused in our bmake framework. I guess it's
a legacy from the FreeBSD fmake framework.
<sys.mk>: Fix ${SHELL} to ignore the environment
From the POSIX standard [1]:
> The SHELL macro shall be treated specially. It shall be provided by
> make and set to the pathname of the shell command language interpreter
> (see sh). The SHELL environment variable shall not affect the value of
> the SHELL macro. If SHELL is defined in the makefile or is specified
> on the command line, it shall replace the original value of the SHELL
> macro, but shall not affect the SHELL environment variable. Other
> effects of defining SHELL in the makefile or on the command line are
> implementation-defined.
So fix ${SHELL} to be ${.SHELL:Ush}, making it a Bourne/POSIX shell
regardless of the user's interactive shell, so that it's suitable for
use in the makefiles. This is obtained from 'contrib/bmake/mk/sys.mk'.
[1] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/make.html#tag_20_76_13_05
<bsd.dep.mk>: Always create the depend file in the end
In case that the custom ${MKDEPCMD} does not create the depend file for
empty dependency.
While there, tweak '${_ALL_DEPENDS}' to use the ':N*.[csS]' modifier to
align with the subsequent '.if' expressions filtering on the files.
Suggested-by: swildner
<sys.mk>: Fix ${NXCXXFLAGS} to base on ${CXXFLAGS}
${CXXFLAGS} is already defined above in <sys.mk>, so it's better and
more correct to define ${NXCXXFLAGS} based on ${CXXFLAGS}.
Actually, this fixes ${NXCXXFLAGS} to obtain the correct '-std' flag
from ${CXXFLAGS}.
[clang] implement CWG2064: ignore value dependence for decltype
The 'decltype' for a value-dependent (but non-type-dependent) should be known,
so this patch makes them non-opaque instead.
Readds a few test cases from da98651
Fixes #61818
[clang] implement CWG2064: ignore value dependence for decltype
The 'decltype' for a value-dependent (but non-type-dependent) should be known,
so this patch makes them non-opaque instead.
Readds a few test cases from da98651
Fixes #61818
Broken on sparc64 for multiple releases.
Dies during linking:
/usr/local/lib/libmpq.so.0.0: undefined reference to `__builtin_bswap16'
/usr/local/lib/libmpq.so.0.0: undefined reference to `__builtin_bswap32'
/usr/local/lib/libmpq.so.0.0: undefined reference to `__builtin_bswap64'
Mark BROKEN-sparc64
[Clang] Fix concept cache for normalized fold expressions (#190312)
When both outer and inner pack substitution indexes are present, we
should cache both. Otherwise we will have wrong cached result.
This is a regression fix so no release note.
Fixes https://github.com/llvm/llvm-project/issues/190169
[clang] implement CWG2064: ignore value dependence for decltype
The 'decltype' for a value-dependent (but non-type-dependent) should be known,
so this patch makes them non-opaque instead.
Readds a few test cases from da98651
Fixes #61818
devel/task: update to 3.49.1
v3.49.1
* Reverted #2632 for now, which caused some regressions. That change will
be reworked.
v3.49.0
* Fixed included Taskfiles with watch: true not triggering watch mode when
called from the root Taskfile.
* Fixed Remote Git Taskfiles failing on Windows due to backslashes in URL
paths.
* Fixed Remote Git Taskfiles timing out when resolving includes after
accepting the trust prompt.
* Fixed unclear error message when Taskfile search stops at a directory
ownership boundary.
* Fixed global variables from imported Taskfiles not resolving ref: values
correctly.
[2 lines not shown]
cskk: update to 3.3.0
Fixed
* Fix an issue that the whole dictionary contents are returned as
candidates list when completing empty headword.
Completing empty headword is now ignored.
* Fix an issue that C-g did not reset to Direct mode when back to previous
conversion mode by 'x' key in candidates selection.
* Fix an issue that C-g did not reset to Direct mode when negative index
was added to skk_context_select_candidate_at_rs.
Added
* Add a command in the default rule file to abort by C-g when in
abbreviation mode.
It does not added to already installed rules unless it is added manually
to ~/.local/share/libcskk/rules.
[clang] diagnose block pointer types as invalid for constant template parameters (#190464)
Fixes a crash by making it ill-formed to have a constant template
parameter with a block pointer type.
Fixes #189247