3
我如何記錄doxygen中的if語句,它記錄我所有的類,fucntions,但是我寫的註釋如果是statings,它會考慮下一個最近的變量。在doxygen中記錄if語句
if abc != "": # Here we check if abc is not equal to null and then check if it is equal to some known values
if abc != "red":
if abc != "blue":
error()
if gfh != ""
ghf = 0
它將註釋分配給「ghf = 0」,任何想法如何將註釋分配給if語句。
那麼您推薦哪些工具用於我的用法? – Ashok
@Ashok我會說你大多不需要這個工具,只要你在編寫代碼時注重可讀性。看看我的更新提示。 – moooeeeep
感謝您的詳細解釋!幫助了很多 – Ashok