Repository navigation
conf.py: cpp_id_attributes = ["__sparse_cache"] - #414
Merged
Merged
Conversation
With a recent enough sphinx-build --version, this fixes the gazillion of
warnings recently added:
```
/home/runner/work/sof-docs/sof-docs/api/component-api.rst:21: WARNING: Error when parsing function declaration.
If the function has no return type:
Error in declarator or parameters-and-qualifiers
Invalid C++ declaration: Expected identifier in nested name, got keyword: void [error at 18]
static inline void comp_underrun (struct comp_dev *dev, struct comp_buffer __sparse_cache *source, uint32_t copy_bytes)
------------------^
If the function has a return type:
Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected '::' in pointer to member (function). [error at 33]
static inline void comp_underrun (struct comp_dev *dev, struct comp_buffer __sparse_cache *source, uint32_t copy_bytes)
---------------------------------^
If declarator-id:
Invalid C++ declaration: Expecting "," or ")" in parameters-and-qualifiers, got "*". [error at 90]
static inline void comp_underrun (struct comp_dev *dev, struct comp_buffer __sparse_cache *source, uint32_t copy_bytes)
------------------------------------------------------------------------------------------^
```
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Fixes Sphinx 5 warning: Running Sphinx v5.0.1 WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Fixes Sphinx 5 warning: WARNING: extlinks: Sphinx-6.0 will require a caption string to contain exactly one '%s' and all other '%' need to be escaped as '%%'. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
marc-hb
marked this pull request as ready for review
June 9, 2022 01:19
marc-hb
requested review from
anton-intel,
deb-intel,
greg-intel,
intelkevinputnam and
lgirdwood
as code owners
June 9, 2022 01:19
Collaborator
Author
|
Small, easy to revert and fixing a gazillion of warnings: abusing my super power and merging this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With a recent enough sphinx-build --version, this fixes the gazillion of
warnings recently added: