【发布时间】:2020-09-02 17:10:41
【问题描述】:
- 考虑以下 doxygen 别名:
ALIASES += "sbl_add_package_main_class{4}=\addtogroup \1-ref-manual ^^ @{ ^^ \class \2 ^^ \brief \3 ^^ \4 ^^ @}"
或等效
ALIASES += sbl_add_package_main_class{4}="\addtogroup \1-ref-manual ^^ @{ ^^ \class \2 ^^ \brief \3 ^^ \4 ^^ @}"
- 在以下 C++ 代码上运行 doxygen (1.8.18) 时
/**
\sbl_add_package_main_class{Molecular_potential_energy, T_Phi_psi_dihedral_angles_visitor,
Defines iterator over all successive pairs of dihedrals.,
\details Defines iterator over all successive pairs of dihedrals.
\tparam CovalentStructure The type of the input covalent structure
}
*/
template <class CovalentStructure>
class T_Phi_psi_dihedral_angles_visitor
{
public:
typedef T_Phi_psi_dihedral_angles_visitor<CovalentStructure> Self;
typedef CovalentStructure Covalent_structure;
static inline Iterator begin(const CovalentStructure& C);
static inline Iterator end(const CovalentStructure& C);
};//end class T_Phi_psi_dihedral_angles_visitor
- 我收到以下警告:
warning: the name '\_linebr' supplied as the argument of the \class, \struct, \union, or \include command is not an input file
这对我来说没有任何意义,因为第二个参数 T_Phi_psi_dihedral_angles_visitor 格式正确。
我曾尝试添加/删除回车,在别名中添加/删除^^...完全失败!
有什么线索吗!?
非常感谢,弗雷德里克。
【问题讨论】:
-
用 1.8.18 和 1.8.20 对其进行了测试,在这两种情况下我都会收到警告。看起来像一个错误。最好是在 doxygen 问题跟踪器中创建问题:github.com/doxygen/doxygen/issues/…
标签: warnings alias doxygen line-breaks