[cfe-dev] Get filename from ASTVisitor

suppamax max.giacometti at gmail.com
Sun Apr 21 12:09:42 PDT 2013


Thank you for your reply.

Adding
llvm::errs() << "Filename " <<
SourceManager::getBufferName(v->getLocation()) << "\n";

leads to
error: call to non-static member function without an object argument  



--
View this message in context: http://clang-developers.42468.n3.nabble.com/Get-filename-from-ASTVisitor-tp4031615p4031619.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list