[all-commits] [llvm/llvm-project] da167a: [Clang][NFC] Some `const` for `IdentifierInfo *`s ...

Hubert Tong via All-commits all-commits at lists.llvm.org
Wed Mar 23 08:09:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da167a53c87f53ce582de6cc122d5e090f341b42
      https://github.com/llvm/llvm-project/commit/da167a53c87f53ce582de6cc122d5e090f341b42
  Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M clang/include/clang/AST/Decl.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/Decl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp

  Log Message:
  -----------
  [Clang][NFC] Some `const` for `IdentifierInfo *`s feeding `DeclarationName`

`DeclarationName` already takes `const IdentifierInfo *`. Propagate the
`const` outward to various APIs.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list