mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 19:26:05 +00:00
Fix gcc build.
llvm-svn: 140073
This commit is contained in:
parent
61d7c8a065
commit
a35c4441b3
@ -111,7 +111,8 @@ struct PPEntityComp {
|
||||
}
|
||||
|
||||
SourceLocation getLoc(PreprocessedEntity *PPE) const {
|
||||
return (PPE->getSourceRange().*getRangeLoc)();
|
||||
SourceRange Range = PPE->getSourceRange();
|
||||
return (Range.*getRangeLoc)();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user