forked from OSchip/llvm-project
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…
Reference in New Issue