summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp242
1 files changed, 121 insertions, 121 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 30c2001..964d9e1 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -804,7 +804,7 @@ static void buildFileList(Entry *root)
{
const char *fn = root->fileName.data();
QCString text(4096);
- text.sprintf("the name `%s' supplied as "
+ text.sprintf("the name '%s' supplied as "
"the argument in the \\file statement ",
qPrint(root->name));
if (ambig) // name is ambiguous
@@ -857,7 +857,7 @@ static void addIncludeFile(ClassDef *cd,FileDef *ifd,Entry *root)
)
{ // explicit request
QCString text;
- text.sprintf("the name `%s' supplied as "
+ text.sprintf("the name '%s' supplied as "
"the argument of the \\class, \\struct, \\union, or \\include command ",
qPrint(includeFile)
);
@@ -1287,7 +1287,7 @@ static void addClassToContext(Entry *root)
QCString namespaceName;
extractNamespaceName(fullName,className,namespaceName);
- //printf("New class: fullname %s namespace `%s' name=`%s' brief=`%s' docs=`%s'\n",
+ //printf("New class: fullname %s namespace '%s' name='%s' brief='%s' docs='%s'\n",
// fullName.data(),namespaceName.data(),className.data(),root->brief.data(),root->doc.data());
QCString tagName;
@@ -1320,7 +1320,7 @@ static void addClassToContext(Entry *root)
}
cd=createClassDef(tagInfo?tagName:root->fileName,root->startLine,root->startColumn,
fullName,sec,tagName,refFileName,TRUE,root->spec&Entry::Enum);
- Debug::print(Debug::Classes,0," New class `%s' (sec=0x%08x)! #tArgLists=%d tagInfo=%p\n",
+ Debug::print(Debug::Classes,0," New class '%s' (sec=0x%08x)! #tArgLists=%d tagInfo=%p\n",
qPrint(fullName),sec,root->tArgLists ? (int)root->tArgLists->count() : -1, tagInfo);
cd->setDocumentation(root->doc,root->docFile,root->docLine); // copy docs to definition
cd->setBriefDescription(root->brief,root->briefFile,root->briefLine);
@@ -1368,7 +1368,7 @@ static void addClassToContext(Entry *root)
}
if (fd && (root->section & Entry::COMPOUND_MASK))
{
- //printf(">> Inserting class `%s' in file `%s' (root->fileName=`%s')\n",
+ //printf(">> Inserting class '%s' in file '%s' (root->fileName='%s')\n",
// cd->name().data(),
// fd->name().data(),
// root->fileName.data()
@@ -1862,7 +1862,7 @@ static const NamespaceDef *findUsedNamespace(const NamespaceSDict *unl,
{
QCString uScope=und->name()+"::";
usingNd = getResolvedNamespace(uScope+name);
- //printf("Also trying with scope=`%s' usingNd=%p\n",(uScope+name).data(),usingNd);
+ //printf("Also trying with scope='%s' usingNd=%p\n",(uScope+name).data(),usingNd);
}
}
return usingNd;
@@ -1899,7 +1899,7 @@ static void findUsingDirectives(Entry *root)
}
}
- // find the scope in which the `using' namespace is defined by prepending
+ // find the scope in which the 'using' namespace is defined by prepending
// the possible scopes in which the using statement was found, starting
// with the most inner scope and going to the most outer scope (i.e.
// file scope).
@@ -1909,7 +1909,7 @@ static void findUsingDirectives(Entry *root)
QCString scope=scopeOffset>0 ?
nsName.left(scopeOffset)+"::" : QCString();
usingNd = getResolvedNamespace(scope+name);
- //printf("Trying with scope=`%s' usingNd=%p\n",(scope+name).data(),usingNd);
+ //printf("Trying with scope='%s' usingNd=%p\n",(scope+name).data(),usingNd);
if (scopeOffset==0)
{
scopeOffset=-1;
@@ -2058,7 +2058,7 @@ static void findUsingDeclarations(Entry *root)
}
// Assume the using statement was used to import a class.
- // Find the scope in which the `using' namespace is defined by prepending
+ // Find the scope in which the 'using' namespace is defined by prepending
// the possible scopes in which the using statement was found, starting
// with the most inner scope and going to the most outer scope (i.e.
// file scope).
@@ -2079,7 +2079,7 @@ static void findUsingDeclarations(Entry *root)
//printf("%s -> %p\n",root->name.data(),usingCd);
if (usingCd==0) // definition not in the input => add an artificial class
{
- Debug::print(Debug::Classes,0," New using class `%s' (sec=0x%08x)! #tArgLists=%d\n",
+ Debug::print(Debug::Classes,0," New using class '%s' (sec=0x%08x)! #tArgLists=%d\n",
qPrint(name),root->section,root->tArgLists ? (int)root->tArgLists->count() : -1);
usingCd = createClassDef(
"<using>",1,1,
@@ -2266,7 +2266,7 @@ static MemberDef *addVariableToClass(
}
Debug::print(Debug::Variables,0,
" class variable:\n"
- " `%s' `%s'::`%s' `%s' prot=`%d ann=%d init=`%s'\n",
+ " '%s' '%s'::'%s' '%s' prot=%d ann=%d init='%s'\n",
qPrint(root->type),
qPrint(qualScope),
qPrint(name),
@@ -2434,7 +2434,7 @@ static MemberDef *addVariableToFile(
{
Debug::print(Debug::Variables,0,
" global variable:\n"
- " file='%s' type=`%s' scope=`%s' name=`%s' args=`%s' prot=`%d mtype=%d lang=%d\n",
+ " file='%s' type='%s' scope='%s' name='%s' args='%s' prot=`%d mtype=%d lang=%d\n",
qPrint(root->fileName),
qPrint(root->type),
qPrint(scope),
@@ -2835,7 +2835,7 @@ static void addVariable(Entry *root,int isFuncPtr=-1)
Debug::print(Debug::Variables,0,
"VARIABLE_SEC: \n"
- " type=`%s' name=`%s' args=`%s' bodyLine=`%d' mGrpId=%d relates=%s\n",
+ " type='%s' name='%s' args='%s' bodyLine=%d mGrpId=%d relates='%s'\n",
qPrint(root->type),
qPrint(root->name),
qPrint(root->args),
@@ -2861,7 +2861,7 @@ static void addVariable(Entry *root,int isFuncPtr=-1)
root->name=root->args.mid(i,l);
root->args=root->args.mid(i+l,root->args.find(')',i+l)-i-l);
}
- //printf("new: type=`%s' name=`%s' args=`%s'\n",
+ //printf("new: type='%s' name='%s' args='%s'\n",
// root->type.data(),root->name.data(),root->args.data());
}
else
@@ -3016,7 +3016,7 @@ static void addVariable(Entry *root,int isFuncPtr=-1)
}
}
- //printf("name=`%s' scope=%s scope.right=%s\n",
+ //printf("name='%s' scope=%s scope.right=%s\n",
// name.data(),scope.data(),
// scope.right(scope.length()-si).data());
addVariableToClass(root, // entry
@@ -3199,8 +3199,8 @@ static void addInterfaceOrServiceToServiceOrSingleton(
Debug::print(Debug::Functions,0,
" Interface Member:\n"
- " `%s' `%s' proto=%d\n"
- " def=`%s'\n",
+ " '%s' '%s' proto=%d\n"
+ " def='%s'\n",
qPrint(root->type),
qPrint(rname),
root->proto,
@@ -3242,7 +3242,7 @@ static void buildInterfaceAndServiceList(Entry *root)
{
Debug::print(Debug::Functions,0,
"EXPORTED_INTERFACE_SEC:\n"
- " `%s' `%s'::`%s' `%s' relates=`%s' relatesType=`%d' file=`%s' line=`%d' bodyLine=`%d' #tArgLists=%d mGrpId=%d spec=%lld proto=%d docFile=%s\n",
+ " '%s' '%s'::'%s' '%s' relates='%s' relatesType='%d' file='%s' line='%d' bodyLine='%d' #tArgLists=%d mGrpId=%d spec=%lld proto=%d docFile=%s\n",
qPrint(root->type),
qPrint(root->parent()->name),
qPrint(root->name),
@@ -3345,7 +3345,7 @@ static void addMethodToClass(Entry *root,ClassDef *cd,
fileName = root->tagInfo->tagName;
}
- //printf("root->name=`%s; root->args=`%s' root->argList=`%s'\n",
+ //printf("root->name='%s; root->args='%s' root->argList='%s'\n",
// root->name.data(),root->args.data(),argListToString(root->argList).data()
// );
@@ -3446,8 +3446,8 @@ static void addMethodToClass(Entry *root,ClassDef *cd,
Debug::print(Debug::Functions,0,
" Func Member:\n"
- " `%s' `%s'::`%s' `%s' proto=%d\n"
- " def=`%s'\n",
+ " '%s' '%s'::'%s' '%s' proto=%d\n"
+ " def='%s'\n",
qPrint(root->type),
qPrint(qualScope),
qPrint(rname),
@@ -3487,7 +3487,7 @@ static void buildFunctionList(Entry *root)
{
Debug::print(Debug::Functions,0,
"FUNCTION_SEC:\n"
- " `%s' `%s'::`%s' `%s' relates=`%s' relatesType=`%d' file=`%s' line=`%d' bodyLine=`%d' #tArgLists=%d mGrpId=%d spec=%lld proto=%d docFile=%s\n",
+ " '%s' '%s'::'%s' '%s' relates='%s' relatesType='%d' file='%s' line='%d' bodyLine='%d' #tArgLists=%d mGrpId=%d spec=%lld proto=%d docFile=%s\n",
qPrint(root->type),
qPrint(root->parent()->name),
qPrint(root->name),
@@ -3747,7 +3747,7 @@ static void buildFunctionList(Entry *root)
if (!found) /* global function is unique with respect to the file */
{
Debug::print(Debug::Functions,0," --> new function %s found!\n",qPrint(rname));
- //printf("New function type=`%s' name=`%s' args=`%s' bodyLine=%d\n",
+ //printf("New function type='%s' name='%s' args='%s' bodyLine=%d\n",
// root->type.data(),rname.data(),root->args.data(),root->bodyLine);
// new global function
@@ -3825,8 +3825,8 @@ static void buildFunctionList(Entry *root)
}
Debug::print(Debug::Functions,0,
" Global Function:\n"
- " `%s' `%s'::`%s' `%s' proto=%d\n"
- " def=`%s'\n",
+ " '%s' '%s'::'%s' '%s' proto=%d\n"
+ " def='%s'\n",
qPrint(root->type),
qPrint(root->parent()->name),
qPrint(rname),
@@ -3892,7 +3892,7 @@ static void buildFunctionList(Entry *root)
}
}
- //printf("unrelated function %d `%s' `%s' `%s'\n",
+ //printf("unrelated function %d '%s' '%s' '%s'\n",
// root->parent->section,root->type.data(),rname.data(),root->args.data());
}
else
@@ -3919,7 +3919,7 @@ static void findFriends()
MemberName *fn;
for (;(fn=fnli.current());++fnli) // for each global function name
{
- //printf("Function name=`%s'\n",fn->memberName());
+ //printf("Function name='%s'\n",fn->memberName());
MemberName *mn;
if ((mn=Doxygen::memberNameSDict->find(fn->memberName())))
{ // there are members with the same name
@@ -4146,7 +4146,7 @@ static void transferRelatedFunctionDocumentation()
/* find a matching function declaration and definition for this function */
for (mni.toFirst();(md=mni.current());++mni) // for each global function
{
- //printf(" Function `%s'\n",md->name().data());
+ //printf(" Function '%s'\n",md->name().data());
MemberName *rmn;
if ((rmn=Doxygen::memberNameSDict->find(md->name()))) // check if there is a member with the same name
{
@@ -4155,7 +4155,7 @@ static void transferRelatedFunctionDocumentation()
MemberNameIterator rmni(*rmn);
for (rmni.toFirst();(rmd=rmni.current());++rmni) // for each member with the same name
{
- //printf(" Member found: related=`%d'\n",rmd->isRelated());
+ //printf(" Member found: related='%d'\n",rmd->isRelated());
if ((rmd->isRelated() || rmd->isForeign()) && // related function
!md->isAlias() && !rmd->isAlias() &&
matchArguments2( md->getOuterScope(), md->getFileDef(), md->argumentList(),
@@ -4164,7 +4164,7 @@ static void transferRelatedFunctionDocumentation()
)
)
{
- //printf(" Found related member `%s'\n",md->name().data());
+ //printf(" Found related member '%s'\n",md->name().data());
if (rmd->relatedAlso())
md->setRelatedAlso(rmd->relatedAlso());
else if (rmd->isForeign())
@@ -4344,7 +4344,7 @@ static void findUsedClassesForClass(Entry *root,
if (arg->name==usedName) // type is a template argument
{
found=TRUE;
- Debug::print(Debug::Classes,0," New used class `%s'\n", qPrint(usedName));
+ Debug::print(Debug::Classes,0," New used class '%s'\n", qPrint(usedName));
ClassDef *usedCd = Doxygen::hiddenClasses->find(usedName);
if (usedCd==0)
@@ -4361,7 +4361,7 @@ static void findUsedClassesForClass(Entry *root,
Doxygen::hiddenClasses->append(usedName,usedCd);
}
if (isArtificial) usedCd->setArtificial(TRUE);
- Debug::print(Debug::Classes,0," Adding used class `%s' (1)\n", qPrint(usedCd->name()));
+ Debug::print(Debug::Classes,0," Adding used class '%s' (1)\n", qPrint(usedCd->name()));
instanceCd->addUsedClass(usedCd,md->name(),md->protection());
usedCd->addUsedByClass(instanceCd,md->name(),md->protection());
}
@@ -4377,7 +4377,7 @@ static void findUsedClassesForClass(Entry *root,
if (usedCd)
{
found=TRUE;
- Debug::print(Debug::Classes,0," Adding used class `%s' (2)\n", qPrint(usedCd->name()));
+ Debug::print(Debug::Classes,0," Adding used class '%s' (2)\n", qPrint(usedCd->name()));
instanceCd->addUsedClass(usedCd,md->name(),md->protection()); // class exists
usedCd->addUsedByClass(instanceCd,md->name(),md->protection());
}
@@ -4397,7 +4397,7 @@ static void findUsedClassesForClass(Entry *root,
{
type+=md->argsString();
}
- Debug::print(Debug::Classes,0," New undocumented used class `%s'\n", qPrint(type));
+ Debug::print(Debug::Classes,0," New undocumented used class '%s'\n", qPrint(type));
usedCd = createClassDef(
masterCd->getDefFileName(),masterCd->getDefLine(),
masterCd->getDefColumn(),
@@ -4409,7 +4409,7 @@ static void findUsedClassesForClass(Entry *root,
if (usedCd)
{
if (isArtificial) usedCd->setArtificial(TRUE);
- Debug::print(Debug::Classes,0," Adding used class `%s' (3)\n", qPrint(usedCd->name()));
+ Debug::print(Debug::Classes,0," Adding used class '%s' (3)\n", qPrint(usedCd->name()));
instanceCd->addUsedClass(usedCd,md->name(),md->protection());
usedCd->addUsedByClass(instanceCd,md->name(),md->protection());
}
@@ -4673,7 +4673,7 @@ static bool findClassRelation(
QCString biName=bi->name;
bool explicitGlobalScope=FALSE;
- //printf("findClassRelation: biName=`%s'\n",biName.data());
+ //printf("findClassRelation: biName='%s'\n",biName.data());
if (biName.left(2)=="::") // explicit global scope
{
biName=biName.right(biName.length()-2);
@@ -4689,7 +4689,7 @@ static bool findClassRelation(
int scopeOffset=explicitGlobalScope ? 0 : scopeName.length();
do // try all parent scope prefixes, starting with the largest scope
{
- //printf("scopePrefix=`%s' biName=`%s'\n",
+ //printf("scopePrefix='%s' biName='%s'\n",
// scopeName.left(scopeOffset).data(),biName.data());
QCString baseClassName=biName;
@@ -4713,7 +4713,7 @@ static bool findClassRelation(
);
//printf("baseClassName=%s baseClass=%p cd=%p explicitGlobalScope=%d\n",
// baseClassName.data(),baseClass,cd,explicitGlobalScope);
- //printf(" scope=`%s' baseClassName=`%s' baseClass=%s templSpec=%s\n",
+ //printf(" scope='%s' baseClassName='%s' baseClass=%s templSpec=%s\n",
// cd ? cd->name().data():"<none>",
// baseClassName.data(),
// baseClass?baseClass->name().data():"<none>",
@@ -4844,7 +4844,7 @@ static bool findClassRelation(
//printf("3. found=%d\n",found);
if (found)
{
- Debug::print(Debug::Classes,0," Documented base class `%s' templSpec=%s\n",qPrint(biName),qPrint(templSpec));
+ Debug::print(Debug::Classes,0," Documented base class '%s' templSpec=%s\n",qPrint(biName),qPrint(templSpec));
// add base class to this class
// if templSpec is not empty then we should "instantiate"
@@ -4899,7 +4899,7 @@ static bool findClassRelation(
else if (mode==Undocumented && (scopeOffset==0 || isATemplateArgument))
{
Debug::print(Debug::Classes,0,
- " New undocumented base class `%s' baseClassName=%s templSpec=%s isArtificial=%d\n",
+ " New undocumented base class '%s' baseClassName=%s templSpec=%s isArtificial=%d\n",
qPrint(biName),qPrint(baseClassName),qPrint(templSpec),isArtificial
);
baseClass=0;
@@ -4959,7 +4959,7 @@ static bool findClassRelation(
}
else
{
- Debug::print(Debug::Classes,0," Base class `%s' not found\n",qPrint(biName));
+ Debug::print(Debug::Classes,0," Base class '%s' not found\n",qPrint(biName));
}
}
else
@@ -4984,7 +4984,7 @@ static bool findClassRelation(
{
scopeOffset=0;
}
- //printf("new scopeOffset=`%d'",scopeOffset);
+ //printf("new scopeOffset='%d'",scopeOffset);
} while (scopeOffset>=0);
if (parentNode==0)
@@ -5329,8 +5329,8 @@ static void generateXRefPages()
}
//----------------------------------------------------------------------
-// Copy the documentation in entry `root' to member definition `md' and
-// set the function declaration of the member to `funcDecl'. If the boolean
+// Copy the documentation in entry 'root' to member definition 'md' and
+// set the function declaration of the member to 'funcDecl'. If the boolean
// over_load is set the standard overload text is added.
static void addMemberDocs(Entry *root,
@@ -5340,7 +5340,7 @@ static void addMemberDocs(Entry *root,
NamespaceSDict *
)
{
- //printf("addMemberDocs: `%s'::`%s' `%s' funcDecl=`%s' mSpec=%d\n",
+ //printf("addMemberDocs: '%s'::'%s' '%s' funcDecl='%s' mSpec=%d\n",
// root->parent->name.data(),md->name().data(),md->argsString(),funcDecl,root->spec);
QCString fDecl=funcDecl;
// strip extern specifier
@@ -5485,9 +5485,9 @@ static ClassDef *findClassDefinition(FileDef *fd,NamespaceDef *nd,
//----------------------------------------------------------------------
-// Adds the documentation contained in `root' to a global function
-// with name `name' and argument list `args' (for overloading) and
-// function declaration `decl' to the corresponding member definition.
+// Adds the documentation contained in 'root' to a global function
+// with name 'name' and argument list 'args' (for overloading) and
+// function declaration 'decl' to the corresponding member definition.
static bool findGlobalMember(Entry *root,
const QCString &namespaceName,
@@ -5542,10 +5542,10 @@ static bool findGlobalMember(Entry *root,
if ((namespaceName.isEmpty() && nd==0) || // not in a namespace
(nd && nd->name()==namespaceName) || // or in the same namespace
- viaUsingDirective // member in `using' namespace
+ viaUsingDirective // member in 'using' namespace
)
{
- Debug::print(Debug::FindMembers,0,"4. Try to add member `%s' to scope `%s'\n",
+ Debug::print(Debug::FindMembers,0,"4. Try to add member '%s' to scope '%s'\n",
qPrint(md->name()),qPrint(namespaceName));
NamespaceDef *rnd = 0;
@@ -5641,7 +5641,7 @@ static bool findGlobalMember(Entry *root,
)
{
warn(root->fileName,root->startLine,
- "documented symbol `%s' was not declared or defined.",decl
+ "documented symbol '%s' was not declared or defined.",decl
);
}
}
@@ -5822,7 +5822,7 @@ static void findMember(Entry *root,
)
{
Debug::print(Debug::FindMembers,0,
- "findMember(root=%p,funcDecl=`%s',related=`%s',overload=%d,"
+ "findMember(root=%p,funcDecl='%s',related='%s',overload=%d,"
"isFunc=%d mGrpId=%d tArgList=%p (#=%d) "
"spec=%lld lang=%x\n",
root,qPrint(funcDecl),qPrint(root->relates),overloaded,isFunc,root->mGrpId,
@@ -5891,7 +5891,7 @@ static void findMember(Entry *root,
" ::","::"
).stripWhiteSpace();
- //printf("funcDecl=`%s'\n",funcDecl.data());
+ //printf("funcDecl='%s'\n",funcDecl.data());
if (isFriend && funcDecl.left(6)=="class ")
{
//printf("friend class\n");
@@ -5910,14 +5910,14 @@ static void findMember(Entry *root,
funcArgs,funcTempList,exceptions
);
}
- //printf("scopeName=`%s' funcType=`%s' funcName=`%s' funcArgs=`%s'\n",
+ //printf("scopeName='%s' funcType='%s' funcName='%s' funcArgs='%s'\n",
// scopeName.data(),funcType.data(),funcName.data(),funcArgs.data());
// the class name can also be a namespace name, we decide this later.
// if a related class name is specified and the class name could
// not be derived from the function declaration, then use the
// related field.
- //printf("scopeName=`%s' className=`%s' namespaceName=`%s'\n",
+ //printf("scopeName='%s' className='%s' namespaceName='%s'\n",
// scopeName.data(),className.data(),namespaceName.data());
if (!root->relates.isEmpty())
{ // related member, prefix user specified scope
@@ -5993,13 +5993,13 @@ static void findMember(Entry *root,
// split scope into a namespace and a class part
extractNamespaceName(scopeName,className,namespaceName,TRUE);
- //printf("scopeName=`%s' className=`%s' namespaceName=`%s'\n",
+ //printf("scopeName='%s' className='%s' namespaceName='%s'\n",
// scopeName.data(),className.data(),namespaceName.data());
//namespaceName=removeAnonymousScopes(namespaceName);
if (namespaceName.find('@')!=-1) return; // skip stuff in anonymous namespace...
- //printf("namespaceName=`%s' className=`%s'\n",namespaceName.data(),className.data());
+ //printf("namespaceName='%s' className='%s'\n",namespaceName.data(),className.data());
// merge class and namespace scopes again
scopeName.resize(0);
if (!namespaceName.isEmpty())
@@ -6022,7 +6022,7 @@ static void findMember(Entry *root,
{
scopeName=className;
}
- //printf("new scope=`%s'\n",scopeName.data());
+ //printf("new scope='%s'\n",scopeName.data());
QCString tempScopeName=scopeName;
ClassDef *cd=getClass(scopeName);
@@ -6041,7 +6041,7 @@ static void findMember(Entry *root,
//printf("scopeName=%s cd=%p root->tArgLists=%p result=%s\n",
// scopeName.data(),cd,root->tArgLists,tempScopeName.data());
- //printf("scopeName=`%s' className=`%s'\n",scopeName.data(),className.data());
+ //printf("scopeName='%s' className='%s'\n",scopeName.data(),className.data());
// rebuild the function declaration (needed to get the scope right).
if (!scopeName.isEmpty() && !isRelated && !isFriend && !Config_getBool(HIDE_SCOPE_NAMES))
{
@@ -6062,7 +6062,7 @@ static void findMember(Entry *root,
{
funcDecl=tempScopeName+"::"+funcName+funcTempList;
}
- else // variable => add `argument' list
+ else // variable => add 'argument' list
{
funcDecl=tempScopeName+"::"+funcName+funcArgs;
}
@@ -6076,7 +6076,7 @@ static void findMember(Entry *root,
{
funcDecl=funcType+" "+funcName+funcTempList;
}
- else // variable => add `argument' list
+ else // variable => add 'argument' list
{
funcDecl=funcType+" "+funcName+funcArgs;
}
@@ -6099,16 +6099,16 @@ static void findMember(Entry *root,
Debug::print(Debug::FindMembers,0,
"findMember() Parse results:\n"
- " namespaceName=`%s'\n"
+ " namespaceName='%s'\n"
" className=`%s`\n"
- " funcType=`%s'\n"
- " funcSpec=`%s'\n"
- " funcName=`%s'\n"
- " funcArgs=`%s'\n"
- " funcTempList=`%s'\n"
- " funcDecl=`%s'\n"
- " related=`%s'\n"
- " exceptions=`%s'\n"
+ " funcType='%s'\n"
+ " funcSpec='%s'\n"
+ " funcName='%s'\n"
+ " funcArgs='%s'\n"
+ " funcTempList='%s'\n"
+ " funcDecl='%s'\n"
+ " related='%s'\n"
+ " exceptions='%s'\n"
" isRelated=%d\n"
" isMemberOf=%d\n"
" isFriend=%d\n"
@@ -6123,7 +6123,7 @@ static void findMember(Entry *root,
if (!funcName.isEmpty()) // function name is valid
{
Debug::print(Debug::FindMembers,0,
- "1. funcName=`%s'\n",funcName.data());
+ "1. funcName='%s'\n",funcName.data());
if (funcName.left(9)=="operator ") // strip class scope from cast operator
{
funcName = substitute(funcName,className+"::","");
@@ -6154,7 +6154,7 @@ static void findMember(Entry *root,
ClassDef *cd=md->getClassDef();
Debug::print(Debug::FindMembers,0,
"3. member definition found, "
- "scope needed=`%s' scope=`%s' args=`%s' fileName=%s\n",
+ "scope needed='%s' scope='%s' args='%s' fileName=%s\n",
qPrint(scopeName),cd ? qPrint(cd->name()) : "<none>",
qPrint(md->argsString()),
qPrint(root->fileName));
@@ -6223,7 +6223,7 @@ static void findMember(Entry *root,
}
Debug::print(Debug::FindMembers,0,
- "5. matching `%s'<=>`%s' className=%s namespaceName=%s\n",
+ "5. matching '%s'<=>'%s' className=%s namespaceName=%s\n",
qPrint(argListToString(argList,TRUE)),qPrint(argListToString(root->argList,TRUE)),
qPrint(className),qPrint(namespaceName)
);
@@ -6477,7 +6477,7 @@ static void findMember(Entry *root,
declMd ? declMd->protection() : root->protection,
root->virt,root->stat,Member,
mtype,tArgList,root->argList,root->metaData);
- //printf("new specialized member %s args=`%s'\n",md->name().data(),funcArgs.data());
+ //printf("new specialized member %s args='%s'\n",md->name().data(),funcArgs.data());
md->setTagInfo(root->tagInfo);
md->setLanguage(root->lang);
md->setId(root->id);
@@ -6540,7 +6540,7 @@ static void findMember(Entry *root,
// new overloaded member function
ArgumentList *tArgList =
getTemplateArgumentsFromName(cd->name()+"::"+funcName,root->tArgLists);
- //printf("new related member %s args=`%s'\n",md->name().data(),funcArgs.data());
+ //printf("new related member %s args='%s'\n",md->name().data(),funcArgs.data());
MemberDef *md=createMemberDef(
root->fileName,root->startLine,root->startColumn,
funcType,funcName,funcArgs,exceptions,
@@ -6595,7 +6595,7 @@ static void findMember(Entry *root,
" scopeName=%s className=%s\n",qPrint(scopeName),qPrint(className));
if (className.isEmpty()) className=root->relates;
ClassDef *cd;
- //printf("scopeName=`%s' className=`%s'\n",scopeName.data(),className.data());
+ //printf("scopeName='%s' className='%s'\n",scopeName.data(),className.data());
if ((cd=getClass(scopeName)))
{
bool newMember=TRUE; // assume we have a new member
@@ -6668,7 +6668,7 @@ static void findMember(Entry *root,
funcDecl=funcType + " " + funcName;
}
- //printf("New related name `%s' `%d'\n",funcName.data(),
+ //printf("New related name '%s' '%d'\n",funcName.data(),
// root->argList ? (int)root->argList->count() : -1);
// first note that we pass:
@@ -6709,7 +6709,7 @@ static void findMember(Entry *root,
- //printf("Related member name=`%s' decl=`%s' bodyLine=`%d'\n",
+ //printf("Related member name='%s' decl='%s' bodyLine='%d'\n",
// funcName.data(),funcDecl.data(),root->bodyLine);
// try to find the matching line number of the body from the
@@ -6805,7 +6805,7 @@ static void findMember(Entry *root,
else
{
warn_undoc(root->fileName,root->startLine,
- "class `%s' for related function `%s' is not "
+ "class '%s' for related function '%s' is not "
"documented.",
className.data(),funcName.data()
);
@@ -6815,12 +6815,12 @@ static void findMember(Entry *root,
{
localObjCMethod:
ClassDef *cd;
- //printf("scopeName=`%s' className=`%s'\n",scopeName.data(),className.data());
+ //printf("scopeName='%s' className='%s'\n",scopeName.data(),className.data());
if (Config_getBool(EXTRACT_LOCAL_METHODS) && (cd=getClass(scopeName)))
{
Debug::print(Debug::FindMembers,0,"4. Local objective C method %s\n"
" scopeName=%s className=%s\n",qPrint(root->name),qPrint(scopeName),qPrint(className));
- //printf("Local objective C method `%s' of class `%s' found\n",root->name.data(),cd->name().data());
+ //printf("Local objective C method '%s' of class '%s' found\n",root->name.data(),cd->name().data());
MemberDef *md=createMemberDef(
root->fileName,root->startLine,root->startColumn,
funcType,funcName,funcArgs,exceptions,
@@ -6872,14 +6872,14 @@ localObjCMethod:
if (className.isEmpty() && !globMem)
{
warn(root->fileName,root->startLine,
- "class for member `%s' cannot "
+ "class for member '%s' cannot "
"be found.", funcName.data()
);
}
else if (!className.isEmpty() && !globMem)
{
warn(root->fileName,root->startLine,
- "member `%s' of class `%s' cannot be found",
+ "member '%s' of class '%s' cannot be found",
funcName.data(),className.data());
}
}
@@ -6901,7 +6901,7 @@ static void filterMemberDocumentation(Entry *root)
{
int i=-1,l;
Debug::print(Debug::FindMembers,0,
- "findMemberDocumentation(): root->type=`%s' root->inside=`%s' root->name=`%s' root->args=`%s' section=%x root->spec=%lld root->mGrpId=%d\n",
+ "findMemberDocumentation(): root->type='%s' root->inside='%s' root->name='%s' root->args='%s' section=%x root->spec=%lld root->mGrpId=%d\n",
qPrint(root->type),qPrint(root->inside),qPrint(root->name),qPrint(root->args),root->section,root->spec,root->mGrpId
);
//printf("root->parent()->name=%s\n",root->parent()->name.data());
@@ -6935,7 +6935,7 @@ static void filterMemberDocumentation(Entry *root)
//printf("Member %s isFunc=%d\n",root->name.data(),isFunc);
if (root->section==Entry::MEMBERDOC_SEC)
{
- //printf("Documentation for inline member `%s' found args=`%s'\n",
+ //printf("Documentation for inline member '%s' found args='%s'\n",
// root->name.data(),root->args.data());
//if (root->relates.length()) printf(" Relates %s\n",root->relates.data());
if (root->type.isEmpty())
@@ -6963,7 +6963,7 @@ static void filterMemberDocumentation(Entry *root)
)
)
{
- //printf("Documentation for member `%s' found args=`%s' excp=`%s'\n",
+ //printf("Documentation for member '%s' found args='%s' excp='%s'\n",
// root->name.data(),root->args.data(),root->exception.data());
//if (root->relates.length()) printf(" Relates %s\n",root->relates.data());
//printf("Inside=%s\n Relates=%s\n",root->inside.data(),root->relates.data());
@@ -7087,7 +7087,7 @@ static void findEnums(Entry *root)
bool isGlobal;
bool isRelated=FALSE;
bool isMemberOf=FALSE;
- //printf("Found enum with name `%s' relates=%s\n",root->name.data(),root->relates.data());
+ //printf("Found enum with name '%s' relates=%s\n",root->name.data(),root->relates.data());
int i;
QCString name;
@@ -7124,7 +7124,7 @@ static void findEnums(Entry *root)
if (cd && !name.isEmpty()) // found a enum inside a compound
{
- //printf("Enum `%s'::`%s'\n",cd->name().data(),name.data());
+ //printf("Enum '%s'::'%s'\n",cd->name().data(),name.data());
fd=0;
mnsd=Doxygen::memberNameSDict;
isGlobal=FALSE;
@@ -7265,7 +7265,7 @@ static void addEnumValuesToEnums(Entry *root)
MemberNameSDict *mnsd=0;
bool isGlobal;
bool isRelated=FALSE;
- //printf("Found enum with name `%s' relates=%s\n",root->name.data(),root->relates.data());
+ //printf("Found enum with name '%s' relates=%s\n",root->name.data(),root->relates.data());
int i;
QCString name;
@@ -7301,21 +7301,21 @@ static void addEnumValuesToEnums(Entry *root)
if (cd && !name.isEmpty()) // found a enum inside a compound
{
- //printf("Enum in class `%s'::`%s'\n",cd->name().data(),name.data());
+ //printf("Enum in class '%s'::'%s'\n",cd->name().data(),name.data());
fd=0;
mnsd=Doxygen::memberNameSDict;
isGlobal=FALSE;
}
else if (nd && !nd->name().isEmpty() && nd->name().at(0)!='@') // found enum inside namespace
{
- //printf("Enum in namespace `%s'::`%s'\n",nd->name().data(),name.data());
+ //printf("Enum in namespace '%s'::'%s'\n",nd->name().data(),name.data());
mnsd=Doxygen::functionNameSDict;
isGlobal=TRUE;
}
else // found a global enum
{
fd=root->fileDef();
- //printf("Enum in file `%s': `%s'\n",fd->name().data(),name.data());
+ //printf("Enum in file '%s': '%s'\n",fd->name().data(),name.data());
mnsd=Doxygen::functionNameSDict;
isGlobal=TRUE;
}
@@ -7482,7 +7482,7 @@ static void findEnumDocumentation(Entry *root)
&& root->name.at(0)!='@' // skip anonymous enums
)
{
- //printf("Found docs for enum with name `%s' in context %s\n",
+ //printf("Found docs for enum with name '%s' in context %s\n",
// root->name.data(),root->parent->name.data());
int i;
QCString name;
@@ -7491,7 +7491,7 @@ static void findEnumDocumentation(Entry *root)
{
name=root->name.right(root->name.length()-i-2); // extract name
scope=root->name.left(i); // extract scope
- //printf("Scope=`%s' Name=`%s'\n",scope.data(),name.data());
+ //printf("Scope='%s' Name='%s'\n",scope.data(),name.data());
}
else // just the name
{
@@ -7511,7 +7511,7 @@ static void findEnumDocumentation(Entry *root)
bool found=FALSE;
if (cd)
{
- //printf("Enum: scope=`%s' name=`%s'\n",cd->name(),name.data());
+ //printf("Enum: scope='%s' name='%s'\n",cd->name(),name.data());
QCString className=cd->name().copy();
MemberName *mn=Doxygen::memberNameSDict->find(name);
if (mn)
@@ -7602,7 +7602,7 @@ static void findEnumDocumentation(Entry *root)
if (!found)
{
warn(root->fileName,root->startLine,
- "Documentation for undefined enum `%s' found.",
+ "Documentation for undefined enum '%s' found.",
name.data()
);
}
@@ -7728,9 +7728,9 @@ static void vhdlCorrectMemberProperties()
//----------------------------------------------------------------------
-// computes the relation between all members. For each member `m'
-// the members that override the implementation of `m' are searched and
-// the member that `m' overrides is searched.
+// computes the relation between all members. For each member 'm'
+// the members that override the implementation of 'm' are searched and
+// the member that 'm' overrides is searched.
static void computeMemberRelations()
{
@@ -7750,7 +7750,7 @@ static void computeMemberRelations()
if (mcd && mcd->baseClasses())
{
const ClassDef *bmcd = bmd->getClassDef();
- //printf("Check relation between `%s'::`%s' (%p) and `%s'::`%s' (%p)\n",
+ //printf("Check relation between '%s'::'%s' (%p) and '%s'::'%s' (%p)\n",
// mcd->name().data(),md->name().data(),md,
// bmcd->name().data(),bmd->name().data(),bmd
// );
@@ -7768,7 +7768,7 @@ static void computeMemberRelations()
//printf(" derived scope\n");
ArgumentList *bmdAl = bmd->argumentList();
ArgumentList *mdAl = md->argumentList();
- //printf(" Base argList=`%s'\n Super argList=`%s'\n",
+ //printf(" Base argList='%s'\n Super argList='%s'\n",
// argListToString(bmdAl.pointer()).data(),
// argListToString(mdAl.pointer()).data()
// );
@@ -8097,7 +8097,7 @@ static void addSourceReferences()
(fd->generateSourceFile() || Doxygen::parseSourcesNeeded)
)
{
- //printf("Found member `%s' in file `%s' at line `%d' def=%s\n",
+ //printf("Found member '%s' in file '%s' at line '%d' def=%s\n",
// md->name().data(),fd->name().data(),md->getStartBodyLine(),md->getOuterScope()->name().data());
fd->addSourceRef(md->getStartBodyLine(),md->getOuterScope(),md);
}
@@ -8122,7 +8122,7 @@ static void addSourceReferences()
(fd->generateSourceFile() || Doxygen::parseSourcesNeeded)
)
{
- //printf("Found member `%s' in file `%s' at line `%d' def=%s\n",
+ //printf("Found member '%s' in file '%s' at line '%d' def=%s\n",
// md->name().data(),fd->name().data(),md->getStartBodyLine(),md->getOuterScope()->name().data());
fd->addSourceRef(md->getStartBodyLine(),md->getOuterScope(),md);
}
@@ -8302,7 +8302,7 @@ static void inheritDocumentation()
MemberDef *md;
for (;(md=mni.current());++mni)
{
- //printf("%04d Member `%s'\n",count++,md->name().data());
+ //printf("%04d Member '%s'\n",count++,md->name().data());
if (md->documentation().isEmpty() && md->briefDescription().isEmpty())
{ // no documentation yet
MemberDef *bmd = md->reimplements();
@@ -8595,7 +8595,7 @@ static void findDefineDocumentation(Entry *root)
root->section==Entry::DEFINE_SEC) && !root->name.isEmpty()
)
{
- //printf("found define `%s' `%s' brief=`%s' doc=`%s'\n",
+ //printf("found define '%s' '%s' brief='%s' doc='%s'\n",
// root->name.data(),root->args.data(),root->brief.data(),root->doc.data());
if (root->tagInfo && !root->name.isEmpty()) // define read from a tag file
@@ -8605,7 +8605,7 @@ static void findDefineDocumentation(Entry *root)
Public,Normal,FALSE,Member,MemberType_Define,0,0,"");
md->setTagInfo(root->tagInfo);
md->setLanguage(root->lang);
- //printf("Searching for `%s' fd=%p\n",filePathName.data(),fd);
+ //printf("Searching for '%s' fd=%p\n",filePathName.data(),fd);
md->setFileDef(root->parent()->fileDef());
//printf("Adding member=%s\n",md->name().data());
MemberName *mn;
@@ -8950,7 +8950,7 @@ static void resolveUserReferences()
SectionInfo *si;
for (;(si=sdi.current());++sdi)
{
- //printf("si->label=`%s' si->definition=%s si->fileName=`%s'\n",
+ //printf("si->label='%s' si->definition=%s si->fileName='%s'\n",
// si->label.data(),si->definition?si->definition->name().data():"<none>",
// si->fileName.data());
PageDef *pd=0;
@@ -9252,7 +9252,7 @@ static void generateConfigFile(const char *configFile,bool shortList,
{
if (!updateOnly)
{
- msg("\n\nConfiguration file `%s' created.\n\n",configFile);
+ msg("\n\nConfiguration file '%s' created.\n\n",configFile);
msg("Now edit the configuration file and enter\n\n");
if (qstrcmp(configFile,"Doxyfile") || qstrcmp(configFile,"doxyfile"))
msg(" doxygen %s\n\n",configFile);
@@ -9262,7 +9262,7 @@ static void generateConfigFile(const char *configFile,bool shortList,
}
else
{
- msg("\n\nConfiguration file `%s' updated.\n\n",configFile);
+ msg("\n\nConfiguration file '%s' updated.\n\n",configFile);
}
}
}
@@ -9325,15 +9325,15 @@ static void readTagFile(Entry *root,const char *tl)
QFileInfo fi(fileName);
if (!fi.exists() || !fi.isFile())
{
- err("Tag file `%s' does not exist or is not a file. Skipping it...\n",
+ err("Tag file '%s' does not exist or is not a file. Skipping it...\n",
fileName.data());
return;
}
if (!destName.isEmpty())
- msg("Reading tag file `%s', location `%s'...\n",fileName.data(),destName.data());
+ msg("Reading tag file '%s', location '%s'...\n",fileName.data(),destName.data());
else
- msg("Reading tag file `%s'...\n",fileName.data());
+ msg("Reading tag file '%s'...\n",fileName.data());
parseTagFile(root,fi.absFilePath().utf8());
}
@@ -9692,8 +9692,8 @@ static QCString resolveSymlink(QCString path)
static QDict<void> g_pathsVisited(1009);
//----------------------------------------------------------------------------
-// Read all files matching at least one pattern in `patList' in the
-// directory represented by `fi'.
+// Read all files matching at least one pattern in 'patList' in the
+// directory represented by 'fi'.
// The directory is read iff the recusiveFlag is set.
// The contents of all files is append to the input string
@@ -9803,7 +9803,7 @@ int readDir(QFileInfo *fi,
//----------------------------------------------------------------------------
// read a file or all files in a directory and append their contents to the
-// input string. The names of the files are appended to the `fiList' list.
+// input string. The names of the files are appended to the 'fiList' list.
int readFileOrDirectory(const char *s,
FileNameList *fnList,
@@ -10033,7 +10033,7 @@ void readAliases()
{
QCString name=alias.left(i).stripWhiteSpace();
QCString value=alias.right(alias.length()-i-1);
- //printf("Alias: found name=`%s' value=`%s'\n",name.data(),value.data());
+ //printf("Alias: found name='%s' value='%s'\n",name.data(),value.data());
if (!name.isEmpty())
{
QCString *dn=Doxygen::aliasDict[name];
@@ -10150,13 +10150,13 @@ static void usage(const char *name)
msg(" %s -f emoji outputFileName\n\n",name);
msg(" If - is used for outputFileName doxygen will write to standard output.\n\n");
msg("If -s is specified the comments of the configuration items in the config file will be omitted.\n");
- msg("If configName is omitted `Doxyfile' will be used as a default.\n\n");
+ msg("If configName is omitted 'Doxyfile' will be used as a default.\n\n");
msg("-v print version string\n");
}
//----------------------------------------------------------------------------
-// read the argument of option `c' from the comment argument list and
-// update the option index `optind'.
+// read the argument of option 'c' from the comment argument list and
+// update the option index 'optind'.
static const char *getArg(int argc,char **argv,int &optind)
{
@@ -11143,14 +11143,14 @@ void parseInput()
dir.setPath(QDir::currentDirPath());
if (!dir.mkdir(outputDirectory))
{
- err("tag OUTPUT_DIRECTORY: Output directory `%s' does not "
+ err("tag OUTPUT_DIRECTORY: Output directory '%s' does not "
"exist and cannot be created\n",outputDirectory.data());
cleanUpDoxygen();
exit(1);
}
else
{
- msg("Notice: Output directory `%s' does not exist. "
+ msg("Notice: Output directory '%s' does not exist. "
"I have created it for you.\n", outputDirectory.data());
}
dir.cd(outputDirectory);