[all-commits] [llvm/llvm-project] 03773c: [APINotes][NFC] Fix typos and header comment error...

Aditya Medhane via All-commits all-commits at lists.llvm.org
Mon Mar 2 12:38:10 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03773c3b06b2a9a023f8bab892f237fb3b980439
      https://github.com/llvm/llvm-project/commit/03773c3b06b2a9a023f8bab892f237fb3b980439
  Author: Aditya Medhane <153186739+flash1729 at users.noreply.github.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M clang/include/clang/APINotes/APINotesReader.h
    M clang/lib/APINotes/APINotesFormat.h
    M clang/lib/APINotes/APINotesYAMLCompiler.cpp
    M clang/lib/Sema/SemaAPINotes.cpp

  Log Message:
  -----------
  [APINotes][NFC] Fix typos and header comment errors (#183811)

## Description

Fix minor typos and incorrect comments in the APINotes subsystem (No
functional code is modified)

## Changes Made

- **`APINotesReader.h`** — Fixed `member buffer` → `memory buffer` in
the `Create()` doc comment (`Create()` takes a `llvm::MemoryBuffer`)
- **`APINotesFormat.h`** — Corrected the file header comment which
incorrectly referred to `APINotesWriter.h` instead of `APINotesFormat.h`
- **`APINotesYAMLCompiler.cpp`** — Fixed `it's` → `its` (possessive, not
a contraction)
- **`SemaAPINotes.cpp`** — Fixed `collection` → `collecting` and added a
missing `to` in `defer to the client to select`

## Motivation

First contribution to LLVM, aimed at getting familiar with the
contributing workflow.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list