Author: d0k Date: Tue May 31 09:14:42 2016 New Revision: 271280 URL: http://llvm.org/viewvc/llvm-project?rev=271280&view=rev Log: Avoid unused variable warning in release builds.
Modified: cfe/trunk/lib/Format/Format.cpp Modified: cfe/trunk/lib/Format/Format.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=271280&r1=271279&r2=271280&view=diff ============================================================================== --- cfe/trunk/lib/Format/Format.cpp (original) +++ cfe/trunk/lib/Format/Format.cpp Tue May 31 09:14:42 2016 @@ -1528,6 +1528,7 @@ fixCppIncludeInsertions(StringRef Code, bool Matched = IncludeRegex.match(IncludeDirective, &Matches); assert(Matched && "Header insertion replacement must have replacement text " "'#include ...'"); + (void)Matched; auto IncludeName = Matches[2]; int Category = Categories.getIncludePriority(IncludeName, /*CheckMainHeader=*/true); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits