r226282 - Attempt to fix the build with XCode 5.0.2 (and probably 5.1.1).
Alexander Kornienko
alexfh at google.com
Fri Jan 16 07:57:15 PST 2015
Author: alexfh
Date: Fri Jan 16 09:57:15 2015
New Revision: 226282
URL: http://llvm.org/viewvc/llvm-project?rev=226282&view=rev
Log:
Attempt to fix the build with XCode 5.0.2 (and probably 5.1.1).
Modified:
cfe/trunk/lib/Tooling/ArgumentsAdjusters.cpp
Modified: cfe/trunk/lib/Tooling/ArgumentsAdjusters.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Tooling/ArgumentsAdjusters.cpp?rev=226282&r1=226281&r2=226282&view=diff
==============================================================================
--- cfe/trunk/lib/Tooling/ArgumentsAdjusters.cpp (original)
+++ cfe/trunk/lib/Tooling/ArgumentsAdjusters.cpp Fri Jan 16 09:57:15 2015
@@ -78,7 +78,9 @@ ArgumentsAdjuster getInsertArgumentAdjus
ArgumentsAdjuster combineAdjusters(ArgumentsAdjuster First,
ArgumentsAdjuster Second) {
- return std::bind(Second, std::bind(First, std::placeholders::_1));
+ return [First, Second](const CommandLineArguments &Args) {
+ return Second(First(Args));
+ };
}
} // end namespace tooling
More information about the cfe-commits
mailing list