Skip to content

Commit

Permalink
Update tool.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Jan 31, 2017
1 parent 9538da3 commit dc614f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cpp/tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ namespace clanglite

boost::python::str get_name(clang::ClassTemplateSpecializationDecl * decl)
{
std::map< clang::ClassTemplateSpecializationDecl*, clang::TypeSourceInfo* > mapping;
unset_as_written(mapping, decl);
// std::map< clang::ClassTemplateSpecializationDecl*, clang::TypeSourceInfo* > mapping;
// unset_as_written(mapping, decl);
std::string spelling = "";
llvm::raw_string_ostream os(spelling);
os << decl->getName();
Expand All @@ -188,7 +188,7 @@ namespace clanglite
args.size(),
policy);
std::string res = os.str();
set_as_written(mapping, decl);
// set_as_written(mapping, decl);
return boost::python::str(res);
}

Expand Down

0 comments on commit dc614f0

Please sign in to comment.