[clang-tools-extra] 2c2680a - [clangd] NFC: Fix a typo in Tracer name

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 9 12:19:11 PST 2020


Author: Kirill Bobyrev
Date: 2020-11-09T21:18:35+01:00
New Revision: 2c2680a470b59df84db16c4cd876efce91d7d4f2

URL: https://github.com/llvm/llvm-project/commit/2c2680a470b59df84db16c4cd876efce91d7d4f2
DIFF: https://github.com/llvm/llvm-project/commit/2c2680a470b59df84db16c4cd876efce91d7d4f2.diff

LOG: [clangd] NFC: Fix a typo in Tracer name

Added: 
    

Modified: 
    clang-tools-extra/clangd/refactor/Rename.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/refactor/Rename.cpp b/clang-tools-extra/clangd/refactor/Rename.cpp
index 7ec29d5b086b..36c0c96c6b0a 100644
--- a/clang-tools-extra/clangd/refactor/Rename.cpp
+++ b/clang-tools-extra/clangd/refactor/Rename.cpp
@@ -222,7 +222,7 @@ llvm::Error makeError(ReasonToReject Reason) {
 // Return all rename occurrences in the main file.
 std::vector<SourceLocation> findOccurrencesWithinFile(ParsedAST &AST,
                                                       const NamedDecl &ND) {
-  trace::Span Tracer("FindOccurrenceeWithinFile");
+  trace::Span Tracer("FindOccurrencesWithinFile");
   // If the cursor is at the underlying CXXRecordDecl of the
   // ClassTemplateDecl, ND will be the CXXRecordDecl. In this case, we need to
   // get the primary template manually.


        


More information about the cfe-commits mailing list