From 948d557b4a61dc14722668b6b11a4cf3cee07b01 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 13 Sep 2019 17:56:30 +0100 Subject: gentoo resync : 13.09.2019 --- dev-util/creduce/files/creduce-2.7.0-llvm-5.patch | 54 ----------------------- 1 file changed, 54 deletions(-) delete mode 100644 dev-util/creduce/files/creduce-2.7.0-llvm-5.patch (limited to 'dev-util/creduce/files/creduce-2.7.0-llvm-5.patch') diff --git a/dev-util/creduce/files/creduce-2.7.0-llvm-5.patch b/dev-util/creduce/files/creduce-2.7.0-llvm-5.patch deleted file mode 100644 index ecf2ac70fa81..000000000000 --- a/dev-util/creduce/files/creduce-2.7.0-llvm-5.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 97e2b29956adbe61973228ef7d8bff28e83d04d4 Mon Sep 17 00:00:00 2001 -From: Yang Chen -Date: Thu, 27 Apr 2017 20:55:32 -0700 -Subject: [PATCH] Fix build failure with LLVM trunk - -Patch provided by Markus Trippelsdorf. Thanks! - -"InputKind was refactored in Clang r301442. - -The IK_Preprocessed* comparisons are superfluous now and can be dropped." ---- - clang_delta/TransformationManager.cpp | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/clang_delta/TransformationManager.cpp b/clang_delta/TransformationManager.cpp -index 8b6bdf454847..5db190cd71d1 100644 ---- a/clang_delta/TransformationManager.cpp -+++ b/clang_delta/TransformationManager.cpp -@@ -101,16 +101,16 @@ bool TransformationManager::initializeCompilerInstance(std::string &ErrorMsg) - CompilerInvocation &Invocation = ClangInstance->getInvocation(); - InputKind IK = FrontendOptions::getInputKindForExtension( - StringRef(SrcFileName).rsplit('.').second); -- if ((IK == IK_C) || (IK == IK_PreprocessedC)) { -- Invocation.setLangDefaults(ClangInstance->getLangOpts(), IK_C, T, PPOpts); -+ if (IK.getLanguage() == InputKind::C) { -+ Invocation.setLangDefaults(ClangInstance->getLangOpts(), InputKind::C, T, PPOpts); - } -- else if ((IK == IK_CXX) || (IK == IK_PreprocessedCXX)) { -+ else if (IK.getLanguage() == InputKind::CXX) { - // ISSUE: it might cause some problems when building AST -- // for a function which has a non-declared callee, e.g., -- // It results an empty AST for the caller. -- Invocation.setLangDefaults(ClangInstance->getLangOpts(), IK_CXX, T, PPOpts); -+ // for a function which has a non-declared callee, e.g., -+ // It results an empty AST for the caller. -+ Invocation.setLangDefaults(ClangInstance->getLangOpts(), InputKind::CXX, T, PPOpts); - } -- else if(IK == IK_OpenCL) { -+ else if(IK.getLanguage() == InputKind::OpenCL) { - //Commandline parameters - std::vector Args; - Args.push_back("-x"); -@@ -135,7 +135,7 @@ bool TransformationManager::initializeCompilerInstance(std::string &ErrorMsg) - &Args[0], &Args[0] + Args.size(), - ClangInstance->getDiagnostics()); - Invocation.setLangDefaults(ClangInstance->getLangOpts(), -- IK_OpenCL, T, PPOpts); -+ InputKind::OpenCL, T, PPOpts); - } - else { - ErrorMsg = "Unsupported file type!"; --- -2.15.1 - -- cgit v1.2.3