mirror of
https://github.com/nasa/trick.git
synced 2025-06-14 05:08:22 +00:00
Support new Trick comment tags
Added new doxygen style tags for truning on/off Trick attributes processing, comment processing, and library dependencies. Here are the tags we recognize (@|\)trick_parse(everything|attributes|dependencies_only) (@|\)trick_exclude_typename(class_name) (@|\)trick_link_dependency(link_name) refs #114
This commit is contained in:
@ -148,7 +148,9 @@ bool FieldVisitor::VisitDeclaratorDecl( clang::DeclaratorDecl *dd ) {
|
||||
if ( isInUserOrTrickCode( ci , dd_range.getEnd() , hsd ) ) {
|
||||
fdes->setLineNo(ci.getSourceManager().getSpellingLineNumber(dd_range.getEnd())) ;
|
||||
/* process comment if neither ICG:(No) or ICG:(NoComment) is present */
|
||||
if ( ! cs.hasICGNoComment(file_name) and ! hsd.isPathInICGNoComment(file_name) ) {
|
||||
if ( cs.hasTrickHeader(file_name) and
|
||||
!cs.hasICGNoComment(file_name) and
|
||||
!hsd.isPathInICGNoComment(file_name) ) {
|
||||
/* Get the possible comment on this line and parse it */
|
||||
fdes->parseComment(cs.getComment(file_name , fdes->getLineNo())) ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user