Skip to content

Commit 417b29d

Browse files
committed
Merge branch '132931-clang-tidy-suggests-adding-const-to-arrays-that-are-already-const' of github.com:HerrCai0907/llvm-project into 132931-clang-tidy-suggests-adding-const-to-arrays-that-are-already-const
2 parents 8352c50 + 42466ed commit 417b29d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ void ConstCorrectnessCheck::check(const MatchFinder::MatchResult &Result) {
161161

162162
VariableCategory VC = VariableCategory::Value;
163163
const QualType VT = Variable->getType();
164-
VT->dump();
165164
if (VT->isReferenceType()) {
166165
VC = VariableCategory::Reference;
167166
} else if (VT->isPointerType()) {
@@ -170,7 +169,6 @@ void ConstCorrectnessCheck::check(const MatchFinder::MatchResult &Result) {
170169
if (ArrayT->getElementType()->isPointerType())
171170
VC = VariableCategory::Pointer;
172171
}
173-
llvm::errs() << (int)VC << "\n";
174172

175173
auto CheckValue = [&]() {
176174
// The scope is only registered if the analysis shall be run.

0 commit comments

Comments
 (0)