summaryrefslogtreecommitdiffstats
path: root/src/clangparser.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-01-01 10:47:41 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-01-01 10:47:41 (GMT)
commit3867926d7162704c8232af95316dbc14e313f9c3 (patch)
tree20fbd3878404a7b15474e9c5e752ae4b6b36160a /src/clangparser.h
parenteec3c9ab5eb881d596b489f1f6024e4ac29f23ce (diff)
downloadDoxygen-3867926d7162704c8232af95316dbc14e313f9c3.zip
Doxygen-3867926d7162704c8232af95316dbc14e313f9c3.tar.gz
Doxygen-3867926d7162704c8232af95316dbc14e313f9c3.tar.bz2
Refactoring: modernise Doxygen::clangUsrMap
Diffstat (limited to 'src/clangparser.h')
-rw-r--r--src/clangparser.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/clangparser.h b/src/clangparser.h
index f948c33..83aafdd 100644
--- a/src/clangparser.h
+++ b/src/clangparser.h
@@ -32,7 +32,7 @@ class ClangTUParser
/** Switches to another file within the translation unit started with start().
* @param[in] fd The file definition with the name of the file to switch to.
*/
- void switchToFile(FileDef *fd);
+ void switchToFile(const FileDef *fd);
/** Returns the list of files for this translation unit */
StringVector filesInSameTU() const;
@@ -46,23 +46,23 @@ class ClangTUParser
* @param[out] ol The output generator list to write to.
* @param[in] fd The file to write sources for.
*/
- void writeSources(CodeOutputInterface &ol,FileDef *fd);
+ void writeSources(CodeOutputInterface &ol,const FileDef *fd);
private:
void detectFunctionBody(const char *s);
- void writeLineNumber(CodeOutputInterface &ol,FileDef *fd,uint line);
- void codifyLines(CodeOutputInterface &ol,FileDef *fd,const char *text,
+ void writeLineNumber(CodeOutputInterface &ol,const FileDef *fd,uint line);
+ void codifyLines(CodeOutputInterface &ol,const FileDef *fd,const char *text,
uint &line,uint &column,const char *fontClass=0);
void writeMultiLineCodeLink(CodeOutputInterface &ol,
- FileDef *fd,uint &line,uint &column,
- Definition *d, const char *text);
- void linkIdentifier(CodeOutputInterface &ol,FileDef *fd,
+ const FileDef *fd,uint &line,uint &column,
+ const Definition *d, const char *text);
+ void linkIdentifier(CodeOutputInterface &ol,const FileDef *fd,
uint &line,uint &column,
const char *text,int tokenIndex);
- void linkMacro(CodeOutputInterface &ol,FileDef *fd,
+ void linkMacro(CodeOutputInterface &ol,const FileDef *fd,
uint &line,uint &column,
const char *text);
- void linkInclude(CodeOutputInterface &ol,FileDef *fd,
+ void linkInclude(CodeOutputInterface &ol,const FileDef *fd,
uint &line,uint &column,
const char *text);
ClangTUParser(const ClangTUParser &) = delete;