Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clang-19 'warning: empty paragraph passed to '@throw' command [-Wdocumentation]' #4263

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion include/proj/coordinateoperation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ class PROJ_GCC_DLL CoordinateOperation : public common::ObjectUsage,
coordinateTransformer(PJ_CONTEXT *ctx) const;

/** \brief Return the inverse of the coordinate operation.
* @throw util::UnsupportedOperationException
*
* \throw util::UnsupportedOperationException if inverse is not available
*/
PROJ_DLL virtual CoordinateOperationNNPtr inverse() const = 0;

Expand Down
2 changes: 1 addition & 1 deletion include/proj/io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ class PROJ_GCC_DLL IPROJStringExportable {
*
* @param formatter PROJ string formatter.
* @return a PROJ string.
* @throw FormattingException */
* @throw FormattingException if cannot be exported as a PROJ string */
PROJ_DLL std::string exportToPROJString(
PROJStringFormatter *formatter) const; // throw(FormattingException)

Expand Down
4 changes: 2 additions & 2 deletions src/iso19111/crs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5197,7 +5197,7 @@ CompoundCRS::componentReferenceSystems() PROJ_PURE_DEFN {
* At minimum the name should be defined.
* @param components the component CRS of the CompoundCRS.
* @return new CompoundCRS.
* @throw InvalidCompoundCRSException
* @throw InvalidCompoundCRSException if the object cannot be constructed.
*/
CompoundCRSNNPtr CompoundCRS::create(const util::PropertyMap &properties,
const std::vector<CRSNNPtr> &components) {
Expand Down Expand Up @@ -5299,7 +5299,7 @@ CompoundCRSNNPtr CompoundCRS::create(const util::PropertyMap &properties,
* At minimum the name should be defined.
* @param components the component CRS of the CompoundCRS.
* @return new CRS.
* @throw InvalidCompoundCRSException
* @throw InvalidCompoundCRSException if the object cannot be constructed.
*/
CRSNNPtr CompoundCRS::createLax(const util::PropertyMap &properties,
const std::vector<CRSNNPtr> &components,
Expand Down
2 changes: 1 addition & 1 deletion src/iso19111/datum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2004,7 +2004,7 @@ void DatumEnsemble::_exportToJSON(
* @param datumsIn Array of at least 2 datums.
* @param accuracy Accuracy of the datum ensemble
* @return new DatumEnsemble.
* @throw util::Exception
* @throw util::Exception in case of error.
*/
DatumEnsembleNNPtr DatumEnsemble::create(
const util::PropertyMap &properties,
Expand Down
Loading
Loading