forked from OSchip/llvm-project
Make sure the 2 method calls are sequenced.
llvm-svn: 243727
This commit is contained in:
parent
fb7d8d9d06
commit
403cbcb84d
|
@ -1074,7 +1074,8 @@ void ASTWriter::WriteBlockInfoBlock() {
|
|||
/// \return \c true if the path was changed.
|
||||
static bool cleanPathForOutput(FileManager &FileMgr,
|
||||
SmallVectorImpl<char> &Path) {
|
||||
return FileMgr.makeAbsolutePath(Path) | FileMgr.removeDotPaths(Path);
|
||||
bool Changed = FileMgr.makeAbsolutePath(Path);
|
||||
return Changed | FileMgr.removeDotPaths(Path);
|
||||
}
|
||||
|
||||
/// \brief Adjusts the given filename to only write out the portion of the
|
||||
|
|
Loading…
Reference in New Issue