summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-05-31 14:14:42 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-05-31 14:14:42 +0000
commit1cb7ee130048d57e177d9d3fdc6cdb7621bb5d74 (patch)
tree2f5186574a843fb47c4164d2337bf43a37b5ec47
parentf83187deb9c60828359262299135ac9540993b0d (diff)
downloadbcm5719-llvm-1cb7ee130048d57e177d9d3fdc6cdb7621bb5d74.tar.gz
bcm5719-llvm-1cb7ee130048d57e177d9d3fdc6cdb7621bb5d74.zip
Avoid unused variable warning in release builds.
llvm-svn: 271280
-rw-r--r--clang/lib/Format/Format.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 33c3a7f6c08..b5e9369593f 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -1528,6 +1528,7 @@ fixCppIncludeInsertions(StringRef Code, const tooling::Replacements &Replaces,
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);
OpenPOWER on IntegriCloud