File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ class CppProgram
117117 CppCompoundArray fileAsts_; // /< Array of all top level ASTs corresponding to files.
118118 CppTypeTreeNode cppTypeTreeRoot_; // /< Repository of all compound objects arranged as type-tree.
119119 CppObjToTypeNodeMap cppObjToTypeNode_;
120- CppParser parser_;
121120};
122121
123122inline const CppCompoundArray& CppProgram::getFileAsts () const
Original file line number Diff line number Diff line change 3535// ////////////////////////////////////////////////////////////////////////
3636
3737CppProgram::CppProgram (const std::vector<std::string>& files, CppParser parser)
38- : parser_(std::move(parser))
3938{
4039 cppObjToTypeNode_[nullptr ] = &cppTypeTreeRoot_;
4140
4241 for (const auto & f : files)
4342 {
4443 std::cout << " INFO\t Parsing '" << f << " '\n " ;
45- auto cppAst = parser_ .parseFile (f.c_str ());
44+ auto cppAst = parser .parseFile (f.c_str ());
4645 if (cppAst)
4746 addCppAst (std::move (cppAst));
4847 }
You can’t perform that action at this time.
0 commit comments