[clang] 0bd645d - [libclang] Fix error message capitalization

Ayke van Laethem via cfe-commits cfe-commits at lists.llvm.org
Sun May 29 04:43:33 PDT 2022


Author: Ayke van Laethem
Date: 2022-05-29T13:42:22+02:00
New Revision: 0bd645d3707dce452663d4634495155321a6fd1c

URL: https://github.com/llvm/llvm-project/commit/0bd645d3707dce452663d4634495155321a6fd1c
DIFF: https://github.com/llvm/llvm-project/commit/0bd645d3707dce452663d4634495155321a6fd1c.diff

LOG: [libclang] Fix error message capitalization

This was a review suggestion from MaskRay that I forgot to incorporate
in the patch.

See: https://reviews.llvm.org/D124815

Added: 
    

Modified: 
    clang/tools/libclang/CIndexer.cpp

Removed: 
    


################################################################################
diff  --git a/clang/tools/libclang/CIndexer.cpp b/clang/tools/libclang/CIndexer.cpp
index 41f06a83553a..dab3fc4e201d 100644
--- a/clang/tools/libclang/CIndexer.cpp
+++ b/clang/tools/libclang/CIndexer.cpp
@@ -139,7 +139,7 @@ const std::string &CIndexer::getClangResourcesPath() {
   } else {
     // It's rather unlikely we end up here. But it could happen, so report an
     // error instead of crashing.
-    llvm::report_fatal_error("Could not locate Clang resource path");
+    llvm::report_fatal_error("could not locate Clang resource path");
   }
 
 #endif


        


More information about the cfe-commits mailing list