summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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