MCPcopy Create free account
hub / github.com/KDAB/codebrowser / registerMacro

Method registerMacro

generator/annotator.cpp:813–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811}
812
813void Annotator::registerMacro(const std::string &ref, clang::SourceLocation refLoc, DeclType declType)
814{
815 references[ref].push_back( { declType, refLoc, std::string() } );
816 if (declType == Annotator::Declaration) {
817 commentHandler.decl_offsets.insert({ refLoc, {ref, true} });
818 }
819}
820
821void Annotator::annotateSourceRange(clang::SourceRange range, std::string tag, std::string attributes)
822{

Callers 4

MacroExpandsMethod · 0.80
MacroDefinedMethod · 0.80
MacroUndefinedMethod · 0.80
DefinedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected