[PATCH] D77532: Fix a typo in clang/lib/Frontend/FrontendAction.cpp

BoYao Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 6 02:08:32 PDT 2020


rZhBoYao updated this revision to Diff 255254.
rZhBoYao added a comment.

revert the change to trailing newlines


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77532/new/

https://reviews.llvm.org/D77532

Files:
  clang/lib/Frontend/FrontendAction.cpp


Index: clang/lib/Frontend/FrontendAction.cpp
===================================================================
--- clang/lib/Frontend/FrontendAction.cpp
+++ clang/lib/Frontend/FrontendAction.cpp
@@ -787,7 +787,7 @@
       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);
     }
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77532.255254.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200406/6ef1c6c4/attachment.bin>


More information about the cfe-commits mailing list