ΒΆstd::map<std::string, Replacements>
groupReplacementsByFile(
clang::FileManager& FileMgr,
const std::map<std::string, Replacements>&
FileToReplaces)
std::map<std::string, Replacements>
groupReplacementsByFile(
clang::FileManager& FileMgr,
const std::map<std::string, Replacements>&
FileToReplaces)
Description
If there are multiple <File , Replacements> pairs with the same file entry, we only keep one pair and discard the rest. If a file does not exist, its corresponding replacements will be ignored.
Declared at: clang/include/clang/Tooling/Core/Replacement.h:354
Parameters
- clang::FileManager& FileMgr
- const std::map<std::string, Replacements>& FileToReplaces