DeclarationName already takes const IdentifierInfo *. Propagate the const outward to various APIs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D122261
[Clang][NFC] Some `const` for `IdentifierInfo *`s feeding `DeclarationName` ClosedPublic Authored by hubert.reinterpretcast on Mar 22 2022, 1:59 PM.
Details Summary DeclarationName already takes const IdentifierInfo *. Propagate the const outward to various APIs.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 23 2022, 7:19 AM Closed by commit rGda167a53c87f: [Clang][NFC] Some `const` for `IdentifierInfo *`s feeding `DeclarationName` (authored by hubert.reinterpretcast). · Explain WhyMar 23 2022, 8:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 417625 clang/include/clang/AST/Decl.h
clang/include/clang/Sema/Sema.h
clang/lib/AST/Decl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
|