This is an archive of the discontinued LLVM Phabricator instance.

[llvm] Fix small typos in Programmer's Manual and Chrono.h.
ClosedPublic

Authored by noajshu on Nov 8 2021, 10:47 PM.

Details

Summary

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

Diff Detail

Event Timeline

noajshu created this revision.Nov 8 2021, 10:47 PM
noajshu edited the summary of this revision. (Show Details)Nov 29 2021, 2:16 PM
noajshu retitled this revision from [llvm] Fix small typo in Programmer's Manual. to [llvm] NFC Fix small typo in Programmer's Manual..Dec 1 2021, 12:35 PM
noajshu retitled this revision from [llvm] NFC Fix small typo in Programmer's Manual. to [llvm] Fix small typo in Programmer's Manual..Dec 12 2021, 3:06 PM
noajshu updated this revision to Diff 394727.Dec 15 2021, 7:36 PM
noajshu retitled this revision from [llvm] Fix small typo in Programmer's Manual. to [llvm] Fix small typos in Programmer's Manual and Chrono.h..
noajshu edited the summary of this revision. (Show Details)
noajshu added a reviewer: phosek.

Also fix some typos in Chrono.h

noajshu published this revision for review.Dec 15 2021, 7:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2021, 7:36 PM
phosek accepted this revision.Dec 15 2021, 11:52 PM

LGTM

This revision is now accepted and ready to land.Dec 15 2021, 11:52 PM
This revision was landed with ongoing or failed builds.Dec 16 2021, 11:21 AM
This revision was automatically updated to reflect the committed changes.