Fix gcc build.

llvm-svn: 140073
This commit is contained in:
Argyrios Kyrtzidis 2011-09-19 22:02:08 +00:00
parent 61d7c8a065
commit a35c4441b3
1 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,8 @@ struct PPEntityComp {
}
SourceLocation getLoc(PreprocessedEntity *PPE) const {
return (PPE->getSourceRange().*getRangeLoc)();
SourceRange Range = PPE->getSourceRange();
return (Range.*getRangeLoc)();
}
};