[all-commits] [llvm/llvm-project] c9509b: [llvm] Fix small typos in Programmer's Manual and ...

Noah Shutty via All-commits all-commits at lists.llvm.org
Thu Dec 16 11:21:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9509b03a1a5b589e6ce5f1b4e4724f002cb636e
      https://github.com/llvm/llvm-project/commit/c9509b03a1a5b589e6ce5f1b4e4724f002cb636e
  Author: Noah Shutty <shutty at google.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M llvm/docs/ProgrammersManual.rst
    M llvm/include/llvm/Support/Chrono.h

  Log Message:
  -----------
  [llvm] Fix small typos in Programmer's Manual and Chrono.h.

The Programmer's Manual guidance on the StringRef class (https://llvm.org/docs/ProgrammersManual.html#the-stringref-class) refers to `iterator StringRef::find(StringRef Key)` which does not exist. Based on context this is surely a small typo meant to be `iterator StringMap::find(StringRef Key)`.

This also corrects some small typos in the comments of llvm/include/llvm/Support/Chrono.h

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D113462




More information about the All-commits mailing list