[clang] 2aa593b - Fix a typo in an assert message; NFC.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 6 08:51:08 PDT 2020


Author: BoYao Zhang
Date: 2020-04-06T11:50:50-04:00
New Revision: 2aa593be5486a9c5d3092647f2576273f84f3159

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

LOG: Fix a typo in an assert message; NFC.

Added: 
    

Modified: 
    clang/lib/Frontend/FrontendAction.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Frontend/FrontendAction.cpp b/clang/lib/Frontend/FrontendAction.cpp
index 0155238dd0a8..6168057d115d 100644
--- a/clang/lib/Frontend/FrontendAction.cpp
+++ b/clang/lib/Frontend/FrontendAction.cpp
@@ -787,7 +787,7 @@ bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
       auto Kind = CurrentModule->IsSystem ? SrcMgr::C_System : SrcMgr::C_User;
       auto &SourceMgr = CI.getSourceManager();
       auto BufferID = SourceMgr.createFileID(std::move(Buffer), Kind);
-      assert(BufferID.isValid() && "couldn't creaate module buffer ID");
+      assert(BufferID.isValid() && "couldn't create module buffer ID");
       SourceMgr.setMainFileID(BufferID);
     }
   }


        


More information about the cfe-commits mailing list