[clang-tools-extra] r254074 - [clang-tidy] Fix a typo in my latest commit.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 25 08:38:22 PST 2015
Author: alexfh
Date: Wed Nov 25 10:38:22 2015
New Revision: 254074
URL: http://llvm.org/viewvc/llvm-project?rev=254074&view=rev
Log:
[clang-tidy] Fix a typo in my latest commit.
Modified:
clang-tools-extra/trunk/clang-tidy/misc/MoveConstantArgumentCheck.cpp
Modified: clang-tools-extra/trunk/clang-tidy/misc/MoveConstantArgumentCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/misc/MoveConstantArgumentCheck.cpp?rev=254074&r1=254073&r2=254074&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/misc/MoveConstantArgumentCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/misc/MoveConstantArgumentCheck.cpp Wed Nov 25 10:38:22 2015
@@ -60,8 +60,8 @@ void MoveConstantArgumentCheck::check(co
SM, getLangOpts());
if (BeforeArgumentsRange.isValid() && AfterArgumentsRange.isValid()) {
- DB << FixItHint::CreateRemoval(BeforeArgumentsRange)
- << FixItHint::CreateRemoval(AfterArgumentsRange);
+ Diag << FixItHint::CreateRemoval(BeforeArgumentsRange)
+ << FixItHint::CreateRemoval(AfterArgumentsRange);
}
}
}
More information about the cfe-commits
mailing list