Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into win_testing

[ROCm/clr commit: 2f4fc9fd9f]
This commit is contained in:
Evgeny Mankov
2018-01-10 20:37:06 +03:00
commit 98c733f7cc
@@ -25,7 +25,7 @@ ct::Replacements& getReplacements(ct::RefactoringTool& Tool, clang::StringRef fi
void insertReplacement(ct::Replacements& replacements, const ct::Replacement& rep) {
#if LLVM_VERSION_MAJOR > 3
// New clang added error checking to Replacements, and *insists* that you explicitly check it.
llvm::Error e = replacements.add(rep);
llvm::consumeError(replacements.add(rep));
#else
// In older versions, it's literally an std::set<Replacement>
replacements.insert(rep);