File | Lines added | Lines deleted |
---|---|---|
src/FuncInfo.cpp | 1 | 1 |
src/FuncInfo.hpp | 1 | 1 |
File src/FuncInfo.cpp changed (mode: 100644) (index 1e60f05..1aa4dfa) | |||
27 | 27 | ||
28 | 28 | FuncInfo::FuncInfo(const clang::FunctionDecl *func, | FuncInfo::FuncInfo(const clang::FunctionDecl *func, |
29 | 29 | const clang::SourceManager *sm) | const clang::SourceManager *sm) |
30 | : name(func->getNameAsString()), lineNum(0U) { | ||
30 | : name(func->getNameAsString()) { | ||
31 | 31 | processDeclaration(func, sm); | processDeclaration(func, sm); |
32 | 32 | } | } |
33 | 33 |
File src/FuncInfo.hpp changed (mode: 100644) (index f457706..b0fbc7f) | |||
... | ... | public: | |
53 | 53 | private: | private: |
54 | 54 | const std::string name; | const std::string name; |
55 | 55 | std::string fileName; | std::string fileName; |
56 | unsigned int lineNum; | ||
56 | unsigned int lineNum {0}; | ||
57 | 57 | typedef std::vector<RefInfo> Refs; | typedef std::vector<RefInfo> Refs; |
58 | 58 | Refs calls; | Refs calls; |
59 | 59 | }; | }; |