Clang: Make it more clear that the FilePathId.filePathId is not shared

The name fileNameId could imply that the id shared for the same file name
which is not the case.

Change-Id: I27310a8994c2d9e9bb0f0aed2094bd988309c710
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2018-01-17 13:52:33 +01:00
parent aefc8cd693
commit fb0b5d9d9b
8 changed files with 24 additions and 25 deletions

View File

@@ -53,7 +53,7 @@ public:
const std::size_t reserveSize = 128;
return locationsStatement.template values<SourceLocation, 4>(reserveSize,
filePathId.fileNameId,
filePathId.filePathId,
line,
utf8Column);
}
@@ -65,7 +65,7 @@ public:
const std::size_t reserveSize = 128;
return locationsStatement.template values<CppTools::Usage, 3>(reserveSize,
filePathId.fileNameId,
filePathId.filePathId,
line,
utf8Column);
}