[clang-tools-extra] r303095 - [clang-tidy] Fix a typo: dequeue => deque

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Mon May 15 11:18:28 PDT 2017


Author: hokein
Date: Mon May 15 13:18:28 2017
New Revision: 303095

URL: http://llvm.org/viewvc/llvm-project?rev=303095&view=rev
Log:
[clang-tidy] Fix a typo: dequeue => deque

Modified:
    clang-tools-extra/trunk/clang-tidy/performance/InefficientVectorOperationCheck.cpp

Modified: clang-tools-extra/trunk/clang-tidy/performance/InefficientVectorOperationCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/performance/InefficientVectorOperationCheck.cpp?rev=303095&r1=303094&r2=303095&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/performance/InefficientVectorOperationCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/performance/InefficientVectorOperationCheck.cpp Mon May 15 13:18:28 2017
@@ -55,7 +55,7 @@ static const char RangeLoopName[] = "for
 ast_matchers::internal::Matcher<Expr> supportedContainerTypesMatcher() {
   return hasType(cxxRecordDecl(hasAnyName(
       "::std::vector", "::std::set", "::std::unordered_set", "::std::map",
-      "::std::unordered_map", "::std::array", "::std::dequeue")));
+      "::std::unordered_map", "::std::array", "::std::deque")));
 }
 
 } // namespace




More information about the cfe-commits mailing list