[clang] 5f57ca2 - fix comment typo to cycle bots

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 11 15:55:48 PDT 2022


Author: Nico Weber
Date: 2022-06-11T18:55:40-04:00
New Revision: 5f57ca208b41ea6f70089ab9c5104b6f8ecc13f4

URL: https://github.com/llvm/llvm-project/commit/5f57ca208b41ea6f70089ab9c5104b6f8ecc13f4
DIFF: https://github.com/llvm/llvm-project/commit/5f57ca208b41ea6f70089ab9c5104b6f8ecc13f4.diff

LOG: fix comment typo to cycle bots

Added: 
    

Modified: 
    clang/lib/Lex/HeaderSearch.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Lex/HeaderSearch.cpp b/clang/lib/Lex/HeaderSearch.cpp
index 5fd853541b6a2..0b9727cc7cd30 100644
--- a/clang/lib/Lex/HeaderSearch.cpp
+++ b/clang/lib/Lex/HeaderSearch.cpp
@@ -1973,7 +1973,7 @@ std::string HeaderSearch::suggestPathToFileForDiagnostics(
   }
 
   // Try resolving resulting filename via reverse search in header maps,
-  // key from header name is user prefered name for the include file.
+  // key from header name is user preferred name for the include file.
   StringRef Filename = File.drop_front(BestPrefixLength);
   for (const DirectoryLookup &DL : search_dir_range()) {
     if (!DL.isHeaderMap())


        


More information about the cfe-commits mailing list