logic: Fixed FilePath to not expand environment variables in constructor

This commit is contained in:
Eberhard Graether
2016-04-19 00:13:02 +02:00
parent a57f24b2b2
commit 7cd38f8e56
13 changed files with 92 additions and 73 deletions
@@ -991,10 +991,10 @@ bool ASTVisitor::VisitTypeLoc(clang::TypeLoc tl)
///////////////////////////////////////////////////////////////////////////////
// Reference recording
static inline bool isNamedDeclUnnamed(clang::NamedDecl *d)
{
return d->getDeclName().isIdentifier() && d->getIdentifier() == NULL;
}
// static inline bool isNamedDeclUnnamed(clang::NamedDecl *d)
// {
// return d->getDeclName().isIdentifier() && d->getIdentifier() == NULL;
// }
ParseLocation ASTVisitor::getDeclRefRange(clang::NamedDecl *decl, clang::SourceLocation loc)
{